unconstrained_set_view.hpp 907 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  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_set_view.hpp
  9. /// \brief Unconstrained view of a bimap.
  10. #ifndef BOOST_BIMAP_VIEWS_UNCONSTRAINED_SET_VIEW_HPP
  11. #define BOOST_BIMAP_VIEWS_UNCONSTRAINED_SET_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 bimap.
  20. template< class CoreIndex >
  21. class unconstrained_set_view
  22. {
  23. public:
  24. template< class T >
  25. unconstrained_set_view(const T &) {}
  26. typedef void iterator;
  27. typedef void const_iterator;
  28. };
  29. } // namespace views
  30. } // namespace bimaps
  31. } // namespace boost
  32. #endif // BOOST_BIMAP_VIEWS_UNCONSTRAINED_SET_VIEW_HPP