LifeV
LifeV Macros

Assertion Macros

Assertions

LifeV defines a few macros to test pre and post conditions. To enable them all you define the preprocessing variable LIFEV_CHECK_ALL . This is done easily by configuring LifeV with the flag –enable-debug which will include the option -DLIFEV_CHECK_ALL

  1. LIFEV_ASSERT

LifeV C++ Compiler Hints

  1. #INLINE
  2. #LIFEV_RESTRICT

LifeV Attribute Macros

  1. #LIFEV_EXPORT and #LIFEV_NO_EXPORT
  2. #LIFEV_PACKED
  3. LIFEV_DEPRECATED
  4. #LIFEV_ISLIKELY and #LIFEV_ISUNLIKELY