Sha256: 43d60c8758ad5e738d8ef430d0a19170db248291d7f0ef3ab47f1bdb4934db5d

Contents?: true

Size: 1.22 KB

Versions: 12

Compression:

Stored size: 1.22 KB

Contents

/////////////////////////////////////////////////////////////////////////////
//
// (C) Copyright Ion Gaztanaga  2014-2014
//
// 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)
//
// See http://www.boost.org/libs/intrusive for documentation.
//
/////////////////////////////////////////////////////////////////////////////

#ifndef BOOST_INTRUSIVE_DETAIL_TO_RAW_POINTER_HPP
#define BOOST_INTRUSIVE_DETAIL_TO_RAW_POINTER_HPP

#ifndef BOOST_CONFIG_HPP
#  include <boost/config.hpp>
#endif

#if defined(BOOST_HAS_PRAGMA_ONCE)
#  pragma once
#endif

#include <boost/intrusive/detail/config_begin.hpp>
#include <boost/intrusive/detail/pointer_element.hpp>

namespace boost {
namespace intrusive {
namespace detail {

template <class T>
inline T* to_raw_pointer(T* p)
{  return p; }

template <class Pointer>
inline typename boost::intrusive::pointer_element<Pointer>::type*
to_raw_pointer(const Pointer &p)
{  return boost::intrusive::detail::to_raw_pointer(p.operator->());  }

} //namespace detail
} //namespace intrusive
} //namespace boost

#include <boost/intrusive/detail/config_end.hpp>

#endif //BOOST_INTRUSIVE_DETAIL_UTILITIES_HPP

Version data entries

12 entries across 12 versions & 2 rubygems

Version Path
passenger-5.1.4 src/cxx_supportlib/vendor-modified/boost/intrusive/detail/to_raw_pointer.hpp
passenger-5.1.3 src/cxx_supportlib/vendor-modified/boost/intrusive/detail/to_raw_pointer.hpp
passenger-5.1.2 src/cxx_supportlib/vendor-modified/boost/intrusive/detail/to_raw_pointer.hpp
passenger-5.1.1 src/cxx_supportlib/vendor-modified/boost/intrusive/detail/to_raw_pointer.hpp
passenger-5.1.0 src/cxx_supportlib/vendor-modified/boost/intrusive/detail/to_raw_pointer.hpp
passenger-5.0.30 src/cxx_supportlib/vendor-modified/boost/intrusive/detail/to_raw_pointer.hpp
passenger-5.0.29 src/cxx_supportlib/vendor-modified/boost/intrusive/detail/to_raw_pointer.hpp
ish_lib_manager-0.0.1 test/dummy/vendor/bundle/ruby/2.3.0/gems/passenger-5.0.28/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/to_raw_pointer.hpp
passenger-5.0.28 src/cxx_supportlib/vendor-modified/boost/intrusive/detail/to_raw_pointer.hpp
passenger-5.0.27 src/cxx_supportlib/vendor-modified/boost/intrusive/detail/to_raw_pointer.hpp
passenger-5.0.26 src/cxx_supportlib/vendor-modified/boost/intrusive/detail/to_raw_pointer.hpp
passenger-5.0.25 src/cxx_supportlib/vendor-modified/boost/intrusive/detail/to_raw_pointer.hpp