|
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.
Macros | |
| #define | TEST(seq) |
| #define | TEST(seq1, seq2) |
Functions | |
| _RWSTD_NAMESPACE (std) | |
| template<class T , class ForwardIterator1 , class ForwardIterator2 > | |
| void | test_iter_swap (int line, const char *seq, ForwardIterator1, ForwardIterator2, const T *, bool it_swap, const char *it1name, const char *it2name, const char *fname) |
| template<class T , class ForwardIterator1 , class ForwardIterator2 > | |
| void | test_iter_swap (ForwardIterator1 it1, ForwardIterator2 it2, const T *, bool it_swap) |
| template<class T , class ForwardIterator1 , class ForwardIterator2 > | |
| void | test_swap_ranges (int line, const char *seq1, const char *seq2, ForwardIterator1 it1, ForwardIterator2 it2, const T *, const char *it1name, const char *it2name) |
| template<class T , class ForwardIterator1 , class ForwardIterator2 > | |
| void | test_swap_ranges (ForwardIterator1 it1, ForwardIterator2 it2, const T *) |
| template<class T , class ForwardIterator1 > | |
| void | test_swap (ForwardIterator1 it1, const T *, bool test_ranges) |
| template<class T > | |
| void | test_swap (const T *, bool test_ranges) |
| int | main (int argc, char *argv[]) |
Variables | |
| int | rw_opt_no_swap |
| int | rw_opt_no_swap_ranges |
| int | rw_opt_no_iter_swap |
| int | rw_opt_no_fwd_iter |
| int | rw_opt_no_bidir_iter |
| int | rw_opt_no_rnd_iter |
| #define TEST | ( | seq | ) |
| #define TEST | ( | seq1, | |
| seq2 | |||
| ) |
| _RWSTD_NAMESPACE | ( | std | ) |
25.swap.cpp - test exercising 25.2.2 [lib.alg.swap]
$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.swap.cpp.
| int main | ( | int | argc, |
| char * | argv[] | ||
| ) |
Definition at line 369 of file 25.swap.cpp.
| void test_iter_swap | ( | ForwardIterator1 | it1, |
| ForwardIterator2 | it2, | ||
| const T * | , | ||
| bool | it_swap | ||
| ) |
Definition at line 113 of file 25.swap.cpp.
| void test_iter_swap | ( | int | line, |
| const char * | seq, | ||
| ForwardIterator1 | , | ||
| ForwardIterator2 | , | ||
| const T * | , | ||
| bool | it_swap, | ||
| const char * | it1name, | ||
| const char * | it2name, | ||
| const char * | fname | ||
| ) |
Definition at line 65 of file 25.swap.cpp.
Definition at line 302 of file 25.swap.cpp.
| void test_swap | ( | ForwardIterator1 | it1, |
| const T * | , | ||
| bool | test_ranges | ||
| ) |
Definition at line 266 of file 25.swap.cpp.
| void test_swap_ranges | ( | ForwardIterator1 | it1, |
| ForwardIterator2 | it2, | ||
| const T * | |||
| ) |
Definition at line 225 of file 25.swap.cpp.
| void test_swap_ranges | ( | int | line, |
| const char * | seq1, | ||
| const char * | seq2, | ||
| ForwardIterator1 | it1, | ||
| ForwardIterator2 | it2, | ||
| const T * | , | ||
| const char * | it1name, | ||
| const char * | it2name | ||
| ) |
Definition at line 142 of file 25.swap.cpp.
| int rw_opt_no_bidir_iter |
Definition at line 262 of file 25.swap.cpp.
| int rw_opt_no_fwd_iter |
Definition at line 261 of file 25.swap.cpp.
| int rw_opt_no_iter_swap |
Definition at line 260 of file 25.swap.cpp.
| int rw_opt_no_rnd_iter |
Definition at line 263 of file 25.swap.cpp.
| int rw_opt_no_swap |
Definition at line 258 of file 25.swap.cpp.
| int rw_opt_no_swap_ranges |
Definition at line 259 of file 25.swap.cpp.