|
From: James T. <ja...@fl...> - 2023-09-06 09:09:43
|
> On 5 Sep 2023, at 22:26, TheFGFSEagle <the...@gm...> wrote: > > > I've never used std::optional, maybe that would be a good occasion? > Definitely: > > std::optional<std::string> myopt; Yes except we have to use simgear::optional which is a stand-in because we have a least one supported platform where std::optional doesn’t work. https://sourceforge.net/p/flightgear/simgear/ci/next/tree/simgear/misc/simgear_optional.hxx Kind regards, James |