Sha256: df390118990e98eaca6af48ef42d380966acd96a0a756daf788ee6b202af4855

Contents?: true

Size: 1.04 KB

Versions: 6

Compression:

Stored size: 1.04 KB

Contents

//
// detail/functional.hpp
// ~~~~~~~~~~~~~~~~~~~~~
//
// Copyright (c) 2003-2022 Christopher M. Kohlhoff (chris at kohlhoff dot com)
//
// 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)
//

#ifndef ASIO_DETAIL_FUNCTIONAL_HPP
#define ASIO_DETAIL_FUNCTIONAL_HPP

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

#include "asio/detail/config.hpp"

#include <functional>

#if !defined(ASIO_HAS_STD_FUNCTION)
# include <boost/function.hpp>
#endif // !defined(ASIO_HAS_STD_FUNCTION)

namespace asio {
namespace detail {

#if defined(ASIO_HAS_STD_FUNCTION)
using std::function;
#else // defined(ASIO_HAS_STD_FUNCTION)
using boost::function;
#endif // defined(ASIO_HAS_STD_FUNCTION)

} // namespace detail

#if defined(ASIO_HAS_STD_REFERENCE_WRAPPER)
using std::ref;
using std::reference_wrapper;
#endif // defined(ASIO_HAS_STD_REFERENCE_WRAPPER)

} // namespace asio

#endif // ASIO_DETAIL_FUNCTIONAL_HPP

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
couchbase-3.4.5 ext/couchbase/third_party/asio/asio/include/asio/detail/functional.hpp
couchbase-3.4.4 ext/couchbase/third_party/asio/asio/include/asio/detail/functional.hpp
couchbase-3.4.3 ext/couchbase/third_party/asio/asio/include/asio/detail/functional.hpp
couchbase-3.4.2 ext/couchbase/third_party/asio/asio/include/asio/detail/functional.hpp
couchbase-3.4.1 ext/couchbase/third_party/asio/asio/include/asio/detail/functional.hpp
couchbase-3.4.0 ext/couchbase/third_party/asio/asio/include/asio/detail/functional.hpp