|
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 | ReverseTag |
| struct | ReverseCopyTag |
| struct | NoIterator |
Macros | |
| #define | TEST(src) test_reverse (__LINE__, src, it1, it2, (T*)0, tag) |
Functions | |
| _RWSTD_NAMESPACE (std) | |
| const char * | type_name (NoIterator, const UserClass *) |
| template<class Iterator , class T > | |
| void | test_reverse (int line, const char *src, Iterator dummy, NoIterator, const T *, ReverseTag) |
| template<class Iterator , class OutputIterator , class T > | |
| void | test_reverse (int line, const char *src, Iterator &it, OutputIterator &, const T *, ReverseCopyTag) |
| template<class Iterator1 , class Iterator2 , class T , class Tag > | |
| void | test_reverse (Iterator1 it1, Iterator2 it2, const T *, Tag tag) |
| template<class T , class Tag > | |
| void | test_reverse (const T *, Tag tag) |
| template<class ReverseIterator , class T , class Tag > | |
| void | test_reverse_copy (ReverseIterator it, const T *, Tag tag) |
| template<class T , class Tag > | |
| void | test_reverse_copy (const T *, Tag tag) |
| int | main (int argc, char *argv[]) |
Variables | |
| unsigned | iter_swap_calls |
| int | rw_opt_no_reverse |
| int | rw_opt_no_reverse_copy |
| int | rw_opt_no_output_iter |
| int | rw_opt_no_fwd_iter |
| int | rw_opt_no_bidir_iter |
| int | rw_opt_no_rnd_iter |
| #define TEST | ( | src | ) | test_reverse (__LINE__, src, it1, it2, (T*)0, tag) |
| _RWSTD_NAMESPACE | ( | std | ) |
25.reverse.cpp - test exercising 25.2.9 [lib.alg.reverse]
$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.reverse.cpp.
| int main | ( | int | argc, |
| char * | argv[] | ||
| ) |
Definition at line 398 of file 25.reverse.cpp.
Definition at line 291 of file 25.reverse.cpp.
| void test_reverse | ( | int | line, |
| const char * | src, | ||
| Iterator & | it, | ||
| OutputIterator & | , | ||
| const T * | , | ||
| ReverseCopyTag | |||
| ) |
Definition at line 174 of file 25.reverse.cpp.
| void test_reverse | ( | int | line, |
| const char * | src, | ||
| Iterator | dummy, | ||
| NoIterator | , | ||
| const T * | , | ||
| ReverseTag | |||
| ) |
Definition at line 114 of file 25.reverse.cpp.
| void test_reverse | ( | Iterator1 | it1, |
| Iterator2 | it2, | ||
| const T * | , | ||
| Tag | tag | ||
| ) |
Definition at line 235 of file 25.reverse.cpp.
Definition at line 349 of file 25.reverse.cpp.
| void test_reverse_copy | ( | ReverseIterator | it, |
| const T * | , | ||
| Tag | tag | ||
| ) |
Definition at line 315 of file 25.reverse.cpp.
| const char * type_name | ( | NoIterator | , |
| const UserClass * | |||
| ) |
Definition at line 74 of file 25.reverse.cpp.
| unsigned iter_swap_calls |
Definition at line 81 of file 25.reverse.cpp.
| int rw_opt_no_bidir_iter |
Definition at line 286 of file 25.reverse.cpp.
| int rw_opt_no_fwd_iter |
Definition at line 285 of file 25.reverse.cpp.
| int rw_opt_no_output_iter |
Definition at line 284 of file 25.reverse.cpp.
| int rw_opt_no_reverse |
Definition at line 282 of file 25.reverse.cpp.
| int rw_opt_no_reverse_copy |
Definition at line 283 of file 25.reverse.cpp.
| int rw_opt_no_rnd_iter |
Definition at line 287 of file 25.reverse.cpp.