History log of /external/libcxx/test/containers/unord/unord.multiset/unord.multiset.swap/db_swap_1.pass.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
5e57142c5902c3f73a6fdcb8cab55e88ffb43a56 23-Aug-2013 Howard Hinnant <hhinnant@apple.com> Rename _LIBCPP_DEBUG2 to _LIBCPP_DEBUG.

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@189140 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/test/containers/unord/unord.multiset/unord.multiset.swap/db_swap_1.pass.cpp
0bb0a7c9ea7dc2852c9bfb38584f4673ada25e2a 29-Jul-2013 Howard Hinnant <hhinnant@apple.com> Debug mode for unordered_multiset. The exercise spotted a few places I had missed on unordered_set, so I picked those up as well.

There are actually two debug modes:

1. -D_LIBCPP_DEBUG2 or -D_LIBCPP_DEBUG2=1
This is a relatively expensive debug mode, but very thorough. This is normally what you want to debug with, but may turn O(1) operations into O(N) operations.

2. -D_LIBCPP_DEBUG2=0
This is "debug lite." Only preconditions that can be checked with O(1) expense are checked. For example range checking on an indexing operation. But not iterator validity.

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@187369 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/test/containers/unord/unord.multiset/unord.multiset.swap/db_swap_1.pass.cpp