From: David Abrahams (dave_at_[hidden])
Date: 2006-04-11 05:35:09
"Reece Dunn" <msclrhd_at_[hidden]> writes:
> Drawing influence from Python, I suggest that the non-throwing version look like:
> std::pair<T,bool> string_to<T>(x)
> fn( string_to<Object>(object).first );
How does that draw influence from Python?
That interface doesn't allow for types that can't be default
seems more likely.
-- Dave Abrahams Boost Consulting www.boost-consulting.com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk