This is the mail archive of the gcc-patches@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]

Re: [C++ PATCH] Implement LWG2296 helper intrinsic


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


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