hashed_index_fwd.hpp 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. /* Copyright 2003-2013 Joaquin M Lopez Munoz.
  2. * Distributed under the Boost Software License, Version 1.0.
  3. * (See accompanying file LICENSE_1_0.txt or copy at
  4. * http://www.boost.org/LICENSE_1_0.txt)
  5. *
  6. * See http://www.boost.org/libs/multi_index for library home page.
  7. */
  8. #ifndef BOOST_MULTI_INDEX_HASHED_INDEX_FWD_HPP
  9. #define BOOST_MULTI_INDEX_HASHED_INDEX_FWD_HPP
  10. #if defined(_MSC_VER)
  11. #pragma once
  12. #endif
  13. #include <boost/multi_index/detail/hash_index_args.hpp>
  14. namespace boost{
  15. namespace multi_index{
  16. namespace detail{
  17. template<
  18. typename KeyFromValue,typename Hash,typename Pred,
  19. typename SuperMeta,typename TagList,typename Category
  20. >
  21. class hashed_index;
  22. template<
  23. typename KeyFromValue,typename Hash,typename Pred,
  24. typename SuperMeta,typename TagList,typename Category
  25. >
  26. bool operator==(
  27. const hashed_index<KeyFromValue,Hash,Pred,SuperMeta,TagList,Category>& x,
  28. const hashed_index<KeyFromValue,Hash,Pred,SuperMeta,TagList,Category>& y);
  29. template<
  30. typename KeyFromValue,typename Hash,typename Pred,
  31. typename SuperMeta,typename TagList,typename Category
  32. >
  33. bool operator!=(
  34. const hashed_index<KeyFromValue,Hash,Pred,SuperMeta,TagList,Category>& x,
  35. const hashed_index<KeyFromValue,Hash,Pred,SuperMeta,TagList,Category>& y);
  36. template<
  37. typename KeyFromValue,typename Hash,typename Pred,
  38. typename SuperMeta,typename TagList,typename Category
  39. >
  40. void swap(
  41. hashed_index<KeyFromValue,Hash,Pred,SuperMeta,TagList,Category>& x,
  42. hashed_index<KeyFromValue,Hash,Pred,SuperMeta,TagList,Category>& y);
  43. } /* namespace multi_index::detail */
  44. /* hashed_index specifiers */
  45. template<
  46. typename Arg1,typename Arg2=mpl::na,
  47. typename Arg3=mpl::na,typename Arg4=mpl::na
  48. >
  49. struct hashed_unique;
  50. template<
  51. typename Arg1,typename Arg2=mpl::na,
  52. typename Arg3=mpl::na,typename Arg4=mpl::na
  53. >
  54. struct hashed_non_unique;
  55. } /* namespace multi_index */
  56. } /* namespace boost */
  57. #endif