Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:47:51

0001 /* Copyright 2016 Joaquin M Lopez Munoz.
0002  * Distributed under the Boost Software License, Version 1.0.
0003  * (See accompanying file LICENSE_1_0.txt or copy at
0004  * http://www.boost.org/LICENSE_1_0.txt)
0005  *
0006  * See http://www.boost.org/libs/poly_collection for library home page.
0007  */
0008 
0009 #ifndef BOOST_POLY_COLLECTION_FUNCTION_COLLECTION_FWD_HPP
0010 #define BOOST_POLY_COLLECTION_FUNCTION_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 Signature> struct function_model;
0024 }
0025 
0026 template<typename Signature>
0027 using function_collection_value_type=
0028   typename detail::function_model<Signature>::value_type;
0029 
0030 template<
0031   typename Signature,
0032   typename Allocator=std::allocator<function_collection_value_type<Signature>>
0033 >
0034 class function_collection;
0035 
0036 template<typename Signature,typename Allocator>
0037 bool operator==(
0038   const function_collection<Signature,Allocator>& x,
0039   const function_collection<Signature,Allocator>& y);
0040 
0041 template<typename Signature,typename Allocator>
0042 bool operator!=(
0043   const function_collection<Signature,Allocator>& x,
0044   const function_collection<Signature,Allocator>& y);
0045 
0046 template<typename Signature,typename Allocator>
0047 void swap(
0048   function_collection<Signature,Allocator>& x,
0049   function_collection<Signature,Allocator>& y);
0050 
0051 } /* namespace poly_collection */
0052 
0053 using poly_collection::function_collection;
0054 
0055 } /* namespace boost */
0056 
0057 #endif