/usr/include/dune/common/std/constexpr.hh is in libdune-common-dev 2.4.1-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | #ifndef DUNE_COMMON_STD_CONSTEXPR_HH
#define DUNE_COMMON_STD_CONSTEXPR_HH
/**
* \file
* \brief Definition of the DUNE_CONSTEXPR macro
*/
#if HAVE_CONSTEXPR || defined(DOXYGEN)
/**
* \brief Set method or expression constexpr if supported by the compiler.
* \code
#include <dune/common/std/constexpr.hh>
* \endcode
*
* This is a preprocessor define which can be used to mark expressions or
* functions as constexpr. C++11 introduced constexpr, C++1y will extend
* constexpr's use cases.
*/
#define DUNE_CONSTEXPR constexpr
#else // #if HAVE_CONSTEXPR
#define DUNE_CONSTEXPR
#endif // #else // #if HAVE_CONSTEXPR
#endif // #ifndef DUNE_COMMON_STD_CONSTEXPR_HH
|