[PATCH] D19280: Include initializer_list from utility

Ben Craig via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 19 12:50:35 PDT 2016

bcraig created this revision.
bcraig added reviewers: mclow.lists, EricWF, howard.hinnant.
bcraig added a subscriber: cfe-commits.

The C++11 and C++14 standards both say in the header <utility> synopsis that <utility> shall include <initializer_list>.



Index: include/utility
--- include/utility
+++ include/utility
@@ -178,6 +178,7 @@
 #include <__config>
 #include <__tuple>
 #include <type_traits>
+#include <initializer_list>
 #pragma GCC system_header

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D19280.54244.patch
Type: text/x-patch
Size: 325 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160419/f117a200/attachment.bin>

More information about the cfe-commits mailing list