|
Ne.app NeANT
The Ne.app NeANT User module of the NeANT distribution.
|
#include <rw/_config.h>#include <algorithm>#include <deque>#include <functional>#include <iterator>#include <list>#include <map>#include <set>#include <string>#include <vector>#include <utility>#include <cstddef>#include <rw_driver.h>
Go to the source code of this file.
Data Structures | |
| struct | UnaryPredicate< T > |
| struct | BinaryPredicate< T > |
| struct | RandomNumberGenerator< T > |
| struct | Generator< T > |
| struct | UnaryFunction< T > |
| struct | BinaryFunction< T > |
Macros | |
| #define | FUN(ignore, result, name, arg_list) |
| #define | TEST_INEQUALITY(T) |
| #define | TEST_OPERATORS(T) |
| #define | TEST_INPUT_ITERATORS(T) |
| #define | TEST_OUTPUT_ITERATORS(T) |
| #define | TEST_FORWARD_ITERATORS(T) |
| #define | TEST_BIDIRECTIONAL_ITERATORS(T) |
| #define | TEST_RANDOM_ACCESS_ITERATORS(T) |
Functions | |
| _USING (namespace std) | |
| _USING (namespace std::rel_ops) | |
| template<class Container , class RandomAccessIterator > | |
| void | test_iterator (Container, RandomAccessIterator) |
| template<class Container > | |
| void | test_iterator (Container, int *) |
| template<class T , class InputIterator > | |
| void | test_input_iterators (T, InputIterator) |
| template<class T , class OutputIterator > | |
| void | test_output_iterators (T, OutputIterator) |
| template<class T , class ForwardIterator > | |
| void | test_forward_iterators (T, ForwardIterator) |
| template<class T , class BidirectionalIterator > | |
| void | test_bidirectional_iterators (T, BidirectionalIterator) |
| template<class T , class RandomAccessIterator > | |
| void | test_random_access_iterators (T, RandomAccessIterator) |
| int | main (int argc, char *argv[]) |
Definition at line 95 of file 20.operators.cpp.
| #define TEST_BIDIRECTIONAL_ITERATORS | ( | T | ) |
| #define TEST_FORWARD_ITERATORS | ( | T | ) |
| #define TEST_INEQUALITY | ( | T | ) |
Definition at line 113 of file 20.operators.cpp.
| #define TEST_INPUT_ITERATORS | ( | T | ) |
| #define TEST_OPERATORS | ( | T | ) |
Definition at line 119 of file 20.operators.cpp.
| #define TEST_OUTPUT_ITERATORS | ( | T | ) |
| #define TEST_RANDOM_ACCESS_ITERATORS | ( | T | ) |
| _USING | ( | namespace | std | ) |
20.operators.cpp - test exercising [lib.operators]
$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.
| _USING | ( | namespace std::rel_ops | ) |
| int main | ( | int | argc, |
| char * | argv[] | ||
| ) |
Definition at line 522 of file 20.operators.cpp.
| void test_bidirectional_iterators | ( | T | , |
| BidirectionalIterator | |||
| ) |
Definition at line 358 of file 20.operators.cpp.
| void test_forward_iterators | ( | T | , |
| ForwardIterator | |||
| ) |
Definition at line 297 of file 20.operators.cpp.
| void test_input_iterators | ( | T | , |
| InputIterator | |||
| ) |
Definition at line 206 of file 20.operators.cpp.
| void test_iterator | ( | Container | , |
| int * | |||
| ) |
Definition at line 143 of file 20.operators.cpp.
| void test_iterator | ( | Container | , |
| RandomAccessIterator | |||
| ) |
Definition at line 136 of file 20.operators.cpp.
| void test_output_iterators | ( | T | , |
| OutputIterator | |||
| ) |
Definition at line 244 of file 20.operators.cpp.
| void test_random_access_iterators | ( | T | , |
| RandomAccessIterator | |||
| ) |
Definition at line 390 of file 20.operators.cpp.