Skip to content
Snippets Groups Projects
Commit 220859a0 authored by Christoph Grüninger's avatar Christoph Grüninger
Browse files

[cleanup] Remove static_assert.hh

parent a37c2ef5
No related branches found
No related tags found
No related merge requests found
......@@ -83,7 +83,6 @@ install(FILES
shared_ptr.hh
singleton.hh
sllist.hh
static_assert.hh
stdstreams.hh
stdthread.hh
stringutility.hh
......
......@@ -77,7 +77,6 @@ commoninclude_HEADERS = \
shared_ptr.hh \
singleton.hh \
sllist.hh \
static_assert.hh \
stdstreams.hh \
stdthread.hh \
stringutility.hh \
......
// -*- 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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment