P
Parapura Rajkumar
hey all
Is this code standard ? It seems to be ok VS 2008 but gcc complains
that function needs a valid return type
Basically I am trying to store a constructor as a std::tr1::function
template<class POLYMORPHIC>
struct Factory_traits
{
typedef std::tr1::function<POLYMORPHIC*()> func_type;
};
Thanks
Raj
Is this code standard ? It seems to be ok VS 2008 but gcc complains
that function needs a valid return type
Basically I am trying to store a constructor as a std::tr1::function
template<class POLYMORPHIC>
struct Factory_traits
{
typedef std::tr1::function<POLYMORPHIC*()> func_type;
};
Thanks
Raj