toast/typed_factory.hpp File Reference


Detailed Description

typed_factory.hpp contains the toast::typed_factory template class

#include <boost/shared_ptr.hpp>
#include <boost/bind.hpp>
#include <boost/function.hpp>
#include <boost/utility/typed_in_place_factory.hpp>
#include <boost/preprocessor/cat.hpp>
#include <boost/preprocessor/punctuation/paren.hpp>
#include <boost/preprocessor/iteration/iterate.hpp>
#include <boost/preprocessor/repetition/repeat.hpp>
#include <boost/preprocessor/repetition/enum.hpp>
#include <boost/preprocessor/repetition/enum_params.hpp>
#include <boost/preprocessor/repetition/enum_binary_params.hpp>
#include <boost/preprocessor/repetition/enum_trailing_params.hpp>

Go to the source code of this file.

Classes

class  typed_factory< T >
 An object that holds arguments for deferred object creation. More...

Defines

#define TOAST_MAX_TYPED_FACTORY_ARITY   10
 Specifies maximum arity for typed_factory's constructor.


Define Documentation

#define TOAST_MAX_TYPED_FACTORY_ARITY   10

Specifies maximum arity for typed_factory's constructor.

define TOAST_MAX_TYPED_FACTORY_ARITY to the value you need before include'ing typed_factory.hpp. If you don't set it, the default is 10.


SourceForge.net Logo