| 1048 | |
| 1049 | #if (!defined BOOST_NO_CXX11_REF_QUALIFIERS) && (!defined BOOST_OPTIONAL_DETAIL_NO_RVALUE_REFERENCES) |
| 1050 | reference_const_type value() const& |
| 1051 | { |
| 1052 | if (this->is_initialized()) |
| 1053 | return this->get() ; |
| 1054 | else |
| 1055 | throw_exception(bad_optional_access()); |
| 1056 | } |
| 1057 | |
| 1058 | reference_type value() & |
| 1059 | { |
nothing calls this directly
no test coverage detected