|
Ne.app NeANT
The Ne.app NeANT User module of the NeANT distribution.
|
#include <algorithm>#include <cstddef>#include <rw_alg_test.h>#include <rw_value.h>#include <rw_driver.h>
Go to the source code of this file.
Data Structures | |
| struct | incT< T > |
| struct | plusT< T > |
Functions | |
| _RWSTD_NAMESPACE (std) | |
| template<class InputIterator , class Unused , class OutputIterator > | |
| OutputIterator | invoke_transform (InputIterator first, InputIterator last, Unused, OutputIterator dest, incT< UserClass > fun) |
| template<class InputIterator1 , class InputIterator2 , class OutputIterator > | |
| OutputIterator | invoke_transform (InputIterator1 first1, InputIterator1 last1, InputIterator2 first2, OutputIterator dest, plusT< UserClass > fun) |
| template<class T , class InputIterator1 , class InputIterator2 , class OutputIterator , class Function > | |
| void | test_transform (const T *ptr, const InputIterator1 &it1, const InputIterator2 &it2, const OutputIterator &out, const Function *, int same_seq) |
| template<class T , class InputIterator1 , class InputIterator2 , class OutputIterator , class Function > | |
| void | gen_test (const T *ptr, const InputIterator1 &it1, const InputIterator2 &it2, const OutputIterator &out, const Function *pfun, int tag1, int tag2, int tag3, int same_seq) |
| int | main (int argc, char *argv[]) |
Variables | |
| int | rw_opt_nloops = 32 |
| int | rw_opt_no_unary_function |
| int | rw_opt_no_binary_function |
| int | rw_opt_no_input_iter |
| int | rw_opt_no_output_iter |
| int | rw_opt_no_fwd_iter |
| int | rw_opt_no_bidir_iter |
| int | rw_opt_no_rnd_iter |
| _RWSTD_NAMESPACE | ( | std | ) |
25.transform.cpp - test exercising 25.2.3 [lib.alg.transform]
$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.transform.cpp.
| void gen_test | ( | const T * | ptr, |
| const InputIterator1 & | it1, | ||
| const InputIterator2 & | it2, | ||
| const OutputIterator & | out, | ||
| const Function * | pfun, | ||
| int | tag1, | ||
| int | tag2, | ||
| int | tag3, | ||
| int | same_seq | ||
| ) |
Definition at line 274 of file 25.transform.cpp.
| OutputIterator invoke_transform | ( | InputIterator | first, |
| InputIterator | last, | ||
| Unused | , | ||
| OutputIterator | dest, | ||
| incT< UserClass > | fun | ||
| ) |
Definition at line 137 of file 25.transform.cpp.
| OutputIterator invoke_transform | ( | InputIterator1 | first1, |
| InputIterator1 | last1, | ||
| InputIterator2 | first2, | ||
| OutputIterator | dest, | ||
| plusT< UserClass > | fun | ||
| ) |
Definition at line 146 of file 25.transform.cpp.
| int main | ( | int | argc, |
| char * | argv[] | ||
| ) |
Definition at line 483 of file 25.transform.cpp.
| void test_transform | ( | const T * | ptr, |
| const InputIterator1 & | it1, | ||
| const InputIterator2 & | it2, | ||
| const OutputIterator & | out, | ||
| const Function * | , | ||
| int | same_seq | ||
| ) |
Definition at line 156 of file 25.transform.cpp.
| int rw_opt_nloops = 32 |
Definition at line 124 of file 25.transform.cpp.
| int rw_opt_no_bidir_iter |
Definition at line 130 of file 25.transform.cpp.
| int rw_opt_no_binary_function |
Definition at line 126 of file 25.transform.cpp.
| int rw_opt_no_fwd_iter |
Definition at line 129 of file 25.transform.cpp.
| int rw_opt_no_input_iter |
Definition at line 127 of file 25.transform.cpp.
| int rw_opt_no_output_iter |
Definition at line 128 of file 25.transform.cpp.
| int rw_opt_no_rnd_iter |
Definition at line 131 of file 25.transform.cpp.
| int rw_opt_no_unary_function |
Definition at line 125 of file 25.transform.cpp.