| 1 | // Boost.Bimap |
| 2 | // |
| 3 | // Copyright (c) 2006-2007 Matias Capeletto |
| 4 | // |
| 5 | // Distributed under the Boost Software License, Version 1.0. |
| 6 | // (See accompanying file LICENSE_1_0.txt or copy at |
| 7 | // http://www.boost.org/LICENSE_1_0.txt) |
| 8 | |
| 9 | /// \file views/unconstrained_map_view.hpp |
| 10 | /// \brief Unconstrained view of a side of a bimap. |
| 11 | |
| 12 | #ifndef BOOST_BIMAP_VIEWS_UNCONSTRAINED_MAP_VIEW_HPP |
| 13 | #define BOOST_BIMAP_VIEWS_UNCONSTRAINED_MAP_VIEW_HPP |
| 14 | |
| 15 | #if defined(_MSC_VER) |
| 16 | #pragma once |
| 17 | #endif |
| 18 | |
| 19 | #include <boost/config.hpp> |
| 20 | |
| 21 | namespace boost { |
| 22 | namespace bimaps { |
| 23 | namespace views { |
| 24 | |
| 25 | /// \brief Unconstrained view of a side of a bimap. |
| 26 | |
| 27 | template< class Tag, class BimapType> |
| 28 | class unconstrained_map_view |
| 29 | { |
| 30 | public: |
| 31 | template< class T > |
| 32 | unconstrained_map_view(const T &) {} |
| 33 | |
| 34 | typedef void iterator; |
| 35 | typedef void const_iterator; |
| 36 | typedef void reference; |
| 37 | typedef void const_reference; |
| 38 | typedef void info_type; |
| 39 | }; |
| 40 | |
| 41 | } // namespace views |
| 42 | } // namespace bimaps |
| 43 | } // namespace boost |
| 44 | |
| 45 | #endif // BOOST_BIMAP_VIEWS_UNCONSTRAINED_MAP_VIEW_HPP |
| 46 | |
| 47 | |