-
-
Notifications
You must be signed in to change notification settings - Fork 219
Closed
Description
logical indexing, ie NumericVector[ LogicalVector ]
.
We should flip the problem and delegate the responsability of extracting to a class. For example do something like this;
template <typename T>
Extractor<Vector,T> operator[]( const T& x) ;
So that we define the meaning in a separate class Extractor
or something. This way we would just have to redefine Extractor
when we want to handle a new extractor type.