Skip to content

Add some debug mode for detecting misusages at runtime #134

@akrzemi1

Description

@akrzemi1

Provide some debug mode, like when some custom macro like BOOST_OUTCOME_DEBUG_MODE is defined, where result and outcome at the cost of run-time size or efficiency track whether the failure status (has_value()) has been checked before the object is destroyed of unsafely accessed (with assume_value()).

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions