Author Topic: Bad Code  (Read 1662 times)

0 Members and 1 Guest are viewing this topic.

Offline blackhole

  • Still not over the rainbow
  • 29
  • Destiny can suck it
    • Black Sphere Studios
Code: [Select]
  struct C54_DLLEXPORT cINIentry
  {
    cINIentry();
    <snip>
   
    operator bool();
    operator short();
    operator int();
    operator long();
    operator unsigned short();
    operator unsigned int();
    operator unsigned long();
    operator float();
    operator double();
    operator char*();

Note to self: Operator overloading may have unexpected results.