Boost logo

Boost :

From: Jeremy Maitin-Shepard (jbms_at_[hidden])
Date: 2007-06-19 19:01:36

Mathias Gaunard <mathias.gaunard_at_[hidden]> writes:


> 90% of the time, the string that specifies the format in (s)printf is a
> literal.
> We could probably exploit that fact to have that parsing done at
> compile-time. The syntax would need to be a little different though.
> Could be like xpressive static regexes maybe.

The issue is that in addition to not supporting internationalization as
well, this compile-time approach is likely to increase generated code
size and greatly slow down compile time.

Jeremy Maitin-Shepard

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