| 1293 | |
| 1294 | #if (!defined BOOST_NO_CXX11_REF_QUALIFIERS) && (!defined BOOST_OPTIONAL_DETAIL_NO_RVALUE_REFERENCES) |
| 1295 | reference_const_type value() const& |
| 1296 | { |
| 1297 | if (this->is_initialized()) |
| 1298 | return this->get() ; |
| 1299 | else |
| 1300 | throw_exception(bad_optional_access()); |
| 1301 | } |
| 1302 | |
| 1303 | reference_type value() & |
| 1304 | { |
nothing calls this directly
no test coverage detected