i have a template
template<typena me Sclass Indexer{};
i want to have a specialization for std::vector both const & non const
version.
template<typena me T,typename Aclass Indexer<std::ve ctor<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,Ac onst & non const.
thanks
abir
template<typena me Sclass Indexer{};
i want to have a specialization for std::vector both const & non const
version.
template<typena me T,typename Aclass Indexer<std::ve ctor<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,Ac onst & non const.
thanks
abir
Comment