Mercurial > hg > vamp-build-and-test
view DEPENDENCIES/generic/include/boost/bimap/detail/generate_view_binder.hpp @ 133:4acb5d8d80b6 tip
Don't fail environmental check if README.md exists (but .txt and no-suffix don't)
author | Chris Cannam |
---|---|
date | Tue, 30 Jul 2019 12:25:44 +0100 |
parents | c530137014c0 |
children |
line wrap: on
line source
// 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) #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