 |
IDS peak IPL v1.18.0
|
Loading...
Searching...
No Matches
Go to the documentation of this file.
9#if __cplusplus >= 201703L || (defined(_MSVC_LANG) && (_MSVC_LANG >= 201703L))
10# define PEAK_IPL_NO_DISCARD [[nodiscard]]
11# define PEAK_IPL_MAYBE_UNUSED [[maybe_unused]]
14# define PEAK_IPL_NO_DISCARD _Check_return_
15# define PEAK_IPL_MAYBE_UNUSED
16# elif defined(__clang__) || defined(__GNUC__) || defined(__GNUG__)
17# define PEAK_IPL_NO_DISCARD __attribute__((warn_unused_result))
18# define PEAK_IPL_MAYBE_UNUSED __attribute__((unused))
20# define PEAK_IPL_NO_DISCARD
21# define PEAK_IPL_MAYBE_UNUSED