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]

[patch] Implement std::experimental::source_location (sort of)


This is a non-conforming implementation of
https://rawgit.com/cplusplus/fundamentals-ts/v2/fundamentals-ts.html#reflection.src_loc

It doesn't provide any column numbers, and fails to meet the
requirement that using current() in a NSDMI will refer to the location
of the constructor ... but maybe it's good enough until we get the
necessary front-end support. It is experimental, after all.

Thoughts?


Attachment: source_location
Description: Text document


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