Thursday, May 3

CPP Evil

Possibly the most incomprehensible line of code I have ever written.


#define ALLOCATE_ENGINE_OBJECT(type) reinterpret_cast<Engine##type##Object*>(\
world.allocate<Engine##type##Object>()->init_object(\
type##Pool.allocate<Engine##type##Data>()))