1234567891011121314151617181920212223242526272829303132 |
- #ifndef BOOST_SYSTEM_DETAIL_APPEND_INT_HPP_INCLUDED
- #define BOOST_SYSTEM_DETAIL_APPEND_INT_HPP_INCLUDED
- #include <boost/system/detail/snprintf.hpp>
- #include <string>
- namespace boost
- {
- namespace system
- {
- namespace detail
- {
- inline void append_int( std::string& s, int v )
- {
- char buffer[ 32 ];
- detail::snprintf( buffer, sizeof( buffer ), ":%d", v );
- s += buffer;
- }
- }
- }
- }
- #endif
|