1 /* Copyright 2006-2008 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/flyweight for library home page. 7 */ 8 9 #ifndef BOOST_FLYWEIGHT_HASHED_FACTORY_FWD_HPP 10 #define BOOST_FLYWEIGHT_HASHED_FACTORY_FWD_HPP 11 12 #if defined(_MSC_VER) 13 #pragma once 14 #endif 15 16 #include <boost/config.hpp> /* keep it first to prevent nasty warns in MSVC */ 17 #include <boost/flyweight/detail/not_placeholder_expr.hpp> 18 #include <boost/mpl/aux_/na.hpp> 19 20 namespace boost{ 21 22 namespace flyweights{ 23 24 template< 25 typename Entry,typename Key, 26 typename Hash=mpl::na,typename Pred=mpl::na,typename Allocator=mpl::na 27 > 28 class hashed_factory_class; 29 30 template< 31 typename Hash=mpl::na,typename Pred=mpl::na,typename Allocator=mpl::na 32 BOOST_FLYWEIGHT_NOT_A_PLACEHOLDER_EXPRESSION 33 > 34 struct hashed_factory; 35 36 } /* namespace flyweights */ 37 38 } /* namespace boost */ 39 40 #endif 41