File indexing completed on 2025-01-18 09:51:08
0001 #ifndef BOOST_QVM_TO_STRING_HPP_INCLUDED
0002 #define BOOST_QVM_TO_STRING_HPP_INCLUDED
0003
0004
0005
0006
0007
0008
0009 #include <string>
0010
0011 #if __cplusplus >= 201103L
0012
0013 namespace boost { namespace qvm {
0014
0015 namespace
0016 qvm_to_string_detail
0017 {
0018 using std::to_string;
0019 }
0020
0021 } }
0022
0023 #else
0024
0025 #include <sstream>
0026
0027 namespace boost { namespace qvm {
0028
0029 namespace
0030 qvm_to_string_detail
0031 {
0032 template <class T>
0033 std::string
0034 to_string( T const & x )
0035 {
0036 std::stringstream s;
0037 s << x;
0038 return s.str();
0039 }
0040 }
0041
0042 } }
0043
0044 #endif
0045
0046 #endif