carb/Defines.h

In directory: carb

Source file: carb/Defines.h

Carbonite basic defines and helper functions.

Classes

  • carb::EmptyMemberPair: Attempts to invoke the Empty Member Optimization by inheriting from the First element if possible, which, if empty will eliminate the storage necessary for an empty class; the Second element is always stored as a separate member. The First element is inherited from if it is an empty class / struct and is not declared final .

Namespaces

  • carb: The main Carbonite namespace.

Structs