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
18namespace boost{
19
20namespace poly_collection{
21
22namespace detail{
23template<typename Concept> struct any_model;
24}
25
26template<typename Concept>
27using any_collection_value_type=
28 typename detail::any_model<Concept>::value_type;
29
30template<
31 typename Concept,
32 typename Allocator=std::allocator<any_collection_value_type<Concept>>
33>
34class any_collection;
35
36template<typename Concept,typename Allocator>
37bool operator==(
38 const any_collection<Concept,Allocator>& x,
39 const any_collection<Concept,Allocator>& y);
40
41template<typename Concept,typename Allocator>
42bool operator!=(
43 const any_collection<Concept,Allocator>& x,
44 const any_collection<Concept,Allocator>& y);
45
46template<typename Concept,typename Allocator>
47void swap(
48 any_collection<Concept,Allocator>& x,any_collection<Concept,Allocator>& y);
49
50} /* namespace poly_collection */
51
52using poly_collection::any_collection;
53
54} /* namespace boost */
55
56#endif
57

source code of boost/libs/poly_collection/include/boost/poly_collection/any_collection_fwd.hpp