Ne.app NeANT
The Ne.app NeANT User module of the NeANT distribution.
Namespaces | Typedefs | Functions | Variables
23.deque.iterators.cpp File Reference
#include <cstddef>
#include <deque>
#include <rw_driver.h>
#include <rw_alg_test.h>
#include <rw_new.h>
Include dependency graph for 23.deque.iterators.cpp:

Go to the source code of this file.

Namespaces

namespace  __rw
 

Typedefs

typedef std::deque< int > IntDeque
 

Functions

_RWSTD_SPECIALIZED_FUNCTION IntDeque::size_type __rw::__rw_new_capacity< IntDeque > (IntDeque::size_type n, const IntDeque *)
 
template<class T >
void test_iterators (std::size_t N, int dir, T *)
 
template<class T >
void test_iterators (std::size_t N, T *)
 
int run_test (int, char **)
 
int main (int argc, char **argv)
 

Variables

std::size_t new_capacity
 
unsigned rw_opt_nloops = 6
 
int rw_opt_no_fill
 
int rw_opt_no_push_back
 
int rw_opt_no_push_front
 

Typedef Documentation

◆ IntDeque

typedef std::deque<int> IntDeque

Definition at line 48 of file 23.deque.iterators.cpp.

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 355 of file 23.deque.iterators.cpp.

◆ run_test()

int run_test ( int  ,
char **   
)

Definition at line 306 of file 23.deque.iterators.cpp.

◆ test_iterators() [1/2]

template<class T >
void test_iterators ( std::size_t  N,
int  dir,
T *   
)

Definition at line 74 of file 23.deque.iterators.cpp.

◆ test_iterators() [2/2]

template<class T >
void test_iterators ( std::size_t  N,
T *   
)

Definition at line 279 of file 23.deque.iterators.cpp.

Variable Documentation

◆ new_capacity

std::size_t new_capacity

23.deque.iterators.cpp - test exercising lib.deque.iterators

$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 46 of file 23.deque.iterators.cpp.

◆ rw_opt_nloops

unsigned rw_opt_nloops = 6

Definition at line 268 of file 23.deque.iterators.cpp.

◆ rw_opt_no_fill

int rw_opt_no_fill

Definition at line 273 of file 23.deque.iterators.cpp.

◆ rw_opt_no_push_back

int rw_opt_no_push_back

Definition at line 274 of file 23.deque.iterators.cpp.

◆ rw_opt_no_push_front

int rw_opt_no_push_front

Definition at line 275 of file 23.deque.iterators.cpp.