|
Boost : |
From: Douglas Gregor (gregod_at_[hidden])
Date: 2002-03-24 09:47:36
On Sunday 24 March 2002 07:15 am, you wrote:
> Wow!, I'm very impressed, or at least I think I am - the interface for
> message formatting is a little "difficult" on first reading, but then maybe
> it has to be - if only string literals could be used as template parameters
> then it could probably be simplified I guess. Then again on a second pass
> though maybe it doesn't look so bad...
String literals as nontype template parameters would help greatly. Along with
variable-length template parameters, it'd be almost readable, e.g.,
error<"Cannot convert object of type '%t' to type '%t'", type1, type2>
Doug
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk