Boost logo

Boost Users :

Subject: Re: [Boost-users] Usage of Boost.Optional
From: TONGARI (tongari95_at_[hidden])
Date: 2010-10-25 07:06:46


Hi!
2010/10/25, John Dlugosz <JDlugosz_at_[hidden]>:
> Am I missing something, or is the class missing something?

just write:

d = in_place(blahblah...);

instead. And note that "reset" method is deprecated.
See http://www.boost.org/doc/libs/1_44_0/libs/optional/doc/html/boost_optional/synopsis.html
for the class interface.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net