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

Go to the source code of this file.

Macros

#define TEST(src, dst)
 

Functions

 _RWSTD_NAMESPACE (std)
 
template<class FwdIterator , class FwdCopyIterator , class OutIterator , class T , class Predicate >
void test_unique (int line, const char *src, const char *dst, const FwdIterator &it, const FwdCopyIterator &itc, const OutIterator &out, const T *, const Predicate *ppred, bool use_copy)
 
template<class FwdIterator , class FwdCopyIterator , class OutIterator , class T , class Predicate >
void test_unique (const FwdIterator &it, const FwdCopyIterator &itc, const OutIterator &out, const T *, const Predicate *ppred, bool use_copy)
 
template<class T , class Predicate , class FwdIterator >
void test_unique (const FwdIterator &it, const T *, const Predicate *ppred)
 
template<class T , class Predicate >
void test_unique (const T *, const Predicate *ppred, bool use_copy)
 
int main (int argc, char *argv[])
 

Variables

int rw_opt_no_unique
 
int rw_opt_no_unique_copy
 
int rw_opt_no_predicate
 
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
 

Macro Definition Documentation

◆ TEST

#define TEST (   src,
  dst 
)
Value:
test_unique (__LINE__, src, dst, it, itc, out, (T*)0, \
ppred, use_copy)
#define T
Definition 17.names.cpp:163
void test_unique(int line, const char *src, const char *dst, const FwdIterator &it, const FwdCopyIterator &itc, const OutIterator &out, const T *, const Predicate *ppred, bool use_copy)
Definition 25.unique.cpp:78
const int out

Function Documentation

◆ _RWSTD_NAMESPACE()

_RWSTD_NAMESPACE ( std  )

unique.cpp - test exercising 25.2.8 [lib.alg.unique]

$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 2000-2006 Rogue Wave Software.

Definition at line 38 of file 25.unique.cpp.

◆ main()

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

Definition at line 387 of file 25.unique.cpp.

◆ test_unique() [1/4]

template<class FwdIterator , class FwdCopyIterator , class OutIterator , class T , class Predicate >
void test_unique ( const FwdIterator &  it,
const FwdCopyIterator &  itc,
const OutIterator &  out,
const T *  ,
const Predicate *  ppred,
bool  use_copy 
)

Definition at line 168 of file 25.unique.cpp.

◆ test_unique() [2/4]

template<class T , class Predicate , class FwdIterator >
void test_unique ( const FwdIterator &  it,
const T *  ,
const Predicate *  ppred 
)

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

◆ test_unique() [3/4]

template<class T , class Predicate >
void test_unique ( const T *  ,
const Predicate *  ppred,
bool  use_copy 
)

Definition at line 285 of file 25.unique.cpp.

◆ test_unique() [4/4]

template<class FwdIterator , class FwdCopyIterator , class OutIterator , class T , class Predicate >
void test_unique ( int  line,
const char *  src,
const char *  dst,
const FwdIterator &  it,
const FwdCopyIterator &  itc,
const OutIterator &  out,
const T *  ,
const Predicate *  ppred,
bool  use_copy 
)

Definition at line 78 of file 25.unique.cpp.

Variable Documentation

◆ rw_opt_no_bidir_iter

int rw_opt_no_bidir_iter

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

◆ rw_opt_no_fwd_iter

int rw_opt_no_fwd_iter

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

◆ rw_opt_no_input_iter

int rw_opt_no_input_iter

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

◆ rw_opt_no_output_iter

int rw_opt_no_output_iter

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

◆ rw_opt_no_predicate

int rw_opt_no_predicate

Definition at line 234 of file 25.unique.cpp.

◆ rw_opt_no_rnd_iter

int rw_opt_no_rnd_iter

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

◆ rw_opt_no_unique

int rw_opt_no_unique

Definition at line 232 of file 25.unique.cpp.

◆ rw_opt_no_unique_copy

int rw_opt_no_unique_copy

Definition at line 233 of file 25.unique.cpp.