After installing Visual Studio 2012 Update 2 CTP 4 (March), this code does not compile:
vector<int> b = {1, 2, 3};
with the following error message:
'std::vector<_Ty>' : Types with a base are not aggregate
Previously, reporting the same issue with the previous CTP was mentioned using the initializer_list header, but CTP 4 did not install it. Any suggestions for fixing it?
source share