This is an archive of the discontinued LLVM Phabricator instance.

Include initializer_list from utility
ClosedPublic

Authored by bcraig on Apr 19 2016, 12:50 PM.

Details

Summary

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

Diff Detail

Event Timeline

bcraig updated this revision to Diff 54244.Apr 19 2016, 12:50 PM
bcraig retitled this revision from to Include initializer_list from utility.
bcraig updated this object.
bcraig added a subscriber: cfe-commits.
EricWF accepted this revision.Apr 19 2016, 12:54 PM
EricWF edited edge metadata.

LGTM. Thanks.

Could you commit this with a new test test/std/utilities/utility/synopsis.pass.cpp which checks for the presence of initializer list?

This revision is now accepted and ready to land.Apr 19 2016, 12:54 PM
bcraig closed this revision.Apr 19 2016, 1:20 PM

Test added. r266808