Files
boost_bind/include/boost/bind/placeholders.hpp
T

62 lines
1.5 KiB
C++
Raw Normal View History

2002-01-30 11:29:28 +00:00
#ifndef BOOST_BIND_PLACEHOLDERS_HPP_INCLUDED
#define BOOST_BIND_PLACEHOLDERS_HPP_INCLUDED
2003-11-28 15:35:21 +00:00
// MS compatible compilers support #pragma once
2003-06-12 17:09:24 +00:00
#if defined(_MSC_VER) && (_MSC_VER >= 1020)
# pragma once
2002-01-30 11:29:28 +00:00
#endif
//
// bind/placeholders.hpp - _N definitions
//
// Copyright 2002, 2015, 2024 Peter Dimov
2002-01-30 11:29:28 +00:00
//
// Distributed under the Boost Software License, Version 1.0.
// See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt
2002-01-30 11:29:28 +00:00
//
// See http://www.boost.org/libs/bind for documentation.
2002-01-30 11:29:28 +00:00
//
#include <boost/bind/arg.hpp>
#include <boost/config.hpp>
2002-01-30 11:29:28 +00:00
namespace boost
2002-01-30 11:29:28 +00:00
{
2002-01-31 12:34:58 +00:00
namespace placeholders
{
#if !defined(BOOST_NO_CXX17_INLINE_VARIABLES)
BOOST_INLINE_CONSTEXPR boost::arg<1> _1;
BOOST_INLINE_CONSTEXPR boost::arg<2> _2;
BOOST_INLINE_CONSTEXPR boost::arg<3> _3;
BOOST_INLINE_CONSTEXPR boost::arg<4> _4;
BOOST_INLINE_CONSTEXPR boost::arg<5> _5;
BOOST_INLINE_CONSTEXPR boost::arg<6> _6;
BOOST_INLINE_CONSTEXPR boost::arg<7> _7;
BOOST_INLINE_CONSTEXPR boost::arg<8> _8;
BOOST_INLINE_CONSTEXPR boost::arg<9> _9;
#else
BOOST_STATIC_CONSTEXPR boost::arg<1> _1;
BOOST_STATIC_CONSTEXPR boost::arg<2> _2;
BOOST_STATIC_CONSTEXPR boost::arg<3> _3;
BOOST_STATIC_CONSTEXPR boost::arg<4> _4;
BOOST_STATIC_CONSTEXPR boost::arg<5> _5;
BOOST_STATIC_CONSTEXPR boost::arg<6> _6;
BOOST_STATIC_CONSTEXPR boost::arg<7> _7;
BOOST_STATIC_CONSTEXPR boost::arg<8> _8;
BOOST_STATIC_CONSTEXPR boost::arg<9> _9;
#endif
} // namespace placeholders
} // namespace boost
2002-01-30 11:29:28 +00:00
#endif // #ifndef BOOST_BIND_PLACEHOLDERS_HPP_INCLUDED