forked from boostorg/optional
Added has_value()
This commit is contained in:
1 parent
33c7a6aa2b
commit
5182f7f30f
49 files changed
+119
-59
No files matched your search
@@ -159,6 +159,7 @@ public:
|
||||
void reset() BOOST_NOEXCEPT { ptr_ = 0; }
|
||||
|
||||
bool is_initialized() const BOOST_NOEXCEPT { return ptr_ != 0; }
|
||||
bool has_value() const BOOST_NOEXCEPT { return ptr_ != 0; }
|
||||
|
||||
#ifndef BOOST_OPTIONAL_DETAIL_NO_RVALUE_REFERENCES
|
||||
|
||||
|
||||
Reference in new issue
Block a user