Ne.app NeANT
The Ne.app NeANT User module of the NeANT distribution.
Data Structures | Macros | Functions | Variables
27.objects.cpp File Reference
#include <rw_driver.h>
#include <iostream>
#include <cstdlib>
#include <new>
Include dependency graph for 27.objects.cpp:

Go to the source code of this file.

Data Structures

struct  LifetimeChecker
 

Macros

#define _RWSTD_NO_TEMPLATE_DEFINITIONS
 
#define _RWSTD_BAD_ALLOC   _STD::bad_alloc
 

Functions

 _USING (std::cin)
 
 _USING (std::cout)
 
 _USING (std::cerr)
 
 _USING (std::clog)
 
 _USING (std::wcin)
 
 _USING (std::wcout)
 
 _USING (std::wcerr)
 
 _USING (std::wclog)
 
template<class charT >
void do_test (charT)
 
void * operator new (std::size_t n) _THROWS((_RWSTD_BAD_ALLOC))
 
void operator delete (void *ptr) _THROWS(())
 
void * operator new[] (std::size_t n) _THROWS((_RWSTD_BAD_ALLOC))
 
void operator delete[] (void *p) _THROWS(())
 
int main (int argc, char *argv[])
 

Variables

struct LifetimeChecker lifetime_check
 
int init_new_calls
 
int init_delete_calls
 
int new_calls
 
int delete_calls
 
int rw_opt_no_global_dtors
 
int rw_opt_no_replacement_new
 
int rw_opt_no_replacement_delete
 

Macro Definition Documentation

◆ _RWSTD_BAD_ALLOC

#define _RWSTD_BAD_ALLOC   _STD::bad_alloc

Definition at line 350 of file 27.objects.cpp.

◆ _RWSTD_NO_TEMPLATE_DEFINITIONS

#define _RWSTD_NO_TEMPLATE_DEFINITIONS

27.objects.cpp - test exercising lib.iostream.objects

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

Definition at line 51 of file 27.objects.cpp.

Function Documentation

◆ _USING() [1/8]

_USING ( std::cerr  )

◆ _USING() [2/8]

_USING ( std::cin  )

◆ _USING() [3/8]

_USING ( std::clog  )

◆ _USING() [4/8]

_USING ( std::cout  )

◆ _USING() [5/8]

_USING ( std::wcerr  )

◆ _USING() [6/8]

_USING ( std::wcin  )

◆ _USING() [7/8]

_USING ( std::wclog  )

◆ _USING() [8/8]

_USING ( std::wcout  )

◆ do_test()

template<class charT >
void do_test ( charT  )

Definition at line 142 of file 27.objects.cpp.

◆ main()

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

Definition at line 438 of file 27.objects.cpp.

◆ operator delete()

void operator delete ( void *  ptr)

Definition at line 397 of file 27.objects.cpp.

◆ operator delete[]()

void operator delete[] ( void *  ptr)

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 1999-2007 Rogue Wave Software, Inc.

Definition at line 429 of file 27.objects.cpp.

◆ operator new()

void * operator new ( std::size_t  n)

Definition at line 354 of file 27.objects.cpp.

◆ operator new[]()

void * operator new[] ( std::size_t  n)

Definition at line 423 of file 27.objects.cpp.

Variable Documentation

◆ delete_calls

int delete_calls

Definition at line 98 of file 27.objects.cpp.

◆ init_delete_calls

int init_delete_calls

Definition at line 96 of file 27.objects.cpp.

◆ init_new_calls

int init_new_calls

Definition at line 95 of file 27.objects.cpp.

◆ lifetime_check

struct LifetimeChecker lifetime_check

◆ new_calls

int new_calls

Definition at line 97 of file 27.objects.cpp.

◆ rw_opt_no_global_dtors

int rw_opt_no_global_dtors

Definition at line 100 of file 27.objects.cpp.

◆ rw_opt_no_replacement_delete

int rw_opt_no_replacement_delete

Definition at line 102 of file 27.objects.cpp.

◆ rw_opt_no_replacement_new

int rw_opt_no_replacement_new

Definition at line 101 of file 27.objects.cpp.