This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/49171] [C++0x][constexpr] Constant expressions support reinterpret_cast


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49171

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |paolo.carlini at oracle dot
                   |                            |com

--- Comment #3 from Paolo Carlini <paolo.carlini at oracle dot com> 2012-10-03 14:27:50 UTC ---
Daniel, what's the status of this issue? Is there some consensus that GCC is
actually Ok, we don't really want to reject reinterpret_casts?

Because I would find very useful a constexpr std::addressof. For the time being
we could certainly have it constexpr anyway and change the implementation
details when/if the C++ front-end starts rejecting reintepret_casts, but I
would rather not.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]