diff options
Diffstat (limited to 'boost/poly_collection/function_collection_fwd.hpp')
-rw-r--r-- | boost/poly_collection/function_collection_fwd.hpp | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/boost/poly_collection/function_collection_fwd.hpp b/boost/poly_collection/function_collection_fwd.hpp new file mode 100644 index 0000000000..9ea0a0f5ff --- /dev/null +++ b/boost/poly_collection/function_collection_fwd.hpp @@ -0,0 +1,57 @@ +/* Copyright 2016 Joaquin M Lopez Munoz. + * Distributed under the Boost Software License, Version 1.0. + * (See accompanying file LICENSE_1_0.txt or copy at + * http://www.boost.org/LICENSE_1_0.txt) + * + * See http://www.boost.org/libs/poly_collection for library home page. + */ + +#ifndef BOOST_POLY_COLLECTION_FUNCTION_COLLECTION_FWD_HPP +#define BOOST_POLY_COLLECTION_FUNCTION_COLLECTION_FWD_HPP + +#if defined(_MSC_VER) +#pragma once +#endif + +#include <memory> + +namespace boost{ + +namespace poly_collection{ + +namespace detail{ +template<typename Signature> struct function_model; +} + +template<typename Signature> +using function_collection_value_type= + typename detail::function_model<Signature>::value_type; + +template< + typename Signature, + typename Allocator=std::allocator<function_collection_value_type<Signature>> +> +class function_collection; + +template<typename Signature,typename Allocator> +bool operator==( + const function_collection<Signature,Allocator>& x, + const function_collection<Signature,Allocator>& y); + +template<typename Signature,typename Allocator> +bool operator!=( + const function_collection<Signature,Allocator>& x, + const function_collection<Signature,Allocator>& y); + +template<typename Signature,typename Allocator> +void swap( + function_collection<Signature,Allocator>& x, + function_collection<Signature,Allocator>& y); + +} /* namespace poly_collection */ + +using poly_collection::function_collection; + +} /* namespace boost */ + +#endif |