From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2007-06-18 18:09:51


Ion Gaztañaga wrote:

> -> Hard formatting: printf/scanf are much easier to use and they don't
> need several hundred of function calls to do their job. The operator<<
> overloading is also a problem if each call needs some internal locking.
> A formatting syntax that can minimize the locking needs would be a good
> choice. I would be really happy with a type-safe printf (variadic
> templates to the rescue).

Something that would use meta-programming to optimize the generation of
the formatted string would be way better than printf.