C++ Logo

STD-DISCUSSION

Advanced search

Subject: Re: Problem of the type requirement of the regex library
From: Thiago Macieira (thiago_at_[hidden])
Date: 2019-12-29 18:12:54


On Saturday, 28 December 2019 07:26:00 -03 Lyberta via Std-Discussion wrote:
> Which means that current design of regex from C++11 (and text processing
> in general) is broken and requires the new design and deprecation of old
> one.

And at that point, don't bother with any encoding except the three main UTF
ones. Just provide the tools to convert to and from one of those and arbitrary
encodings.

Aside from the locale encoding and possibly the terminal one (where
different), all other encodings are runtime-enumerable only, so there can be
no static typing for them.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel System Software Products

STD-DISCUSSION list run by std-discussion-owner@lists.isocpp.org

Older Archives on Google Groups