Boost Users :
Subject: Re: [Boost-users] [Optional] Lazy initialized optional
From: Gavin Lambert (boost_at_[hidden])
Date: 2018-11-14 22:27:06
On 14/11/2018 23:03, Martijn Otto wrote:
> If you do it in a separate class instead, you can clear the callback
> after invoking it. Then checking whether a callback exists will tell
> you whether the object was initialized.
Unless the callback itself can produce an optional value.
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