Torque 3D 3.8
ContentsIndexHome
PreviousUpNext
GenericClass Class
fastdelegate__detail__GenericClass
Syntax
C++
class GenericClass;

...but for Codeplay, an empty class *always* gives 4 byte pointers. If compiled with the /clr option ("managed C++"), the JIT compiler thinks it needs to load GenericClass before it can call any of its functions, (compiles OK but crashes at runtime!), so we need to declare an empty class to make it happy. Codeplay and VC4 can't cope with the unknown_inheritance case either.

Copyright (c) 2015. All rights reserved.
What do you think about this topic? Send feedback!