|
Boost : |
Subject: Re: [boost] [lexical_cast] A suggestion
From: Alexander Nasonov (alnsn_at_[hidden])
Date: 2009-01-13 11:29:17
Neil Groves <neil <at> grovescomputing.com> writes:
> I see that if we need to handle an error condition then the ability to
> return an optional<Target> is a good plan. Perhaps two new overloads would
> be optimal?
This looks interesting but boost::optional<T> is already InputStreamable:
#include <boost/optional/optional_io.hpp>
Alex
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk