Boost logo

Boost :

Subject: Re: [boost] Variadic append for std::string
From: Damien Buhl (damien.buhl_at_[hidden])
Date: 2017-01-16 15:23:58

On 16/01/2017 09:54, Olaf van der Spek wrote:
> It appears to only do checking at compile-time and then forwards to
> sprintf..
Yes the current implementation, but based on the expression template
resulting from the parsing, one could easily produce at compile-time
efficient code for formatting.

But I wasn't clear enough, I just wanted to tell that with the
underlying library metaparse, one can do the compile-time dispatching.
Naturally I think the compile-time cost would surely be higher than the
cat() solution.

Damien Buhl

Boost list run by bdawes at, gregod at, cpdaniel at, john at