- Feb 07, 2016
-
-
Marco Agnese authored
-
Marco Agnese authored
-
Marco Agnese authored
-
- Feb 06, 2016
-
-
Christoph Grüninger authored
Feature/debugstream destructor exception See merge request !35
-
Christoph Grüninger authored
-
Christoph Grüninger authored
C++11 defaults destructors to noexcept. Good catch, GCC 6!
-
- Feb 05, 2016
-
-
Steffen Müthing authored
[CMake] Get rid of deprecated check_cxx_accepts_flag() The CMake module TestCXXAcceptsFlag and the accompanying function check_cxx_accepts_flag() have been deprecated since CMake 3.0, the replacements are CheckCXXCompilerFlag and check_cxx_compiler_flag(). Thanks to Dirk Ribbrock for reporting the problem via email. See merge request !39
-
- Feb 04, 2016
-
-
Steffen Müthing authored
The CMake module TestCXXAcceptsFlag and the accompanying function check_cxx_accepts_flag() have been deprecated since CMake 3.0, the replacements are CheckCXXCompilerFlag and check_cxx_compiler_flag(). Thanks to Dirk Ribbrock for reporting the problem via email.
-
- Feb 02, 2016
-
-
Christian Engwer authored
BitSetVector: Add and test bounds checking See also Flyspray/FS#1030. See merge request !34
-
Elias Pipping authored
-
Christoph Grüninger authored
Fix warnings This addresses warnings about unitialised base classes and superfluous use of the keyword `const`. See merge request !38
-
- Feb 01, 2016
-
-
Elias Pipping authored
-
Oliver Sander authored
fmatrixtest: Use initializer lists The old implementation was a kludge that wanted to use initializer lists badly, obviously, but couldn't. Now we can. Cleanup only, no functional changes. See merge request !36
-
Elias Pipping authored
-
Elias Pipping authored
This addresses warnings such as 'const' type qualifier on return type has no effect
-
- Jan 31, 2016
-
-
Christoph Grüninger authored
-
- Jan 30, 2016
-
-
Oliver Sander authored
Use <array> instead of <dune/common/array> See also core/dune-common#13. See merge request !33
-
Elias Pipping authored
-
- Jan 29, 2016
-
-
Christoph Grüninger authored
[cmake] install boundschecking.hh Merge request !17 added a new header file boundschecking.hh but forgot to add it to the list of installed headers in CMakeLists.txt. See merge request !32
-
Felix Gruber authored
-
- Jan 28, 2016
-
-
Christoph Grüninger authored
[FS#1030] Add, use, and test DUNE_ASSERT_BOUNDS If `DUNE_CHECK_BOUNDS` is defined, `DUNE_ASSERT_BOUNDS` checks if a condition holds; otherwise, it does nothing. It is meant to be used for conditions that assure writes and reads do not occur outside of memory limits or pre-defined patterns and related conditions. Replacement for `assert` in relevant context; guarded by a single universal define rather than existing class- or module- specific ones. See merge request !17
-
Elias Pipping authored
-
Elias Pipping authored
-
- Jan 26, 2016
-
-
I still don't understand why, but GCC was spilling deprecation warnings for Dune::enable_if even if we were only using std::enable_if. Thus I removed the deprecation of the enable_if struct and only deprecate the type within. That should still be enough as this deprecation warning gets triggered when enable_if is used to aid in overload resolution and the boolean parameter of enable_if is true.
-
My previous wrapper implementation around std::enable_if didn't work when B was false, as type was then defined to a type that was SFINAEd away.
-
Using inheritance for the deprecated wrapper class unfortunately only worked on GCC, so we had to define the type or value of the type trait explicitly to deprecate it.
-
Since we cannot deprecate using statements, I changed all using statements for std type traits into thin wrapper classes that I then deprecated.
-
This is not needed anymore, as the testet type traits are directly imported from std:: and can thus be assumed to be correct.
-
-
-
-
-
-
Is ConstVolatileTraits still used anywhere? I would propose to deprecate it and replace it with std::is_volatile, std::is_const, std::remove_cv, etc.
-
-
-
-
They can be replaced by std::is_base_of, std::is_const and std::is_volatile, respectively.
-
-
Now that we require a C++11-compliant compiler, we can use the std type traits to construct our own.
-