piranha  0.10
Static Public Attributes | List of all members
piranha::has_cosine< T > Class Template Reference

Type trait to detect piranha::math::cos(). More...

#include <piranha/math.hpp>

Inherits piranha::detail::sfinae_types.

Static Public Attributes

static const bool value = std::is_same<decltype(test(std::declval<T>())), yes>::value
 Value of the type trait.
 

Detailed Description

template<typename T>
class piranha::has_cosine< T >

Type trait to detect piranha::math::cos().

The type trait will be true if piranha::math::cos() can be used on instances of type T, false otherwise.

Definition at line 2473 of file math.hpp.


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