This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [patch] Implement std::experimental::source_location (sort of)
- From: Martin Sebor <msebor at gmail dot com>
- To: Jonathan Wakely <jwakely at redhat dot com>, libstdc++ at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org
- Cc: larsbj at gulik dot net
- Date: Fri, 13 Nov 2015 08:21:54 -0700
- Subject: Re: [patch] Implement std::experimental::source_location (sort of)
- Authentication-results: sourceware.org; auth=none
- References: <20151113125649 dot GO2937 at redhat dot com>
On 11/13/2015 05:56 AM, Jonathan Wakely wrote:
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?
Lars (CC'd) mentioned he was interested in implementing the front
end support (http://gcc.gnu.org/PR66561).
Martin