Sha256: 49832de04cce39d7875e6060a2a741ebd63bb800a8b9bfe33dfc1e8abe7f9af2

Contents?: true

Size: 1.77 KB

Versions: 11

Compression:

Stored size: 1.77 KB

Contents

#ifndef BOOST_BIND_STD_PLACEHOLDERS_HPP_INCLUDED
#define BOOST_BIND_STD_PLACEHOLDERS_HPP_INCLUDED

// MS compatible compilers support #pragma once

#if defined(_MSC_VER) && (_MSC_VER >= 1020)
# pragma once
#endif

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

#include <boost/is_placeholder.hpp>
#include <boost/config.hpp>

#if !defined(BOOST_NO_CXX11_HDR_FUNCTIONAL) && !defined(BOOST_NO_CXX11_DECLTYPE) && !defined(BOOST_NO_CXX11_HDR_TYPE_TRAITS)

#include <functional>
#include <type_traits>

namespace boost
{

template<> struct is_placeholder< typename std::decay<decltype(std::placeholders::_1)>::type > { enum _vt { value = 1 }; };
template<> struct is_placeholder< typename std::decay<decltype(std::placeholders::_2)>::type > { enum _vt { value = 2 }; };
template<> struct is_placeholder< typename std::decay<decltype(std::placeholders::_3)>::type > { enum _vt { value = 3 }; };
template<> struct is_placeholder< typename std::decay<decltype(std::placeholders::_4)>::type > { enum _vt { value = 4 }; };
template<> struct is_placeholder< typename std::decay<decltype(std::placeholders::_5)>::type > { enum _vt { value = 5 }; };
template<> struct is_placeholder< typename std::decay<decltype(std::placeholders::_6)>::type > { enum _vt { value = 6 }; };
template<> struct is_placeholder< typename std::decay<decltype(std::placeholders::_7)>::type > { enum _vt { value = 7 }; };
template<> struct is_placeholder< typename std::decay<decltype(std::placeholders::_8)>::type > { enum _vt { value = 8 }; };
template<> struct is_placeholder< typename std::decay<decltype(std::placeholders::_9)>::type > { enum _vt { value = 9 }; };

} // namespace boost

#endif

#endif // #ifndef BOOST_BIND_STD_PLACEHOLDERS_HPP_INCLUDED

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
passenger-6.0.19 src/cxx_supportlib/vendor-modified/boost/bind/std_placeholders.hpp
passenger-6.0.18 src/cxx_supportlib/vendor-modified/boost/bind/std_placeholders.hpp
passenger-6.0.17 src/cxx_supportlib/vendor-modified/boost/bind/std_placeholders.hpp
passenger-6.0.16 src/cxx_supportlib/vendor-modified/boost/bind/std_placeholders.hpp
passenger-6.0.15 src/cxx_supportlib/vendor-modified/boost/bind/std_placeholders.hpp
passenger-6.0.14 src/cxx_supportlib/vendor-modified/boost/bind/std_placeholders.hpp
passenger-6.0.13 src/cxx_supportlib/vendor-modified/boost/bind/std_placeholders.hpp
passenger-6.0.12 src/cxx_supportlib/vendor-modified/boost/bind/std_placeholders.hpp
passenger-6.0.11 src/cxx_supportlib/vendor-modified/boost/bind/std_placeholders.hpp
passenger-6.0.10 src/cxx_supportlib/vendor-modified/boost/bind/std_placeholders.hpp
passenger-6.0.9 src/cxx_supportlib/vendor-modified/boost/bind/std_placeholders.hpp