File indexing completed on 2025-01-18 09:38:49
0001
0002
0003
0004
0005
0006
0007
0008 #ifndef BOOST_IOSTREAMS_DETAIL_VALUE_TYPE_HPP_INCLUDED
0009 #define BOOST_IOSTREAMS_DETAIL_VALUE_TYPE_HPP_INCLUDED
0010
0011 #if defined(_MSC_VER)
0012 # pragma once
0013 #endif
0014
0015 #include <boost/iostreams/traits.hpp>
0016 #include <boost/mpl/if.hpp>
0017
0018 namespace boost { namespace iostreams { namespace detail {
0019
0020 template<typename T>
0021 struct param_type {
0022 typedef typename mpl::if_<is_std_io<T>, T&, const T&>::type type;
0023 };
0024
0025 template<typename T>
0026 struct value_type {
0027 typedef typename mpl::if_<is_std_io<T>, T&, T>::type type;
0028 };
0029
0030 } } }
0031
0032 #endif