diff --git a/include/boost/system/result.hpp b/include/boost/system/result.hpp index 833254c..db09455 100644 --- a/include/boost/system/result.hpp +++ b/include/boost/system/result.hpp @@ -450,6 +450,13 @@ public: } }; +#if defined(BOOST_NO_CXX17_INLINE_VARIABLES) + +template constexpr in_place_value_t result::in_place_value; +template constexpr in_place_error_t result::in_place_error; + +#endif + template std::basic_ostream& operator<<( std::basic_ostream& os, result const & r ) { if( r.has_value() )