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

--- Comment #5 from Daniel Krügler <daniel.kruegler at googlemail dot com> 
2011-08-30 09:52:19 UTC ---
I just notice that the current exclusion of reinterpret_cast in constant
expressions would make it impossible to define addressof as a constexpr
function. C++11 currently invalidates the special portable language rule of
reinterpret_cast, addressof is based on, see also the recent example given in
bug 49171, comment 2.

Reply via email to