Ne.app NeANT
The Ne.app NeANT User module of the NeANT distribution.
Data Structures | Macros | Functions | Variables
25.includes.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.includes.cpp:

Go to the source code of this file.

Data Structures

struct  Less< T >
 

Macros

#define TEST(src1, src2, res)    test_includes (__LINE__, src1, src2, res, it1, it2, (T*)0, ppred)
 

Functions

 _RWSTD_NAMESPACE (std)
 
template<class T , class InputIterator1 , class InputIterator2 , class Predicate >
void test_includes (int line, const char *src1, const char *src2, const bool res, const InputIterator1 &it1, const InputIterator2 &it2, const T *, const Predicate *ppred)
 
template<class T , class InputIterator1 , class InputIterator2 , class Predicate >
void test_includes (const InputIterator1 &it1, const InputIterator2 &it2, const T *, const Predicate *ppred)
 
template<class T , class InputIterator1 , class Predicate >
void test_includes (const InputIterator1 &it1, const T *, const Predicate *ppred)
 
template<class T , class Predicate >
void test_includes (const T *, const Predicate *ppred)
 
int main (int argc, char *argv[])
 

Variables

int rw_opt_no_predicate
 
int rw_opt_no_input_iter
 
int rw_opt_no_fwd_iter
 
int rw_opt_no_bidir_iter
 
int rw_opt_no_rnd_iter
 

Macro Definition Documentation

◆ TEST

#define TEST (   src1,
  src2,
  res 
)     test_includes (__LINE__, src1, src2, res, it1, it2, (T*)0, ppred)

Function Documentation

◆ _RWSTD_NAMESPACE()

_RWSTD_NAMESPACE ( std  )

25.includes.cpp - test exercising 25.3.5.1 [lib.includes]

$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.includes.cpp.

◆ main()

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

Definition at line 323 of file 25.includes.cpp.

◆ test_includes() [1/4]

template<class T , class InputIterator1 , class InputIterator2 , class Predicate >
void test_includes ( const InputIterator1 &  it1,
const InputIterator2 &  it2,
const T *  ,
const Predicate *  ppred 
)

Definition at line 156 of file 25.includes.cpp.

◆ test_includes() [2/4]

template<class T , class InputIterator1 , class Predicate >
void test_includes ( const InputIterator1 &  it1,
const T *  ,
const Predicate *  ppred 
)

Definition at line 219 of file 25.includes.cpp.

◆ test_includes() [3/4]

template<class T , class Predicate >
void test_includes ( const T *  ,
const Predicate *  ppred 
)

Definition at line 260 of file 25.includes.cpp.

◆ test_includes() [4/4]

template<class T , class InputIterator1 , class InputIterator2 , class Predicate >
void test_includes ( int  line,
const char *  src1,
const char *  src2,
const bool  res,
const InputIterator1 &  it1,
const InputIterator2 &  it2,
const T *  ,
const Predicate *  ppred 
)

Definition at line 93 of file 25.includes.cpp.

Variable Documentation

◆ rw_opt_no_bidir_iter

int rw_opt_no_bidir_iter

Definition at line 213 of file 25.includes.cpp.

◆ rw_opt_no_fwd_iter

int rw_opt_no_fwd_iter

Definition at line 212 of file 25.includes.cpp.

◆ rw_opt_no_input_iter

int rw_opt_no_input_iter

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

◆ rw_opt_no_predicate

int rw_opt_no_predicate

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

◆ rw_opt_no_rnd_iter

int rw_opt_no_rnd_iter

Definition at line 214 of file 25.includes.cpp.