x
Yes
No
Do you want to visit DriveHQ English website?
首页
产品服务
价格
免费试用
下载客户端
关于我们
云文件服务
|
云备份服务
|
FTP服务
|
企业邮箱服务
|
网站托管
|
客户端软件
云文件服务
云备份服务
FTP服务
企业级邮箱服务
网站托管
客户端软件
cv_traits.hpp - Hosted on DriveHQ Cloud IT Platform
返回上层目录
上传
下载
共享
发布
新建文件夹
新建文件
复制
剪切
删除
粘贴
评论
升级服务
路径: \\game3dprogramming\materials\GameFactory\GameFactoryDemo\references\boost_1_35_0\boost\function_types\detail\cv_traits.hpp
旋转
特效
属性
历史版本
// (C) Copyright Tobias Schwinger // // Use modification and distribution are subject to the boost Software License, // Version 1.0. (See http://www.boost.org/LICENSE_1_0.txt). //------------------------------------------------------------------------------ #ifndef BOOST_FT_DETAIL_CV_TRAITS_HPP_INCLUDED #define BOOST_FT_DETAIL_CV_TRAITS_HPP_INCLUDED #include
#include
#if defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION) \ || BOOST_WORKAROUND(__BORLANDC__, <= 0x582) # include
# include
# include
#endif #include
namespace boost { namespace function_types { namespace detail { #if ! (defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION) \ || BOOST_WORKAROUND(__BORLANDC__, <= 0x582)) template
struct cv_traits { typedef non_cv tag; typedef T type; }; template
struct cv_traits
{ typedef non_cv tag; typedef T type; }; template
struct cv_traits
{ typedef non_cv tag; typedef T type; }; template
struct cv_traits
{ typedef non_cv tag; typedef T type; }; template
struct cv_traits
{ typedef non_cv tag; typedef T type; }; template
struct cv_traits
{ typedef non_cv tag; typedef T type; }; template
struct cv_traits
{ typedef const_non_volatile tag; typedef T type; }; template
struct cv_traits
{ typedef const_non_volatile tag; typedef T type; }; template
struct cv_traits
{ typedef const_non_volatile tag; typedef T type; }; template
struct cv_traits
{ typedef const_non_volatile tag; typedef T type; }; template
struct cv_traits
{ typedef const_non_volatile tag; typedef T type; }; template
struct cv_traits
{ typedef const_non_volatile tag; typedef T type; }; template
struct cv_traits
{ typedef volatile_non_const tag; typedef T type; }; template
struct cv_traits
{ typedef volatile_non_const tag; typedef T type; }; template
struct cv_traits
{ typedef volatile_non_const tag; typedef T type; }; template
struct cv_traits
{ typedef volatile_non_const tag; typedef T type; }; template
struct cv_traits
{ typedef volatile_non_const tag; typedef T type; }; template
struct cv_traits
{ typedef volatile_non_const tag; typedef T type; }; template
struct cv_traits
{ typedef cv_qualified tag; typedef T type; }; template
struct cv_traits
{ typedef cv_qualified tag; typedef T type; }; template
struct cv_traits
{ typedef cv_qualified tag; typedef T type; }; template
struct cv_traits
{ typedef cv_qualified tag; typedef T type; }; template
struct cv_traits
{ typedef cv_qualified tag; typedef T type; }; template
struct cv_traits
{ typedef cv_qualified tag; typedef T type; }; #else template
struct cv_tag_impl; template<> struct cv_tag_impl<1> { typedef non_cv type;}; template<> struct cv_tag_impl<2> { typedef const_non_volatile type; }; template<> struct cv_tag_impl<3> { typedef volatile_non_const type; }; template<> struct cv_tag_impl<4> { typedef cv_qualified type; }; typedef char (& case_1)[1]; typedef char (& case_2)[2]; typedef char (& case_3)[3]; typedef char (& case_4)[4]; template
case_1 switch_cv(T *); template
case_2 switch_cv(T const *); template
case_3 switch_cv(T volatile *); template
case_4 switch_cv(T const volatile *); template
T * ref_to_ptr(T &); template
T const * ref_to_ptr(T const &); template
T volatile * ref_to_ptr(T volatile &); template
T const volatile * ref_to_ptr(T const volatile &); template
T * ref_to_ptr(T * const volatile &); template
struct cv_code { static T _t; BOOST_STATIC_CONSTANT(std::size_t, value = sizeof(::boost::function_types::detail::switch_cv( ::boost::function_types::detail::ref_to_ptr(_t) ) )); }; template
struct cv_traits { typedef typename boost::function_types::detail::cv_tag_impl< ::boost::function_types::detail::cv_code
::value >::type tag; // may require Boost.TypeTraits broken compiler specializations // to work typedef typename boost::remove_cv< typename boost::remove_pointer< typename boost::remove_reference
::type >::type >::type type; }; #endif } } } // namespace boost::function_types::detail #endif
cv_traits.hpp
网页地址
文件地址
上一页
4/9
下一页
下载
( 5 KB )
Comments
Total ratings:
0
Average rating:
无评论
of 10
Would you like to comment?
Join now
, or
Logon
if you are already a member.