|
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 | RotateTag |
| struct | RotateCopyTag |
| struct | NoIterator |
Macros | |
| #define | TEST(src, middle) test_rotate (__LINE__, src, middle, it1, it2, (T*)0, tag) |
Functions | |
| _RWSTD_NAMESPACE (std) | |
| const char * | type_name (NoIterator, const UserClass *) |
| template<class Iterator , class T > | |
| void | test_rotate (int line, const char *src, std::size_t midnsrc, Iterator it, NoIterator, const T *, RotateTag) |
| template<class Iterator , class OutputIterator , class T > | |
| void | test_rotate (int line, const char *src, std::size_t midnsrc, Iterator it, OutputIterator dummy, const T *, RotateCopyTag) |
| template<class Iterator1 , class Iterator2 , class T , class Tag > | |
| void | test_rotate (Iterator1 it1, Iterator2 it2, const T *, Tag tag) |
| template<class T , class Tag > | |
| void | test_rotate (const T *, Tag tag) |
| template<class RotateIterator , class T , class Tag > | |
| void | test_rotate_copy (RotateIterator it, const T *, Tag tag) |
| template<class T , class Tag > | |
| void | test_rotate_copy (const T *, Tag tag) |
| int | main (int argc, char *argv[]) |
Variables | |
| unsigned | iter_swap_calls |
| int | rw_opt_no_rotate |
| int | rw_opt_no_rotate_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, | |
| middle | |||
| ) | test_rotate (__LINE__, src, middle, it1, it2, (T*)0, tag) |
| _RWSTD_NAMESPACE | ( | std | ) |
25.rotate.cpp - test exercising 25.2.10 [lib.alg.rotate]
$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 37 of file 25.rotate.cpp.
| int main | ( | int | argc, |
| char * | argv[] | ||
| ) |
Definition at line 438 of file 25.rotate.cpp.
Definition at line 317 of file 25.rotate.cpp.
| void test_rotate | ( | int | line, |
| const char * | src, | ||
| std::size_t | midnsrc, | ||
| Iterator | it, | ||
| NoIterator | , | ||
| const T * | , | ||
| RotateTag | |||
| ) |
Definition at line 129 of file 25.rotate.cpp.
| void test_rotate | ( | int | line, |
| const char * | src, | ||
| std::size_t | midnsrc, | ||
| Iterator | it, | ||
| OutputIterator | dummy, | ||
| const T * | , | ||
| RotateCopyTag | |||
| ) |
Definition at line 193 of file 25.rotate.cpp.
| void test_rotate | ( | Iterator1 | it1, |
| Iterator2 | it2, | ||
| const T * | , | ||
| Tag | tag | ||
| ) |
Definition at line 261 of file 25.rotate.cpp.
Definition at line 382 of file 25.rotate.cpp.
| void test_rotate_copy | ( | RotateIterator | it, |
| const T * | , | ||
| Tag | tag | ||
| ) |
Definition at line 348 of file 25.rotate.cpp.
| const char * type_name | ( | NoIterator | , |
| const UserClass * | |||
| ) |
Definition at line 76 of file 25.rotate.cpp.
| unsigned iter_swap_calls |
Definition at line 84 of file 25.rotate.cpp.
| int rw_opt_no_bidir_iter |
Definition at line 312 of file 25.rotate.cpp.
| int rw_opt_no_fwd_iter |
Definition at line 311 of file 25.rotate.cpp.
| int rw_opt_no_output_iter |
Definition at line 310 of file 25.rotate.cpp.
| int rw_opt_no_rnd_iter |
Definition at line 313 of file 25.rotate.cpp.
| int rw_opt_no_rotate |
Definition at line 308 of file 25.rotate.cpp.
| int rw_opt_no_rotate_copy |
Definition at line 309 of file 25.rotate.cpp.