Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2019-11-28 16:52:20


> I would "precondition" `op+=( char const (&)[ M ] )` (and op=) by failing
> at compile time when M > N, because the size is known, but in
> fixed_string's case, the size isn't known.

No I wouldn't. :-) The size isn't known in this case either. It's better to
diagnose_if the whole thing.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk