Boost logo

Boost :

Subject: Re: [boost] [lexical_cast] A non-throwing lexical cast? [Was: 5 Observations - My experience with the boost libraries]
From: Rene Rivera (grafikrobot_at_[hidden])
Date: 2010-03-25 15:50:08


Tom Brinkman wrote:
> boost::lexical_cast_no_throw()

Or..

template <typename T, typename S>
T lexical_cast(const S & arg, const T & error_default_value);

-- 
-- Grafik - Don't Assume Anything
-- Redshift Software, Inc. - http://redshift-software.com
-- rrivera/acm.org (msn) - grafik/redshift-software.com
-- 102708583/icq - grafikrobot/aim,yahoo,skype,efnet,gmail

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