This is a patch for fixing 11747, allowing reinterpret_cast to "cast" where the source and destination types are the same as per [expr.reinterpret.cast]p2. The fix itself is fairly simple -- the code was already there, it just needed to be moved up slightly since the previous check was for source and dest being pointers.
~Aaron
reinterpret_cast.patch
Description: Binary data
_______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
