Loading [MathJax]/extensions/tex2jax.js
SyTen
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages

◆ hasMember() [1/2]

template<typename T , std::size_t rank>
bool syten::hasMember ( std::array< T, rank > const &  v,
T const &  e 
)

Returns true if the array has an element comparing equal to the second argument.

Parameters
vthe haystack
ethe needle
Returns
true if e in v, false otherwise.