Ne.app NeANT
The Ne.app NeANT User module of the NeANT distribution.
Data Structures | Macros | Functions | Variables
17.extensions.cpp File Reference
#include <cassert>
#include <cctype>
#include <cerrno>
#include <cfloat>
#include <ciso646>
#include <climits>
#include <clocale>
#include <cmath>
#include <csetjmp>
#include <csignal>
#include <cstdarg>
#include <cstddef>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <ctime>
#include <cwchar>
#include <cwctype>
#include <assert.h>
#include <ctype.h>
#include <errno.h>
#include <float.h>
#include <iso646.h>
#include <limits.h>
#include <locale.h>
#include <math.h>
#include <setjmp.h>
#include <signal.h>
#include <stdarg.h>
#include <stddef.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <wchar.h>
#include <wctype.h>
#include <algorithm>
#include <bitset>
#include <complex>
#include <deque>
#include <exception>
#include <fstream>
#include <functional>
#include <iomanip>
#include <ios>
#include <iosfwd>
#include <iostream>
#include <istream>
#include <iterator>
#include <limits>
#include <list>
#include <locale>
#include <map>
#include <memory>
#include <new>
#include <numeric>
#include <ostream>
#include <queue>
#include <set>
#include <sstream>
#include <stack>
#include <stdexcept>
#include <streambuf>
#include <string>
#include <typeinfo>
#include <utility>
#include <valarray>
#include <vector>
#include <rw_driver.h>

Go to the source code of this file.

Data Structures

struct  NumGet< charT, InputIterator >
 
struct  convertible< T >
 
struct  base< c >
 
struct  badbit_set
 
struct  eofbit_set
 
struct  failbit_set
 
struct  Bin
 
struct  Nolock
 
struct  NolockBuf
 
struct  IosBase
 

Macros

#define _RWSTD_NO_EXTENSIONS
 
#define STRING(x)   #x
 
#define TEST_GET(T)
 

Functions

template<class T , class U >
void count (T, T, const U &,...)
 
template<class T , class U >
void count_if (T, T, U,...)
 
template<class T >
void distance (T, T,...)
 
 _RWSTD_NAMESPACE (std)
 
bool predicate (int)
 
int main (int argc, char *argv[])
 

Variables

int count_called = 0
 
int count_pred_called = 0
 
int distance_called = 0
 
int ellipsis_called
 
Bin * bin
 
Nolock * nolock
 
NolockBuf * nolockbuf
 

Macro Definition Documentation

◆ _RWSTD_NO_EXTENSIONS

#define _RWSTD_NO_EXTENSIONS

extensions.cpp - compilation only test exercising the ability to compile library headers with extensions diabled

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

Definition at line 31 of file 17.extensions.cpp.

◆ STRING

#define STRING (   x)    #x

◆ TEST_GET

#define TEST_GET (   T)
Value:
do { \
NumGet::iter_type in; \
std::ios_base::iostate err = std::ios_base::failbit; \
NumGet ().get (in, in, std::cin, err, convertible<T&>()); \
rw_assert (1 == ellipsis_called, __FILE__, __LINE__, \
"_RWSTD_NO_EXTENSIONS #defined and std::" \
"num_get<char>::get(..., " STRING(T) ") found"); \
} while (0)
int ellipsis_called
#define STRING(x)
#define T
Definition 17.names.cpp:163
const int in

Function Documentation

◆ _RWSTD_NAMESPACE()

_RWSTD_NAMESPACE ( std  )

Definition at line 217 of file 17.extensions.cpp.

◆ count()

template<class T , class U >
void count ( T  ,
T  ,
const U &  ,
  ... 
)

Definition at line 120 of file 17.extensions.cpp.

◆ count_if()

template<class T , class U >
void count_if ( T  ,
T  ,
U  ,
  ... 
)

Definition at line 124 of file 17.extensions.cpp.

◆ distance()

template<class T >
void distance ( T  ,
T  ,
  ... 
)

Definition at line 128 of file 17.extensions.cpp.

◆ main()

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

Definition at line 524 of file 17.extensions.cpp.

◆ predicate()

bool predicate ( int  )

Definition at line 300 of file 17.extensions.cpp.

Variable Documentation

◆ bin

Bin * bin

◆ count_called

int count_called = 0

Definition at line 112 of file 17.extensions.cpp.

◆ count_pred_called

int count_pred_called = 0

Definition at line 113 of file 17.extensions.cpp.

◆ distance_called

int distance_called = 0

Definition at line 114 of file 17.extensions.cpp.

◆ ellipsis_called

int ellipsis_called

Definition at line 150 of file 17.extensions.cpp.

◆ nolock

Nolock * nolock

◆ nolockbuf

NolockBuf * nolockbuf