/* 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