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

Go to the source code of this file.

Macros

#define TEST(src, fnd, off_res)
 

Functions

 _RWSTD_NAMESPACE (std)
 
int tinit ()
 
template<class ForwardIterator1 , class ForwardIterator2 , 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 char *predicate)
 
template<class ForwardIterator1 , class ForwardIterator2 , class T >
void run_tests (const ForwardIterator1 &dummy_iter1, const ForwardIterator2 &dummy_iter2, const T *, const char *predicate)
 
template<class ForwardIterator , class T >
void run_test_find_end (const ForwardIterator &dummy, T *, const char *predicate)
 
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
 

Macro Definition Documentation

◆ TEST

#define TEST (   src,
  fnd,
  off_res 
)
Value:
do_test (__LINE__, src, fnd, std::size_t (off_res), \
dummy_iter1, dummy_iter2, (UserClass*)0, predicate)
void do_test(int line, const char *src, std::size_t resoff, ForwardIterator dummy_iter, const T *, const char *predname)

Function Documentation

◆ _RWSTD_NAMESPACE()

_RWSTD_NAMESPACE ( std  )

find_end.cpp - test exercising 25.1.3 [lib.alg.find.end]

$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 39 of file 25.find.end.cpp.

◆ do_test()

template<class ForwardIterator1 , class ForwardIterator2 , 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 char *  predicate 
)

Definition at line 73 of file 25.find.end.cpp.

◆ main()

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

Definition at line 331 of file 25.find.end.cpp.

◆ run_test_find_end()

template<class ForwardIterator , class T >
void run_test_find_end ( const ForwardIterator &  dummy,
T *  ,
const char *  predicate 
)

Definition at line 253 of file 25.find.end.cpp.

◆ run_tests()

template<class ForwardIterator1 , class ForwardIterator2 , class T >
void run_tests ( const ForwardIterator1 &  dummy_iter1,
const ForwardIterator2 &  dummy_iter2,
const T *  ,
const char *  predicate 
)

Definition at line 182 of file 25.find.end.cpp.

◆ tinit()

int tinit ( )

Definition at line 63 of file 25.find.end.cpp.

Variable Documentation

◆ rw_opt_no_bidir_iter

int rw_opt_no_bidir_iter

Definition at line 247 of file 25.find.end.cpp.

◆ rw_opt_no_fwd_iter

int rw_opt_no_fwd_iter

Definition at line 246 of file 25.find.end.cpp.

◆ rw_opt_no_predicate

int rw_opt_no_predicate

Definition at line 249 of file 25.find.end.cpp.

◆ rw_opt_no_rnd_iter

int rw_opt_no_rnd_iter

Definition at line 248 of file 25.find.end.cpp.