File indexing completed on 2025-01-18 09:52:35
0001 #ifndef BOOST_SYSTEM_DETAIL_APPEND_INT_HPP_INCLUDED
0002 #define BOOST_SYSTEM_DETAIL_APPEND_INT_HPP_INCLUDED
0003
0004
0005
0006
0007
0008 #include <boost/system/detail/snprintf.hpp>
0009 #include <string>
0010
0011
0012
0013 namespace boost
0014 {
0015 namespace system
0016 {
0017 namespace detail
0018 {
0019
0020 inline void append_int( std::string& s, int v )
0021 {
0022 char buffer[ 32 ];
0023 detail::snprintf( buffer, sizeof( buffer ), ":%d", v );
0024
0025 s += buffer;
0026 }
0027
0028 }
0029 }
0030 }
0031
0032 #endif