Commit 2521a4fb authored by Timo Koch's avatar Timo Koch
Browse files

[doc] Advertise [[deprecated(msg)]] instead of old Dune macro

parent 81eb9d7a
......@@ -87,9 +87,9 @@ struct HasNewCoolMethodIF
template<class A, class B
typename std::enable_if_t<!decltype(isValid(HasNewCoolMethodIF<B>()).template check<A>())::value, int> = 0>
auto DUNE_DEPRECATED_MSG("Use new coolMethod() interface that additionally receives
the object b! This will be removed after 3.n release")
coolMethod(const A a, const B b)
[[deprecated("Use new coolMethod() interface that additionally receives
the object b! This will be removed after 3.n release")]]
auto coolMethod(const A a, const B b)
{ return a.coolMethod(); }
template<class A, class B,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment