Ne.app NeANT
The Ne.app NeANT User module of the NeANT distribution.
Data Structures | Macros | Functions | Variables
25.find.cpp File Reference
#include <algorithm>
#include <cstring>
#include <rw_alg_test.h>
#include <rw_value.h>
#include <rw_driver.h>
Include dependency graph for 25.find.cpp:

Go to the source code of this file.

Data Structures

struct  Predicate< T >
 
class  Predicate< T >::ConvertibleToBool
 

Macros

#define TEST(src, off_find)
 

Functions

 _RWSTD_NAMESPACE (std)
 
template<class InputIterator >
void test_find (int line, const char *src, std::size_t findoff, InputIterator dummy_iter, bool test_pred)
 
template<class InputIterator >
void test_find (InputIterator dummy_iter, bool test_pred)
 
int main (int argc, char *argv[])
 

Variables

int rw_opt_no_input_iter
 
int rw_opt_no_fwd_iter
 
int rw_opt_no_bidir_iter
 
int rw_opt_no_rnd_iter
 
int rw_opt_no_predicate
 

Macro Definition Documentation

◆ TEST

#define TEST (   src,
  off_find 
)
Value:
test_find (__LINE__, src, std::size_t (off_find), \
dummy_iter, test_pred)
void test_find(int line, const char *src, std::size_t findoff, InputIterator dummy_iter, bool test_pred)
Definition 25.find.cpp:94

Function Documentation

◆ _RWSTD_NAMESPACE()

_RWSTD_NAMESPACE ( std  )

find.cpp - test exercising 25.1.2 [lib.alg.find]

$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 2000-2006 Rogue Wave Software.

Definition at line 38 of file 25.find.cpp.

◆ main()

int main ( int  argc,
char *  argv[] 
)

Definition at line 274 of file 25.find.cpp.

◆ test_find() [1/2]

template<class InputIterator >
void test_find ( InputIterator  dummy_iter,
bool  test_pred 
)

Definition at line 168 of file 25.find.cpp.

◆ test_find() [2/2]

template<class InputIterator >
void test_find ( int  line,
const char *  src,
std::size_t  findoff,
InputIterator  dummy_iter,
bool  test_pred 
)

Definition at line 94 of file 25.find.cpp.

Variable Documentation

◆ rw_opt_no_bidir_iter

int rw_opt_no_bidir_iter

Definition at line 209 of file 25.find.cpp.

◆ rw_opt_no_fwd_iter

int rw_opt_no_fwd_iter

Definition at line 208 of file 25.find.cpp.

◆ rw_opt_no_input_iter

int rw_opt_no_input_iter

Definition at line 207 of file 25.find.cpp.

◆ rw_opt_no_predicate

int rw_opt_no_predicate

Definition at line 211 of file 25.find.cpp.

◆ rw_opt_no_rnd_iter

int rw_opt_no_rnd_iter

Definition at line 210 of file 25.find.cpp.