I'm trying to compile this library int Windows CE, almost everything works, except constructors stuff.
I know that problem is in ARM compiler from EVC because the library compiles fine in Visual Studio.
the part that doesn't work is the following:
template <class C>
static C *__new_instance_ptr__(void* ptr)
return new (ptr) T();
template <class C >
static C *(* __create_new_instance_ptr__(C *(*)()))(void *)
return & __new_instance_ptr__<c>; <-- ERROR C2275
The error is:
error C2275: 'C' : illegal use of this type as an expression
So, i am looking for some workaround for this
thanks in advance
Last Visit: 31-Dec-99 18:00 Last Update: 24-Jun-17 13:05