mxlib
c++ tools for analyzing astronomical data and other tasks by Jared R. Males. [git repo]
|
Check whether a type is std::vector or not.
First resolves whether the type as a typedef value_type. If not, then member value will be false. If it does have a member type value_type, then it uses std::is_same to compare the type to std::vector. Then value is equal to std::is_same<T, std::vector<typenameT::value_type>>::value.
T | is the type to evaulate for vector-ness. |
has_value_type | is a boolean type based on has_value_type SFINAE test. |
Definition at line 70 of file typeTraits.hpp.