Macros
Macros

Macros

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

Detailed Description

Macro Definition Documentation

◆ ECL_CXX11_NOT_FOUND

#define ECL_CXX11_NOT_FOUND

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.

◆ ECL_DEPRECATED

#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.

◆ ECL_DONT_INLINE

#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 Mon Feb 28 2022 22:16:09