initializer-list-constructor in vc11(Visual Studio 2012)

2014-11-19 Nie.Meining Life

As we all know that C++11 has been added some amazing features, among which the initializer-list-constructor definitely makes our coding-lives easier. But today when compiling some code on VC11, I encountered a strange problem. The compiler complained that the header file <initializer_list> could not be found. It's very confusing. Then I searched the Internet, found this RIDICULOUS answer from Microsoft development:
"We've fixed it by deleting <initializer_list> from VC11."
Oh! Thank you so much! Your solution is perfect! Hahaha...

评论(94) 浏览(34097)


2014-11-19 Nie.Meining Debug





评论(3) 浏览(8494)

Powered by emlog