-
- Downloads
[type traits] Provide replacement for deprecated classes AlwaysFalse, AlwaysTrue
The classes AlwaysFalse, AlwaysTrue reside in the deprecated header dune/common/static_assert, yet they are frequently used to document template code (see FS#1435 for details). As the C++11 standard library does not provide a straight forward replacement for theses classes, we offer C++11 style reimplementations. The replacements to_false_type, to_true_type reside in the namespace Std and are thus easily identifiable as Dune specifis.
Showing
- dune/common/documentation.hh 1 addition, 1 deletiondune/common/documentation.hh
- dune/common/std/CMakeLists.txt 1 addition, 0 deletionsdune/common/std/CMakeLists.txt
- dune/common/std/Makefile.am 2 additions, 1 deletiondune/common/std/Makefile.am
- dune/common/std/type_traits.hh 76 additions, 0 deletionsdune/common/std/type_traits.hh
- dune/common/tupleutility.hh 6 additions, 6 deletionsdune/common/tupleutility.hh
Loading
Please register or sign in to comment