Defines
Macros

Defines

#define ECL_CXX11_NOT_FOUND
 C++11 support is available.
#define ECL_DEPRECATED
 Deprecated compiler warnings.
#define ECL_DONT_INLINE
 Prevents a function from being inlined.

Define Documentation

C++11 support is available.

This is a very dodgy way of checking - haven't tested across compilers very well, and it doesn't take into account the partial completeness of the implementations.

It does however, provide a way for headers to use c++11 symbols in a non-destructive way for users (we often define typedefs for shared ptr variations).

Definition at line 61 of file macros.hpp.

#define ECL_DEPRECATED

Deprecated compiler warnings.

The following macro emits deprecated compiler warnings by both gnu or msvc compilers.

 ELC_DEPRECATED void f() { std::cout << "Dude" << std::endl; }

Definition at line 85 of file macros.hpp.

#define ECL_DONT_INLINE

Prevents a function from being inlined.

The following macro prevents functions from being inlined by both gnu or msvc compilers.

 ELC_DONT_INLINE void f() { std::cout << "Dude" << std::endl; }

Definition at line 44 of file macros.hpp.



ecl_config
Author(s): Daniel Stonier
autogenerated on Thu Jun 6 2019 18:53:17