libcopp  2.2.0
Macros
features.h File Reference
#include <libcopp/utils/config/libcopp_build_features.h>
#include "errno.h"
Include dependency graph for features.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define COPP_MACRO_CPP_STD   199711L
 
#define COPP_LIKELY_IF(...)   if (__VA_ARGS__)
 
#define COPP_UNLIKELY_IF(...)   if (__VA_ARGS__)
 
#define COPP_NORETURN_ATTR
 
#define COPP_UNREACHABLE()   std::abort()
 
#define COPP_MACRO_RV_REF   &&
 
#define COPP_MACRO_STD_MOVE(x)   std::move(x)
 
#define COPP_MACRO_STD_FORWARD(t, x)   std::forward<t>(x)
 

Macro Definition Documentation

◆ COPP_LIKELY_IF

#define COPP_LIKELY_IF (   ...)    if (__VA_ARGS__)

Definition at line 102 of file features.h.

◆ COPP_MACRO_CPP_STD

#define COPP_MACRO_CPP_STD   199711L

Definition at line 80 of file features.h.

◆ COPP_MACRO_RV_REF

#define COPP_MACRO_RV_REF   &&

Definition at line 165 of file features.h.

◆ COPP_MACRO_STD_FORWARD

#define COPP_MACRO_STD_FORWARD (   t,
 
)    std::forward<t>(x)

Definition at line 173 of file features.h.

◆ COPP_MACRO_STD_MOVE

#define COPP_MACRO_STD_MOVE (   x)    std::move(x)

Definition at line 169 of file features.h.

◆ COPP_NORETURN_ATTR

#define COPP_NORETURN_ATTR

Definition at line 128 of file features.h.

◆ COPP_UNLIKELY_IF

#define COPP_UNLIKELY_IF (   ...)    if (__VA_ARGS__)

Definition at line 117 of file features.h.

◆ COPP_UNREACHABLE

#define COPP_UNREACHABLE ( )    std::abort()

Definition at line 156 of file features.h.