From e7154709e02a388db2d8dce91860f2452f4145e0 Mon Sep 17 00:00:00 2001 From: Eric Fiselier Date: Sun, 28 Aug 2016 22:14:37 +0000 Subject: Implement C++17 std::sample. This patch implements the std::sample function added to C++17 from LFTS. It also removes the std::experimental::sample implementation which now forwards to std::sample. llvm-svn: 279948 --- libcxx/test/support/test_iterators.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libcxx/test/support') diff --git a/libcxx/test/support/test_iterators.h b/libcxx/test/support/test_iterators.h index fb5c06ad943..379933eb51b 100644 --- a/libcxx/test/support/test_iterators.h +++ b/libcxx/test/support/test_iterators.h @@ -57,7 +57,7 @@ template class input_iterator { - using Traits = std::iterator_traits; + typedef std::iterator_traits Traits; It it_; template friend class input_iterator; -- cgit v1.2.3