base_collection_fwd.hpp 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. /* Copyright 2016-2017 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/poly_collection for library home page.
  7. */
  8. #ifndef BOOST_POLY_COLLECTION_BASE_COLLECTION_FWD_HPP
  9. #define BOOST_POLY_COLLECTION_BASE_COLLECTION_FWD_HPP
  10. #if defined(_MSC_VER)
  11. #pragma once
  12. #endif
  13. #include <memory>
  14. namespace boost{
  15. namespace poly_collection{
  16. template<typename Base,typename Allocator=std::allocator<Base>>
  17. class base_collection;
  18. template<typename Base,typename Allocator>
  19. bool operator==(
  20. const base_collection<Base,Allocator>& x,
  21. const base_collection<Base,Allocator>& y);
  22. template<typename Base,typename Allocator>
  23. bool operator!=(
  24. const base_collection<Base,Allocator>& x,
  25. const base_collection<Base,Allocator>& y);
  26. template<typename Base,typename Allocator>
  27. void swap(
  28. base_collection<Base,Allocator>& x,base_collection<Base,Allocator>& y);
  29. } /* namespace poly_collection */
  30. using poly_collection::base_collection;
  31. } /* namespace boost */
  32. #endif