欢迎来到虫虫下载站 | 资源下载 资源专辑 关于我们
虫虫下载站

generate_view_binder.hpp

Boost provides free peer-reviewed portable C++ source libraries. We emphasize libraries that work
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/generate_view_binder.hpp/// \brief Define macros to help building the set type of definitions#ifndef BOOST_BIMAP_DETAIL_GENERATE_VIEW_BINDER_HPP#define BOOST_BIMAP_DETAIL_GENERATE_VIEW_BINDER_HPP#if defined(_MSC_VER) && (_MSC_VER>=1200)#pragma once#endif#include <boost/config.hpp>#include <boost/multi_index/tag.hpp>/*===========================================================================*/#define BOOST_BIMAP_GENERATE_MAP_VIEW_BINDER(                                 \                                                                              \    MAP_VIEW_TYPE                                                             \                                                                              \)                                                                             \                                                                              \template< class Tag, class BimapType >                                        \struct map_view_bind                                                          \{                                                                             \    typedef MAP_VIEW_TYPE                                                     \    <                                                                         \        Tag,                                                                  \        BimapType                                                             \                                                                              \    > type;                                                                   \};/*===========================================================================*//*===========================================================================*/#define BOOST_BIMAP_GENERATE_SET_VIEW_BINDER(                                 \                                                                              \    SET_VIEW_TYPE                                                             \                                                                              \)                                                                             \                                                                              \template< class IndexType >                                                   \struct set_view_bind                                                          \{                                                                             \    typedef SET_VIEW_TYPE<IndexType> type;                                    \};/*===========================================================================*/#endif // BOOST_BIMAP_DETAIL_GENERATE_VIEW_BINDER_HPP

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -