Skip to content
Snippets Groups Projects
Commit ef10c821 authored by Felix Gruber's avatar Felix Gruber Committed by Christoph Grüninger
Browse files

deprecate IsBaseOf, IsConst and IsVolatile

They can be replaced by std::is_base_of, std::is_const and
std::is_volatile, respectively.
parent a001824a
Branches
Tags
No related merge requests found
......@@ -85,7 +85,7 @@ namespace Dune
/** @brief Tests wether a type is volatile. */
template<typename T>
struct IsVolatile
struct DUNE_DEPRECATED_MSG("Use std::is_volatile instead!") IsVolatile
{
enum {
/** @brief True if The type is volatile. */
......@@ -95,7 +95,7 @@ namespace Dune
/** @brief Tests wether a type is constant. */
template<typename T>
struct IsConst
struct DUNE_DEPRECATED_MSG("Use std::is_const instead!") IsConst
{
enum {
/** @brief True if The type is constant. */
......@@ -133,7 +133,7 @@ namespace Dune
* @tparam Derived type you want to test
*/
template <class Base, class Derived>
class IsBaseOf
class DUNE_DEPRECATED_MSG("Use std::is_base_of instead!") IsBaseOf
{
public:
enum {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment