Skip to content

Change behavior of non-param options

Martin Wölzer requested to merge master-next-martin into master

With these commits, non-param options are modified slightly:

  • type of basic_option_t::_value changed from std::optional to T.
  • operator bool() now returns _value != default_value instead of has_value().
Edited by Martin Wölzer

Merge request reports