Move <dynarray> into include/experimental, and into the std::experimental namespace, since it's not part of C++14, but of an upcoming TS
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@194614 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -17,12 +17,14 @@
|
||||
|
||||
#if _LIBCPP_STD_VER > 11
|
||||
|
||||
#include <dynarray>
|
||||
#include <experimental/dynarray>
|
||||
#include "../../../test_allocator.h"
|
||||
|
||||
using std::experimental::dynarray;
|
||||
|
||||
int main()
|
||||
{
|
||||
static_assert ( std::uses_allocator<std::dynarray<int>, test_allocator<int>>::value, "" );
|
||||
static_assert ( std::uses_allocator<dynarray<int>, test_allocator<int>>::value, "" );
|
||||
}
|
||||
#else
|
||||
int main() {}
|
||||
|
||||
Reference in New Issue
Block a user