Rosetta
Macros
cxx_versioning_macros.hh File Reference

macros for using function attributes in a portable way More...

Macros

#define __has_cpp_attribute(x)   0
 
#define NODISCARD_ATTR
 
#define UNUSED_ATTR
 
#define PURE_ATTR
 
#define CONST_ATTR
 
#define NORETURN_ATTR   [[noreturn]]
 

Detailed Description

macros for using function attributes in a portable way

Author
Jack Maguire

Macro Definition Documentation

◆ __has_cpp_attribute

#define __has_cpp_attribute (   x)    0

◆ CONST_ATTR

#define CONST_ATTR

◆ NODISCARD_ATTR

#define NODISCARD_ATTR

◆ NORETURN_ATTR

#define NORETURN_ATTR   [[noreturn]]

◆ PURE_ATTR

#define PURE_ATTR

◆ UNUSED_ATTR

#define UNUSED_ATTR