Go to the documentation of this file. 20 #ifndef TIMPI_MACROS_H 21 #define TIMPI_MACROS_H 25 #include "timpi/timpi_config.h" 27 #ifdef TIMPI_HAVE_CXX20 28 # define timpi_pure [[nodiscard("Pure-function return values should not be discarded")]] 29 #elif defined(TIMPI_HAVE_CXX17) 30 # define timpi_pure [[nodiscard]] 35 #endif // TIMPI_MACROS_H