C++ Logo

sg16

Advanced search

Re: [SG16-Unicode] Namespaces

From: Lyberta <lyberta_at_[hidden]>
Date: Fri, 12 Apr 2019 10:45:00 +0000
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".


Received on 2019-04-12 12:45:23