x
Yes
No
Do you want to visit DriveHQ English website?
首页
产品服务
价格
免费试用
下载客户端
关于我们
云文件服务
|
云备份服务
|
FTP服务
|
企业邮箱服务
|
网站托管
|
客户端软件
云文件服务
云备份服务
FTP服务
企业级邮箱服务
网站托管
客户端软件
concept_tags.hpp - Hosted on DriveHQ Cloud IT Platform
返回上层目录
上传
下载
共享
发布
新建文件夹
新建文件
复制
剪切
删除
粘贴
评论
升级服务
路径: \\game3dprogramming\materials\GameFactory\GameFactoryDemo\references\boost_1_35_0\boost\bimap\detail\concept_tags.hpp
旋转
特效
属性
历史版本
// Boost.Bimap // // Copyright (c) 2006-2007 Matias Capeletto // // 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) /// \file detail/concept_tags.hpp /// \brief Bimap tags and concepts #ifndef BOOST_BIMAP_DETAIL_CONCEPT_TAGS_HPP #define BOOST_BIMAP_DETAIL_CONCEPT_TAGS_HPP #if defined(_MSC_VER) && (_MSC_VER>=1200) #pragma once #endif #include
#include
#include
#include
namespace boost { namespace bimaps { namespace detail { /// \brief Tag of {SetType}_of definition classes /** The {SetType}_of classes are derived from this class so it is easy to construct metafunctions. For example now is easy to create a is_set_type_of metafunction. **/ struct set_type_of_tag {}; /// \brief Tag of {SetType}_of_relation defition classes struct set_type_of_relation_tag {}; /// \brief Tag of {Side}_based identifiers struct side_based_tag : set_type_of_relation_tag {}; } // namespace detail /** \struct boost::bimaps::left_based \brief Tag to indicate that the main view will be based on the left side. This is convenient because the multi-index core will be more efficient. If possible use this options or the right based one. See also right_based. **/ /** \struct boost::bimaps::right_based \brief Tag to indicate that the main view will be based on the right side. This is convenient because the multi-index core will be more efficient. If possible use this options or the right based one. See also left_based. **/ #ifndef BOOST_BIMAP_DOXYGEN_WILL_NOT_PROCESS_THE_FOLLOWING_LINES struct left_based : ::boost::bimaps::detail::side_based_tag { // I run into troubles if I do not define bind for side based tags. // Maybe a more coherent way of binding the relation can be developped. template< class Relation > struct bind_to { typedef void type; }; typedef mpl::bool_
left_mutable_key; typedef mpl::bool_
right_mutable_key; }; struct right_based : ::boost::bimaps::detail::side_based_tag { // I run into troubles if I do not define bind for side based tags. // Maybe a more coherent way of binding the relation can be developped. template< class Relation > struct bind_to { typedef void type; }; typedef mpl::bool_
left_mutable_key; typedef mpl::bool_
right_mutable_key; }; #endif // BOOST_BIMAP_DOXYGEN_WILL_NOT_PROCESS_THE_FOLLOWING_LINES typedef mpl::_ _relation; } // namespace bimaps } // namespace boost #endif // BOOST_BIMAP_DETAIL_CONCEPT_TAGS_HPP
concept_tags.hpp
网页地址
文件地址
上一页
2/15
下一页
下载
( 2 KB )
Comments
Total ratings:
0
Average rating:
无评论
of 10
Would you like to comment?
Join now
, or
Logon
if you are already a member.