unconstrained_map_view.hpp 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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. /// \file views/unconstrained_map_view.hpp
  9. /// \brief Unconstrained view of a side of a bimap.
  10. #ifndef BOOST_BIMAP_VIEWS_UNCONSTRAINED_MAP_VIEW_HPP
  11. #define BOOST_BIMAP_VIEWS_UNCONSTRAINED_MAP_VIEW_HPP
  12. #if defined(_MSC_VER)
  13. #pragma once
  14. #endif
  15. #include <boost/config.hpp>
  16. namespace boost {
  17. namespace bimaps {
  18. namespace views {
  19. /// \brief Unconstrained view of a side of a bimap.
  20. template< class Tag, class BimapType>
  21. class unconstrained_map_view
  22. {
  23. public:
  24. template< class T >
  25. unconstrained_map_view(const T &) {}
  26. typedef void iterator;
  27. typedef void const_iterator;
  28. typedef void reference;
  29. typedef void const_reference;
  30. typedef void info_type;
  31. };
  32. } // namespace views
  33. } // namespace bimaps
  34. } // namespace boost
  35. #endif // BOOST_BIMAP_VIEWS_UNCONSTRAINED_MAP_VIEW_HPP