Finally get the test suite passing in C++03!!
After months of work there are only 4 tests still failing in C++03. This patch fixes those tests. All of the libc++ builders should be green. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@246275 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -35,9 +35,9 @@ struct MySearcher {
|
||||
|
||||
int main() {
|
||||
typedef int * RI;
|
||||
static_assert(std::is_same<RI, decltype(std::experimental::search(RI(), RI(), MySearcher()))>::value, "" );
|
||||
static_assert((std::is_same<RI, decltype(std::experimental::search(RI(), RI(), MySearcher()))>::value), "" );
|
||||
|
||||
RI it{nullptr};
|
||||
RI it(nullptr);
|
||||
assert(it == std::experimental::search(it, it, MySearcher()));
|
||||
assert(searcher_called == 1);
|
||||
}
|
||||
|
Reference in New Issue
Block a user