Closed mtnpke closed 10 months ago
Just curious, are you compiling without any std library implementation at all? EA_HAVE_CPP11_INITIALIZER_LIST
is 1 by default.
Yes. I am compiling in kernel mode without any STL implementation (besides EASTL).
Just wondering, is there anything else holding up the merge of this PR? I believe every question was addressed.
Apologies, it seems this fell off our radar. Thanks for answering our questions, this is OK to merge.
The C++ standard does not define how the implementation constructs initializer_list instances from the actual lists. Many compilers seem to use the pointer and size method that EASTL implements, but not MSVC. It uses two pointers (the other obvious way to do it). This PR implements the corresponding constructor to make intializer_list compatible with MSVC.