KGRKJGETMRETU895U-589TY5MIGM5JGB5SDFESFREWTGR54TY
Server : Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 DAV/2 PHP/5.2.17
System : Linux localhost 2.6.18-419.el5 #1 SMP Fri Feb 24 22:47:42 UTC 2017 x86_64
User : nobody ( 99)
PHP Version : 5.2.17
Disable Function : NONE
Directory :  /usr/include/boost/graph/detail/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //usr/include/boost/graph/detail/is_same.hpp
//=======================================================================
// Copyright 1997, 1998, 1999, 2000 University of Notre Dame.
// Authors: Andrew Lumsdaine, Lie-Quan Lee, Jeremy G. Siek
//
// 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 BOOST_GRAPH_DETAIL_IS_SAME_HPP
#define BOOST_GRAPH_DETAIL_IS_SAME_HPP

#include <boost/pending/ct_if.hpp>

namespace boost {
  struct false_tag;
  struct true_tag;

  namespace graph_detail {
    
#if !defined BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
    template <class U, class V>
    struct is_same {
      typedef boost::false_tag is_same_tag; 
    };
    template <class U>
    struct is_same<U, U> {
      typedef boost::true_tag is_same_tag;
    };
#else
    template <class U, class V>
    struct is_same {
      enum { Unum = U::num, Vnum = V::num };
      typedef typename boost::ct_if< (Unum == Vnum),
               boost::true_tag, boost::false_tag>::type is_same_tag;
    };
#endif
  } // namespace graph_detail
} // namespace boost

#endif

Anon7 - 2021