diff --git a/include/boost/process/v2/environment.hpp b/include/boost/process/v2/environment.hpp index 0d97092d1..d75e8134d 100644 --- a/include/boost/process/v2/environment.hpp +++ b/include/boost/process/v2/environment.hpp @@ -1253,19 +1253,17 @@ namespace std { template<> -class tuple_size : integral_constant {}; +struct tuple_size : integral_constant {}; template<> -class tuple_element<0u, BOOST_PROCESS_V2_NAMESPACE::environment::key_value_pair> +struct tuple_element<0u, BOOST_PROCESS_V2_NAMESPACE::environment::key_value_pair> { - public: using type = BOOST_PROCESS_V2_NAMESPACE::environment::key_view; }; template<> -class tuple_element<1u, BOOST_PROCESS_V2_NAMESPACE::environment::key_value_pair> +struct tuple_element<1u, BOOST_PROCESS_V2_NAMESPACE::environment::key_value_pair> { - public: using type = BOOST_PROCESS_V2_NAMESPACE::environment::value_view; }; @@ -1277,19 +1275,17 @@ inline auto get(const BOOST_PROCESS_V2_NAMESPACE::environment::key_value_pair & } template<> -class tuple_size : integral_constant {}; +struct tuple_size : integral_constant {}; template<> -class tuple_element<0u, BOOST_PROCESS_V2_NAMESPACE::environment::key_value_pair_view> +struct tuple_element<0u, BOOST_PROCESS_V2_NAMESPACE::environment::key_value_pair_view> { - public: using type = BOOST_PROCESS_V2_NAMESPACE::environment::key_view; }; template<> -class tuple_element<1u, BOOST_PROCESS_V2_NAMESPACE::environment::key_value_pair_view> +struct tuple_element<1u, BOOST_PROCESS_V2_NAMESPACE::environment::key_value_pair_view> { - public: using type = BOOST_PROCESS_V2_NAMESPACE::environment::value_view; };