RFC: Move Library Fundamentals components to fundamentals_v2
Thomas Rodgers
trodgers@redhat.com
Wed Nov 28 17:00:00 GMT 2018
> My original plan was to never do the move/rename of the inline
> namespace for things
> that existed in LTFTSv1 and were just spec-moved to LFTSv2. I don't
> see why that would be helpful or necessary.
+1
Ville Voutilainen writes:
> On Wed, 28 Nov 2018 at 15:56, Jonathan Wakely <jwakely@redhat.com> wrote:
>>
>> As I've noted in the LFTSv2 status table, we don't implement
>> https://wg21.link/n4521 because our LFTSv1 material is still in
>> namespace fundamentals_v1 not fundamentals_v2.
>>
>> Should we change that?
>>
>> They're inline namespaces, so source code doesn't need to be changed
>> to use the new names, but it does change the mangled names of types
>> like std::experimental::string_view.
>>
>> We could provide a macro that determines which namespace to use, as
>> demonstrated in the attached patch. It would need to change every use
>> of fundamentals_v1 as shown for <experimental/string_view>.
>
> My original plan was to never do the move/rename of the inline
> namespace for things
> that existed in LTFTSv1 and were just spec-moved to LFTSv2. I don't
> see why that would be helpful or necessary.
More information about the Libstdc++
mailing list