diff options
Diffstat (limited to 'test/std/utilities/tuple/tuple.general/tuple.smartptr.pass.cpp')
-rw-r--r-- | test/std/utilities/tuple/tuple.general/tuple.smartptr.pass.cpp | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/test/std/utilities/tuple/tuple.general/tuple.smartptr.pass.cpp b/test/std/utilities/tuple/tuple.general/tuple.smartptr.pass.cpp index 1d8be420d837..d1b974c50753 100644 --- a/test/std/utilities/tuple/tuple.general/tuple.smartptr.pass.cpp +++ b/test/std/utilities/tuple/tuple.general/tuple.smartptr.pass.cpp @@ -21,18 +21,13 @@ int main () { std::tuple<std::unique_ptr<char>> up; std::tuple<std::shared_ptr<char>> sp; std::tuple<std::weak_ptr <char>> wp; -// std::tuple<std::auto_ptr <char>> ap; } { std::tuple<std::unique_ptr<char[]>> up; std::tuple<std::shared_ptr<char[]>> sp; std::tuple<std::weak_ptr <char[]>> wp; -// std::tuple<std::auto_ptr <char[]>> ap; } - { - std::tuple<std::unique_ptr<char[5]>> up; - std::tuple<std::shared_ptr<char[5]>> sp; - std::tuple<std::weak_ptr <char[5]>> wp; -// std::tuple<std::auto_ptr <char[5]>> ap; - } -}
\ No newline at end of file + // Smart pointers of type 'T[N]' are not tested here since they are not + // supported by the standard nor by libc++'s implementation. + // See http://reviews.llvm.org/D21320 for more information. +} |