Hi all, i have examined code of RDcode. And i come across a defined function and i dont understand. Can you help me to this code.
template <typename T>
class argless {
public:
argless(const T& c) : container(c) {}; // i dont understant this line.
bool operator() (unsigned int v1,unsigned int v2){
return container[v1]<container[v2];
}
const T &container;
};