|
Ne.app NeANT
The Ne.app NeANT User module of the NeANT distribution.
|
#include <algorithm>#include <cstring>#include <rw_alg_test.h>#include <rw_value.h>#include <rw_driver.h>
Go to the source code of this file.
Data Structures | |
| struct | EqualityPredicate< T, U > |
| class | EqualityPredicate< T, U >::ConvertibleToBool |
Macros | |
| #define | TEST(src, fnd, off_res) |
Functions | |
| _RWSTD_NAMESPACE (std) | |
| int | tinit () |
| template<class ForwardIterator1 , class ForwardIterator2 , class Predicate , class T > | |
| void | do_test (int line, const char *src, const char *fseq, std::size_t resoff, ForwardIterator1 &dummy_iter1, ForwardIterator2 &dummy_iter2, const T *, const Predicate *pred) |
| template<class ForwardIterator1 , class ForwardIterator2 , class Predicate , class T > | |
| void | run_tests (const ForwardIterator1 &dummy_iter1, const ForwardIterator2 &dummy_iter2, const T *, const Predicate *pred) |
| template<class ForwardIterator , class Predicate , class T > | |
| void | run_test (const ForwardIterator &dummy, T *, Predicate *pred) |
| int | main (int argc, char *argv[]) |
Variables | |
| int | rw_opt_no_fwd_iter |
| int | rw_opt_no_bidir_iter |
| int | rw_opt_no_rnd_iter |
| int | rw_opt_no_predicate |
| #define TEST | ( | src, | |
| fnd, | |||
| off_res | |||
| ) |
| _RWSTD_NAMESPACE | ( | std | ) |
find.first.cpp - test exercising 25.1.4 [lib.alg.find.first.of]
$Id$
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 1994-2006 Rogue Wave Software.
Definition at line 38 of file 25.find.first.cpp.
| void do_test | ( | int | line, |
| const char * | src, | ||
| const char * | fseq, | ||
| std::size_t | resoff, | ||
| ForwardIterator1 & | dummy_iter1, | ||
| ForwardIterator2 & | dummy_iter2, | ||
| const T * | , | ||
| const Predicate * | pred | ||
| ) |
Definition at line 104 of file 25.find.first.cpp.
| int main | ( | int | argc, |
| char * | argv[] | ||
| ) |
Definition at line 354 of file 25.find.first.cpp.
| void run_test | ( | const ForwardIterator & | dummy, |
| T * | , | ||
| Predicate * | pred | ||
| ) |
Definition at line 275 of file 25.find.first.cpp.
| void run_tests | ( | const ForwardIterator1 & | dummy_iter1, |
| const ForwardIterator2 & | dummy_iter2, | ||
| const T * | , | ||
| const Predicate * | pred | ||
| ) |
Definition at line 193 of file 25.find.first.cpp.
| int tinit | ( | ) |
Definition at line 93 of file 25.find.first.cpp.
| int rw_opt_no_bidir_iter |
Definition at line 269 of file 25.find.first.cpp.
| int rw_opt_no_fwd_iter |
Definition at line 268 of file 25.find.first.cpp.
| int rw_opt_no_predicate |
Definition at line 271 of file 25.find.first.cpp.
| int rw_opt_no_rnd_iter |
Definition at line 270 of file 25.find.first.cpp.