optional-bare
optional-bare copied to clipboard
optional bare - A simple version of a C++17-like optional for default-constructible, copyable types, for C++98 and later in a single-file header-only library
Results
1
optional-bare issues
Sort by
recently updated
recently updated
newest added
https://github.com/martinmoene/optional-bare/blob/0bb1d183bcee1e854c4ea196b533252c51f98b81/include/nonstd/optional.hpp#L179 May be I don't understand something, but how this line is supposed to work if method value() always checks `assert(has_value())`? As i understand it we will always get exception...