Boost logo

Boost Users :

Subject: Re: [Boost-users] how to make a vector to derivedClass::create() methods
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2009-02-10 22:40:16


AMDG

Victor Whiskey Yankee wrote:
> template <typename BaseType, typename KeyType, typename DerivedType>
> struct RegisterDerived
> {
> RegisterDerived(const KeyType& _key)
> {
>
> GenericFactory<BaseType,KeyType>::instance().registrator<DerivedType>(_key)

This should be
...::instance().template registrator<DerivedType>(_key)

In Christ,
Steven Watanabe


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net