|
Boost Users : |
Subject: Re: [Boost-users] [optional]
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2009-05-06 10:27:12
AMDG
Dominique Devienne wrote:
> On Wed, May 6, 2009 at 4:44 AM, Gevorg Voskanyan <v_gevorg_at_[hidden]> wrote:
>
>> boost::none will be helpful as well:
>> f(p1, p2, boost::none, p4);
>>
>
> Beside the headers, Google doesn't yield documentation on boost::none.
>
> Could someone please explain it's intended use? I see none_t is a
> typedef to a member of none_helper, a struct with no members, and none
> is a const none_t, but I'd expect such a pointer to not be convertible
> to anything, so I'm not following on passing boost::none to a
> boost::optional as above, nor can't figure out the use for none. Can
> someone please provide some details / background info on none? Thanks
In Christ,
Steven Watanabe
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