This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/49171] [C++0x][constexpr] Constant expressions support reinterpret_cast
- From: "paolo.carlini at oracle dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 03 Oct 2012 14:27:50 +0000
- Subject: [Bug c++/49171] [C++0x][constexpr] Constant expressions support reinterpret_cast
- Auto-submitted: auto-generated
- References: <bug-49171-4@http.gcc.gnu.org/bugzilla/>
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.