coord/traits: add value_trait specialisation for vector

This commit is contained in:
Danny Robson 2019-05-21 17:44:18 +10:00
parent 34a69f5656
commit f6b1f47e23

View File

@ -225,6 +225,10 @@ namespace cruft {
struct value_trait<cruft::point<S,T>>
{ using value_type = T; };
template <size_t S, typename T>
struct value_trait<cruft::vector<S,T>>
{ using value_type = T; };
//-------------------------------------------------------------------------
template <typename OuterT>