Date: Sun, 21 Aug 2022 18:17:54 -0300
On Sunday, 21 August 2022 04:11:27 -03 Zhihao Yuan via Std-Proposals wrote:
> The top of the thread pointed out that a
> function template, given the recent efforts
> of improvements, still does not look like
> normal code. A function that takes type
> parameter declared with a protocol not only
> looks like "normal code," it has to look like
> normal code. It can also support separate
> compilation, in other words, builds like
> normal code.
Please take this one step further. How does that compile to normal code when
the size of the character type isn't known at compile time?
> The top of the thread pointed out that a
> function template, given the recent efforts
> of improvements, still does not look like
> normal code. A function that takes type
> parameter declared with a protocol not only
> looks like "normal code," it has to look like
> normal code. It can also support separate
> compilation, in other words, builds like
> normal code.
Please take this one step further. How does that compile to normal code when
the size of the character type isn't known at compile time?
-- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel DCAI Cloud Engineering
Received on 2022-08-21 21:17:56