A
abir
i have a template
template<typename S> class Indexer{};
i want to have a specialization for std::vector both const & non const
version.
template<typename T,typename A> class Indexer<std::vector<T,A> > {}
matches only with nonconst version. anyway to match it for both? and
get if it is const or nonconst?
Actually i want 2 specialization, one for std::vector<T,A> const & non
const other for std::deque<T,A> const & non const.
thanks
abir
template<typename S> class Indexer{};
i want to have a specialization for std::vector both const & non const
version.
template<typename T,typename A> class Indexer<std::vector<T,A> > {}
matches only with nonconst version. anyway to match it for both? and
get if it is const or nonconst?
Actually i want 2 specialization, one for std::vector<T,A> const & non
const other for std::deque<T,A> const & non const.
thanks
abir