Does incrementing in initializer list generate undefined behavior? – stackoverflow.com 06:31 Posted by Unknown No Comments I was wondering if this generates undefined behaviour: class Wrinkle { public: Wrinkle(int i) : a(++i), b(++i), x(++i) {} private: int a; int x; int b; }; Specifically, the ... from Hot Questions - Stack Exchange OnStackOverflow via Blogspot Share this Unknown
0 Comment to "Does incrementing in initializer list generate undefined behavior? – stackoverflow.com"
Post a Comment