coord/traits: add value_trait specialisation for vector
This commit is contained in:
parent
34a69f5656
commit
f6b1f47e23
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user