Skip to content
Snippets Groups Projects
Commit cc3fcfae authored by Christoph Grüninger's avatar Christoph Grüninger
Browse files

Remove deprecated SelectType.

Use conditional instead.
parent c47bd115
No related branches found
No related tags found
No related merge requests found
......@@ -373,34 +373,6 @@ namespace Dune
};
#endif
/**
* @brief Select a type based on a condition.
*
* If template parameter first is true T1 is selected
* otherwise T2 will be selected.
* The selected type is accessible through the typedef
* Type.
*
* \deprecated Will be removed after dune-common-2.3, use 'conditional' instead.
*/
template<bool first, class T1, class T2>
struct SelectType
{
/**
* @brief The selected type.
*
* if first is true this will be type T1 and
* otherwise T2
*/
typedef T1 Type DUNE_DEPRECATED_MSG("Use Dune::conditional::type instead");
} DUNE_DEPRECATED;
template<class T1, class T2>
struct SelectType<false,T1,T2>
{
typedef T2 Type DUNE_DEPRECATED_MSG("Use Dune::conditional::type instead");
};
#if DOXYGEN || !HAVE_STD_CONDITIONAL
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment