piranha  0.10
Static Public Attributes | List of all members
piranha::key_has_t_subs< Key, T, U > Class Template Reference

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.
 

Detailed Description

template<typename Key, typename T, typename U>
class piranha::key_has_t_subs< Key, T, U >

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:

std::vector<std::pair<R,uncvref_t<Key>>> t_subs(const symbol_idx &, const T &, const U &, const symbol_fset &) const;

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.

Definition at line 2328 of file math.hpp.


The documentation for this class was generated from the following file: