Hello,
I'd like to create container agnostic view for data, so that I can iterate over all or somehow filtered items. I'd like to be container agnostic, because I use sometimes std::vector, std::list, etc.

Example:
Code:
std::vector<CustomClass> dataVec;
std::list<CustomClass> dataList;

View<CustomClass> viewForVec(dataVec);
View<CustomClass> viewForList(dataList);

for(auto & data: viewForVec) {
    doSth();
}
Now, I have no idea how to get it done. Maybe anyone of you could give me some hints about it.