tbergelt

Members
  • Content count

    1
  • Joined

  • Last visited

Community Reputation

97 Neutral

About tbergelt

  • Rank
    Newbie
  1. [quote name='jeroenb' timestamp='1340269374' post='4951269'] I recently encountered a piece of code like the following (not saying anything about whether it is good or not): [source lang="cpp"]class Ptr { public: Ptr(void* ptr = NULL, bool owned= true); ... } Ptr ptr(false);[/source] [/quote] if you define false as !true this will no longer compile. [CODE] #define false !true [/CODE]