On Sun, Jan 01, 2017 at 10:27:24AM -0400, Gerald Pfeifer wrote: > On Fri, 7 Oct 2016, Jakub Jelinek wrote: > > The following patch adds __builtin_addressof with the semantics it has in > > clang, i.e. it is a constexpr & operator alternative that never uses the > > overloaded & operator. > > Nice! > > Are you planning to document this in gcc-7/changes.html ?
We shouldn't document the builtin, but that std::addressof is usable in constexpr contexts. I'll defer documentation thereof to Jon, together with other libstdc++ changes. Jakub