Skip to content
Snippets Groups Projects

Change behavior of non-param options

Closed 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

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading