C++ Logo


Advanced search

Subject: Re: [SG16-Unicode] Namespaces
From: Lyberta (lyberta_at_[hidden])
Date: 2019-04-12 05:45:00

Tom Honermann:
> What is the motivation for having a namespace specific to text at all? 
> Ranges needed a separate namespace in order to provide constrained
> interfaces that were, in most but not all cases, functionally equivalent
> to the non-constrained interfaces.  New declarations were needed in
> order to avoid breaking backward compatibility.  I don't see a similar
> motivation for text as the existing text related names 1) aren't great
> names, and 2) are for interfaces that we explicitly don't want to
> replicate.  I think new interfaces deserve new names.  I think it is 
> also informative that none of the names proposed below recycle existing
> names in 'std'.
> Tom.
I guess at least teachability and clean structure. The guidance would
be: "stuff in std is old and unusable for text, stuff in std::text is
new and usable".

SG16 list run by sg16-owner@lists.isocpp.org