
A Reference to a Reference is Illegal
What is wrong with this code snippet? #include #include using std::string;using std::list;class Node {/*..*/};int main(){ list ln; //error} If you try to compile this example, your compiler will issue numerous compilation errors. The problem is that list has member functions that take or return T&. In other words, the compiler