utility_tests.cpp File Reference

tests utility.h and op_exception.h More...

#include <stdlib.h>
#include <new>
#include <iostream>
#include "utility.h"
#include "op_exception.h"
Include dependency graph for utility_tests.cpp:

Classes

struct  A

Functions

void * operator new (size_t size) throw (bad_alloc)
void * operator new[] (size_t size) throw (bad_alloc)
void operator delete (void *p) throw ()
void operator delete[] (void *p) throw ()
void check_alloc ()
template<typename Throw , typename Catch >
void throw_tests ()
template<typename Throw , typename Catch >
void throw_tests (bool)
void tests_new ()
int main ()

Detailed Description

tests utility.h and op_exception.h

Remarks:
Copyright 2003 OProfile authors
Read the file COPYING
Author:
John Levon
Philippe Elie

Function Documentation

void check_alloc (  ) 

Referenced by main().

int main ( void   ) 

References check_alloc(), and tests_new().

void operator delete ( void *  p  )  throw ()
void operator delete[] ( void *  p  )  throw ()
void* operator new ( size_t  size  )  throw (bad_alloc)
void* operator new[] ( size_t  size  )  throw (bad_alloc)
void tests_new (  ) 

Referenced by main().

template<typename Throw , typename Catch >
void throw_tests ( bool   )  [inline]
template<typename Throw , typename Catch >
void throw_tests (  )  [inline]

Generated on 29 Jul 2013 for oprofile by  doxygen 1.6.1