Sha256: 686586c5a596d4819c71fc970dfd4400f21cc55909743ca1e0f58d43fc87869b

Contents?: true

Size: 793 Bytes

Versions: 53

Compression:

Stored size: 793 Bytes

Contents

#ifndef BOOST_CORE_IS_SAME_HPP_INCLUDED
#define BOOST_CORE_IS_SAME_HPP_INCLUDED

// MS compatible compilers support #pragma once

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

// is_same<T1,T2>::value is true when T1 == T2
//
// Copyright 2014 Peter Dimov
//
// 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

#include <boost/config.hpp>

namespace boost
{

namespace core
{

template< class T1, class T2 > struct is_same
{
    BOOST_STATIC_CONSTANT( bool, value = false );
};

template< class T > struct is_same< T, T >
{
    BOOST_STATIC_CONSTANT( bool, value = true );
};

} // namespace core

} // namespace boost

#endif // #ifndef BOOST_CORE_IS_SAME_HPP_INCLUDED

Version data entries

53 entries across 53 versions & 3 rubygems

Version Path
passenger-6.0.19 src/cxx_supportlib/vendor-modified/boost/core/is_same.hpp
passenger-6.0.18 src/cxx_supportlib/vendor-modified/boost/core/is_same.hpp
passenger-6.0.17 src/cxx_supportlib/vendor-modified/boost/core/is_same.hpp
passenger-6.0.16 src/cxx_supportlib/vendor-modified/boost/core/is_same.hpp
passenger-6.0.15 src/cxx_supportlib/vendor-modified/boost/core/is_same.hpp
passenger-6.0.14 src/cxx_supportlib/vendor-modified/boost/core/is_same.hpp
passenger-6.0.13 src/cxx_supportlib/vendor-modified/boost/core/is_same.hpp
passenger-6.0.12 src/cxx_supportlib/vendor-modified/boost/core/is_same.hpp
passenger-6.0.11 src/cxx_supportlib/vendor-modified/boost/core/is_same.hpp
passenger-6.0.10 src/cxx_supportlib/vendor-modified/boost/core/is_same.hpp
passenger-6.0.9 src/cxx_supportlib/vendor-modified/boost/core/is_same.hpp
passenger-6.0.8 src/cxx_supportlib/vendor-modified/boost/core/is_same.hpp
passenger-6.0.7 src/cxx_supportlib/vendor-modified/boost/core/is_same.hpp
passenger-6.0.6 src/cxx_supportlib/vendor-modified/boost/core/is_same.hpp
passenger-6.0.5 src/cxx_supportlib/vendor-modified/boost/core/is_same.hpp
passenger-6.0.4 src/cxx_supportlib/vendor-modified/boost/core/is_same.hpp
passenger-6.0.3 src/cxx_supportlib/vendor-modified/boost/core/is_same.hpp
passenger-6.0.2 src/cxx_supportlib/vendor-modified/boost/core/is_same.hpp
passenger-6.0.1 src/cxx_supportlib/vendor-modified/boost/core/is_same.hpp
passenger-6.0.0 src/cxx_supportlib/vendor-modified/boost/core/is_same.hpp