Go to the documentation of this file. 20 #ifndef XAPIAN_INCLUDED_ATTRIBUTES_H 21 #define XAPIAN_INCLUDED_ATTRIBUTES_H 23 #if __cplusplus >= 201103L || (defined _MSC_VER && _MSC_VER >= 1900) 37 # define XAPIAN_NOEXCEPT noexcept 39 # define XAPIAN_NOEXCEPT 45 # define XAPIAN_CONST_FUNCTION __attribute__((__const__)) 47 # define XAPIAN_PURE_FUNCTION __attribute__((__pure__)) 49 # if __GNUC__ >= 4 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 3) 50 # define XAPIAN_NOTHROW(D) D XAPIAN_NOEXCEPT __attribute__((__nothrow__)) 62 # define XAPIAN_CONST_FUNCTION 67 # define XAPIAN_PURE_FUNCTION 71 #ifndef XAPIAN_NOTHROW 73 # define XAPIAN_NOTHROW(D) D XAPIAN_NOEXCEPT 76 #endif // XAPIAN_INCLUDED_ATTRIBUTES_H