From: stephan b. <st...@s1...> - 2005-05-29 18:18:59
|
On Sunday 29 May 2005 19:54, Prochnow, Christian wrote: > see Factory.h Revision 1.21: > -- > template <typename TypeName> > void registerType( const key_type & key, TypeName ) > { > registerFactory( key, > Hook::FactoryCreateHook<InterfaceT,TypeName>::create ); > } Nope. Check the CVS log, version 1.18: cproch: Added Factory::registerType(). Client code looks nicer when using it ;-) :) -- ----- st...@s1... http://s11n.net "...pleasure is a grace and is not obedient to the commands of the will." -- Alan W. Watts |