CppCMS
booster/smart_ptr/sp_typeinfo.h
00001 #ifndef BOOSTER_DETAIL_SP_TYPEINFO_HPP_INCLUDED
00002 #define BOOSTER_DETAIL_SP_TYPEINFO_HPP_INCLUDED
00003 
00004 //  detail/sp_typeinfo.hpp
00005 //
00006 //  Copyright 2007 Peter Dimov
00007 //
00008 // Distributed under the Boost Software License, Version 1.0.
00009 // See accompanying file LICENSE_1_0.txt or copy at
00010 // http://www.boost.org/LICENSE_1_0.txt)
00011 
00012 #include <booster/config.h>
00013 
00014 
00015 #include <typeinfo>
00016 
00017 namespace booster
00018 {
00019 
00020 namespace detail
00021 {
00022 
00023 typedef std::type_info sp_typeinfo;
00024 
00025 } // namespace detail
00026 
00027 } // namespace boost
00028 
00029 #define BOOSTER_SP_TYPEID(T) typeid(T)
00030 
00031 
00032 #endif  // #ifndef BOOST_DETAIL_SP_TYPEINFO_HPP_INCLUDED