C++ Logo

std-discussion

Advanced search

Re: lexer: why does digraph are still not deprecated?

From: Thiago Macieira <thiago_at_[hidden]>
Date: Fri, 15 Jan 2021 11:39:12 -0800
On Friday, 15 January 2021 11:35:04 PST corentin.musard--- via Std-Discussion
wrote:
> digraph: https://timsong-cpp.github.io/cppwp/lex#digraph
> There were useful long time ago, but with the use of utf8 everywhere why not
> deprecate or even remove them?

Because not all source files are UTF-8 encoded. It's not required.

In fact, IBM fought to keep trigraphs.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel DPG Cloud Engineering

Received on 2021-01-15 13:39:16