Ne.app NeANT
The Ne.app NeANT User module of the NeANT distribution.
Functions | Variables
25.fill.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.fill.cpp:

Go to the source code of this file.

Functions

 _RWSTD_NAMESPACE (std)
 
template<class ForwardIterator , class T >
void test_fill (std::size_t N, const ForwardIterator &dummy_iter, const T *)
 
template<class OutputIterator , class Size , class T >
void test_fill_n (std::size_t N, const OutputIterator &dummy_iter, const Size *, const T *)
 
int main (int argc, char *argv[])
 

Variables

int rw_opt_nloops = 32
 
int rw_opt_no_fill
 
int rw_opt_no_fill_n
 
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.fill.cpp - test exercising 25.2.5 [lib.alg.fill]

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

◆ main()

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

Definition at line 302 of file 25.fill.cpp.

◆ test_fill()

template<class ForwardIterator , class T >
void test_fill ( std::size_t  N,
const ForwardIterator &  dummy_iter,
const T *   
)

Definition at line 60 of file 25.fill.cpp.

◆ test_fill_n()

template<class OutputIterator , class Size , class T >
void test_fill_n ( std::size_t  N,
const OutputIterator &  dummy_iter,
const Size *  ,
const T *   
)

Definition at line 125 of file 25.fill.cpp.

Variable Documentation

◆ rw_opt_nloops

int rw_opt_nloops = 32

Definition at line 192 of file 25.fill.cpp.

◆ rw_opt_no_bidir_iter

int rw_opt_no_bidir_iter

Definition at line 197 of file 25.fill.cpp.

◆ rw_opt_no_fill

int rw_opt_no_fill

Definition at line 193 of file 25.fill.cpp.

◆ rw_opt_no_fill_n

int rw_opt_no_fill_n

Definition at line 194 of file 25.fill.cpp.

◆ rw_opt_no_fwd_iter

int rw_opt_no_fwd_iter

Definition at line 196 of file 25.fill.cpp.

◆ rw_opt_no_output_iter

int rw_opt_no_output_iter

Definition at line 195 of file 25.fill.cpp.

◆ rw_opt_no_rnd_iter

int rw_opt_no_rnd_iter

Definition at line 198 of file 25.fill.cpp.