[C++-sig] Re: wrapping boost::optional

Mike Rovner mike at nospam.com
Wed Jul 28 20:19:13 CEST 2004


David Abrahams wrote:
> "Neal D. Becker" <ndbecker2 at verizon.net> writes:

> template<typename T>
> inline object get (boost::optional<T>& o) {
>   return o ? object() : object(o.get());

return o ? object(o.get()) : object();      // !?

Mike






More information about the Cplusplus-sig mailing list