
12 Dec
2013
12 Dec
'13
2:11 p.m.
2013/12/12 Krzysztof Czainski <1czajnik@gmail.com> <...>
* `try_lexical_cast` must be added or not? And if yes, what signature is preffered:
bool try_lexical_cast
(Out&, const In&) bool try_lexical_cast (const In&, Out&) boost::optional<Out> try_lexical_cast (const In&) How about: boost::optional<Out> lexical_cast
(const In&, std::nothrow_t)
This will break one of the use cases. For example there'll be an ambiguity
beacause of function overloads.:
std::transform(
values.begin(), values.end(),
ret.begin(),
&boost::lexical_cast