[libcxx] Add <experimental/utility> header for LFTS.
authorEric Fiselier <eric@efcs.ca>
Thu, 17 Jul 2014 05:31:31 +0000 (05:31 +0000)
committerEric Fiselier <eric@efcs.ca>
Thu, 17 Jul 2014 05:31:31 +0000 (05:31 +0000)
commit531d8b2bc41f6b61bb2ff5c8b4fef1aa6703211a
tree2d8245b53a3c85804339f9f9e7ff1e8aad9b3632
parent371aac1adbf23404a1e9472a2d40139c993c84c1
[libcxx] Add <experimental/utility> header for LFTS.

Summary:
This patch adds the `<experimental/utility>` header as specified in the latest draft of the library fundamentals TS.

`<experimental/utility>` only contains `class erased_type`.

This patch also updates the documentation to list the `erased_type` class as "initial implementation complete".

Test Plan:
Three test cases where added:

1. Test that `_LIBCPP_VERSION` is defined.
2. Test that `<utility>` has been included.
3. Test that `erased_type` is in the correct namespace and is constexpr default constructible.

Reviewers: mclow.lists

Reviewed By: mclow.lists

Subscribers: cfe-commits

Differential Revision: http://reviews.llvm.org/D4510

llvm-svn: 213226
libcxx/include/experimental/utility [new file with mode: 0644]
libcxx/test/experimental/utilities/nothing_to_do.pass.cpp [new file with mode: 0644]
libcxx/test/experimental/utilities/utility/utility.erased.type/erased_type.pass.cpp [new file with mode: 0644]
libcxx/test/experimental/utilities/utility/utility.synop/includes.pass.cpp [new file with mode: 0644]
libcxx/test/experimental/utilities/utility/version.pass.cpp [new file with mode: 0644]
libcxx/www/ts1z_status.html