Sha256: ebe630ff4bf27abfca973cb867c4685f34f9a3f0963214b4a1ad3e2d8a9d79e7

Contents?: true

Size: 646 Bytes

Versions: 10

Compression:

Stored size: 646 Bytes

Contents

#ifndef BOOST_SYSTEM_DETAIL_APPEND_INT_HPP_INCLUDED
#define BOOST_SYSTEM_DETAIL_APPEND_INT_HPP_INCLUDED

// Copyright 2021 Peter Dimov
// Distributed under the Boost Software License, Version 1.0.
// https://www.boost.org/LICENSE_1_0.txt)

#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;
}

} // namespace detail
} // namespace system
} // namespace boost

#endif // #ifndef BOOST_SYSTEM_DETAIL_APPEND_INT_HPP_INCLUDED

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
passenger-6.0.26 src/cxx_supportlib/vendor-modified/boost/system/detail/append_int.hpp
passenger-6.0.25 src/cxx_supportlib/vendor-modified/boost/system/detail/append_int.hpp
passenger-6.0.24 src/cxx_supportlib/vendor-modified/boost/system/detail/append_int.hpp
passenger-6.0.23 src/cxx_supportlib/vendor-modified/boost/system/detail/append_int.hpp
passenger-6.0.20 src/cxx_supportlib/vendor-modified/boost/system/detail/append_int.hpp
passenger-6.0.19 src/cxx_supportlib/vendor-modified/boost/system/detail/append_int.hpp
passenger-6.0.18 src/cxx_supportlib/vendor-modified/boost/system/detail/append_int.hpp
passenger-6.0.17 src/cxx_supportlib/vendor-modified/boost/system/detail/append_int.hpp
passenger-6.0.16 src/cxx_supportlib/vendor-modified/boost/system/detail/append_int.hpp
passenger-6.0.15 src/cxx_supportlib/vendor-modified/boost/system/detail/append_int.hpp