On Wed, Jan 25, 2012 at 3:41 PM, Eli Friedman <[email protected]> wrote: > + // C++ 5.2.10p2 has a note that mentions that, subject to all other > + // restrictions, a cast to the same type is allowed so long as it does > not > + // cast away constness. In C++98 The intent is not entirely clear here, > + // since all other paragraphs explicitly forbid casts to the same type. > + // In C++11 clarifies this case. > > It looks like this comment somehow got messed up in editing. > > Otherwise, looks good.
Sorry about the delayed response; I missed this one hitting my inbox. I've attached a patch that fixes the comment up. Good catch! ~Aaron
reinterpret_cast.patch
Description: Binary data
_______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
