Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dune-common
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Nils-Arne Dreier
dune-common
Commits
220859a0
Commit
220859a0
authored
9 years ago
by
Christoph Grüninger
Browse files
Options
Downloads
Patches
Plain Diff
[cleanup] Remove static_assert.hh
parent
a37c2ef5
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
dune/common/CMakeLists.txt
+0
-1
0 additions, 1 deletion
dune/common/CMakeLists.txt
dune/common/Makefile.am
+0
-1
0 additions, 1 deletion
dune/common/Makefile.am
dune/common/static_assert.hh
+0
-30
0 additions, 30 deletions
dune/common/static_assert.hh
with
0 additions
and
32 deletions
dune/common/CMakeLists.txt
+
0
−
1
View file @
220859a0
...
...
@@ -83,7 +83,6 @@ install(FILES
shared_ptr.hh
singleton.hh
sllist.hh
static_assert.hh
stdstreams.hh
stdthread.hh
stringutility.hh
...
...
This diff is collapsed.
Click to expand it.
dune/common/Makefile.am
+
0
−
1
View file @
220859a0
...
...
@@ -77,7 +77,6 @@ commoninclude_HEADERS = \
shared_ptr.hh
\
singleton.hh
\
sllist.hh
\
static_assert.hh
\
stdstreams.hh
\
stdthread.hh
\
stringutility.hh
\
...
...
This diff is collapsed.
Click to expand it.
dune/common/static_assert.hh
deleted
100644 → 0
+
0
−
30
View file @
a37c2ef5
// -*- 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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment