]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/boost/poly_collection/any_collection_fwd.hpp
update sources to v12.2.3
[ceph.git] / ceph / src / boost / boost / poly_collection / any_collection_fwd.hpp
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
9 #ifndef BOOST_POLY_COLLECTION_ANY_COLLECTION_FWD_HPP
10 #define BOOST_POLY_COLLECTION_ANY_COLLECTION_FWD_HPP
11
12 #if defined(_MSC_VER)
13 #pragma once
14 #endif
15
16 #include <memory>
17
18 namespace boost{
19
20 namespace poly_collection{
21
22 namespace detail{
23 template<typename Concept> struct any_model;
24 }
25
26 template<typename Concept>
27 using any_collection_value_type=
28 typename detail::any_model<Concept>::value_type;
29
30 template<
31 typename Concept,
32 typename Allocator=std::allocator<any_collection_value_type<Concept>>
33 >
34 class any_collection;
35
36 template<typename Concept,typename Allocator>
37 bool operator==(
38 const any_collection<Concept,Allocator>& x,
39 const any_collection<Concept,Allocator>& y);
40
41 template<typename Concept,typename Allocator>
42 bool operator!=(
43 const any_collection<Concept,Allocator>& x,
44 const any_collection<Concept,Allocator>& y);
45
46 template<typename Concept,typename Allocator>
47 void swap(
48 any_collection<Concept,Allocator>& x,any_collection<Concept,Allocator>& y);
49
50 } /* namespace poly_collection */
51
52 using poly_collection::any_collection;
53
54 } /* namespace boost */
55
56 #endif