toast::default_factory< T > Struct Template Reference
[toast singleton]

#include <toast/singleton.hpp>

List of all members.


Detailed Description

template<typename T>
struct toast::default_factory< T >

This factory creates T with its default constructor.

This won't compile if T has no default constructor. You'll need to use the toast::global_factory or toast::thread_specific_factory in that case. When using this factory toast::singleton_helper::set_factory will be disabled.

Static Public Member Functions

static typed_factory< T > get ()


The documentation for this struct was generated from the following file:

SourceForge.net Logo