File indexing completed on 2025-01-18 09:47:51
0001
0002
0003
0004
0005
0006
0007
0008
0009 #ifndef BOOST_POLY_COLLECTION_ANY_COLLECTION_FWD_HPP
0010 #define BOOST_POLY_COLLECTION_ANY_COLLECTION_FWD_HPP
0011
0012 #if defined(_MSC_VER)
0013 #pragma once
0014 #endif
0015
0016 #include <memory>
0017
0018 namespace boost{
0019
0020 namespace poly_collection{
0021
0022 namespace detail{
0023 template<typename Concept> struct any_model;
0024 }
0025
0026 template<typename Concept>
0027 using any_collection_value_type=
0028 typename detail::any_model<Concept>::value_type;
0029
0030 template<
0031 typename Concept,
0032 typename Allocator=std::allocator<any_collection_value_type<Concept>>
0033 >
0034 class any_collection;
0035
0036 template<typename Concept,typename Allocator>
0037 bool operator==(
0038 const any_collection<Concept,Allocator>& x,
0039 const any_collection<Concept,Allocator>& y);
0040
0041 template<typename Concept,typename Allocator>
0042 bool operator!=(
0043 const any_collection<Concept,Allocator>& x,
0044 const any_collection<Concept,Allocator>& y);
0045
0046 template<typename Concept,typename Allocator>
0047 void swap(
0048 any_collection<Concept,Allocator>& x,any_collection<Concept,Allocator>& y);
0049
0050 }
0051
0052 using poly_collection::any_collection;
0053
0054 }
0055
0056 #endif