/usr/include/dune/common/static_assert.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 28 29 30 | // -*- tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
// vi: set et ts=4 sw=2 sts=2:
#ifndef DUNE_STATIC_ASSERT_HH
#define DUNE_STATIC_ASSERT_HH
#warning This header and the macro dune_static_assert are deprecated, use static_assert instead.
/** \file
* \brief Fallback implementation of the C++0x static_assert feature
*/
/**
* @addtogroup Common
*
* @{
*/
/**
\brief Helper template so that compilation fails if condition is not true.
\deprecated Use static_assert from C++11 instead.
*/
#define dune_static_assert(COND,MSG) \
static_assert(COND,MSG)
#include "typetraits.hh"
/* @} */
#endif
|