diff --git a/example/from_json.cpp b/example/from_json.cpp index 74d651f..2c425d3 100644 --- a/example/from_json.cpp +++ b/example/from_json.cpp @@ -5,11 +5,14 @@ #include #include #include +#include #include namespace app { +#if BOOST_VERSION < 108100 + template void extract( boost::json::object const & obj, char const * name, T & value ) { value = boost::json::value_to( obj.at( name ) ); @@ -36,6 +39,8 @@ template #include #include +#include #include #include #include @@ -12,6 +13,8 @@ namespace app { +#if BOOST_VERSION < 108100 + template, @@ -29,6 +32,8 @@ template