fix doc example typo
[boost.git] / boost / bimap / views / unconstrained_map_view.hpp
blobda9b4b47afd49df9ed7bd899b1c39eb77e81f918
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)
9 /// \file views/unconstrained_map_view.hpp
10 /// \brief Unconstrained view of a side of a bimap.
12 #ifndef BOOST_BIMAP_VIEWS_UNCONSTRAINED_MAP_VIEW_HPP
13 #define BOOST_BIMAP_VIEWS_UNCONSTRAINED_MAP_VIEW_HPP
15 #if defined(_MSC_VER) && (_MSC_VER>=1200)
16 #pragma once
17 #endif
19 #include <boost/config.hpp>
21 namespace boost {
22 namespace bimaps {
23 namespace views {
25 /// \brief Unconstrained view of a side of a bimap.
27 template< class Tag, class BimapType>
28 class unconstrained_map_view
30 public:
31 template< class T >
32 unconstrained_map_view(const T & t) {}
34 typedef void reference;
35 typedef void const_reference;
36 typedef void info_type;
39 } // namespace views
40 } // namespace bimaps
41 } // namespace boost
43 #endif // BOOST_BIMAP_VIEWS_UNCONSTRAINED_MAP_VIEW_HPP