|
Boost : |
Subject: Re: [boost] [lexical_cast] A suggestion
From: Vladimir Batov (batov_at_[hidden])
Date: 2009-02-05 07:52:11
> ... But that inliner still doesn't get around the problem of types that
> aren't default constructible.
IMHO the default-constractibility requirement is unfortunate and in my
particular case is not achievable. Understandably a library can only create
an object it knows nothing about by imposing certain conditions (like
demanding a certain constructor). Therefore, I'd consider any attempt to
avoid that "delicate" situation to be a good design philosophy as it extends
the applicability scope.
Best,
V.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk