piranha
0.10
|
Type trait to detect the presence of the trigonometric substitution method in keys. More...
#include <piranha/math.hpp>
Static Public Attributes | |
static const bool | value = implementation_defined |
Value of the type trait. | |
Type trait to detect the presence of the trigonometric substitution method in keys.
This type trait will be true
if Key
is a key type providing a method with the following signature:
where R
is any type and uncvref_t<Key>
is Key
without cv/reference qualifiers. The t_subs()
methods represents the substitution of a symbol with its cosine and sine passed as instances of T
and U
respectively.
If Key
does not satisfy piranha::is_key, after the removal of cv/reference qualifiers, a compilation error will be produced.