This forum has migrated to Microsoft Q&A. Visit Microsoft Q&A to post new questions.
"Find an example where it would make sense to use a name in its own initializer."I believe the author is referring to an initialization like this :int x = x;
I tried the example given inhttp://stackoverflow.com/questions/1180805/tcpl-5-9-9-c-where-would-it-make-sense-to-use-a-name-in-its-own-initializeras the answer, but it didn't compile (C2065 : 'n' : undeclared identifier)class Node{ public: Node(Node* next): next(next){} private: Node* next;};
int