Ne.app NeANT
The Ne.app NeANT User module of the NeANT distribution.
Functions | Variables
25.copy.cpp File Reference
#include <algorithm>
#include <cstddef>
#include <rw_alg_test.h>
#include <rw_value.h>
#include <rw_driver.h>
Include dependency graph for 25.copy.cpp:

Go to the source code of this file.

Functions

 _RWSTD_NAMESPACE (std)
 
template<class InputIterator , class OutputIterator , class T >
void test_copy (std::size_t N, const InputIterator &input_iter, const OutputIterator &output_iter, const T *)
 
template<class BidirIterator1 , class BidirIterator2 , class T >
void test_copy_backward (std::size_t N, const BidirIterator1 &bidir_iter1, const BidirIterator2 &bidir_iter2, const T *)
 
template<class InputIterator , class T >
void test_copy (const std::size_t N, const InputIterator &dummy, T *)
 
template<class InputIterator , class T >
void test_copy_backward (const std::size_t N, const InputIterator &dummy, T *)
 
int main (int argc, char *argv[])
 

Variables

int rw_opt_nloops = 32
 
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
 

Function Documentation

◆ _RWSTD_NAMESPACE()

_RWSTD_NAMESPACE ( std  )

25.copy.cpp - test exercising 25.2.1 [lib.alg.copy]

$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.copy.cpp.

◆ main()

int main ( int  argc,
char *  argv[] 
)

Definition at line 390 of file 25.copy.cpp.

◆ test_copy() [1/2]

template<class InputIterator , class T >
void test_copy ( const std::size_t  N,
const InputIterator &  dummy,
T *   
)

Definition at line 243 of file 25.copy.cpp.

◆ test_copy() [2/2]

template<class InputIterator , class OutputIterator , class T >
void test_copy ( std::size_t  N,
const InputIterator &  input_iter,
const OutputIterator &  output_iter,
const T *   
)

Definition at line 63 of file 25.copy.cpp.

◆ test_copy_backward() [1/2]

template<class InputIterator , class T >
void test_copy_backward ( const std::size_t  N,
const InputIterator &  dummy,
T *   
)

Definition at line 322 of file 25.copy.cpp.

◆ test_copy_backward() [2/2]

template<class BidirIterator1 , class BidirIterator2 , class T >
void test_copy_backward ( std::size_t  N,
const BidirIterator1 &  bidir_iter1,
const BidirIterator2 &  bidir_iter2,
const T *   
)

Definition at line 148 of file 25.copy.cpp.

Variable Documentation

◆ rw_opt_nloops

int rw_opt_nloops = 32

Definition at line 235 of file 25.copy.cpp.

◆ rw_opt_no_bidir_iter

int rw_opt_no_bidir_iter

Definition at line 239 of file 25.copy.cpp.

◆ rw_opt_no_fwd_iter

int rw_opt_no_fwd_iter

Definition at line 238 of file 25.copy.cpp.

◆ rw_opt_no_input_iter

int rw_opt_no_input_iter

Definition at line 236 of file 25.copy.cpp.

◆ rw_opt_no_output_iter

int rw_opt_no_output_iter

Definition at line 237 of file 25.copy.cpp.

◆ rw_opt_no_rnd_iter

int rw_opt_no_rnd_iter

Definition at line 240 of file 25.copy.cpp.