#1435 Remove fall-back implementations of C++11 features
Metadata
Property | Value |
---|---|
Reported by | Christoph Grüninger (gruenich@iws.uni-stuttgart.de) |
Reported at | Feb 24, 2014 14:05 |
Type | Bug Report |
Version | Git (pre2.4) [autotools] |
Operating System | Unspecified / All |
Description
Dune 3.0 requires at least GCC 4.4, thus we can remove some backward compatibility code like:
- dune_static_assert, replace by static_assert, since GCC 4.3
- fall back code if variadic templates are not support, implemented since GCC 4.3
- shared_ptr, since GCC 4.3 in
- std::array, since GCC 4.3 in
- tuple, at least in GCC 4.4
Related topics:
- std::unique_ptr replaces deprecated auto_ptr, see #1398 (closed)
- conditional replaces Dune::SelectedType which is already removed
What about:
- Dune::AlwaysTrue< T >, Dune::AlwaysFalse< T >
- nullptr, officially supported since GCC 4.6