UCommon
temporary.h File Reference

Temporary templates for C++. More...

#include <ucommon/platform.h>
#include <ucommon/protocols.h>
#include <ucommon/thread.h>
#include <ucommon/string.h>
#include <ucommon/memory.h>
#include <ucommon/fsys.h>
#include <cstdlib>
#include <cstring>
#include <stdexcept>
Include dependency graph for temporary.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  ucommon::temporary< T >
 Manage temporary object stored on the heap. More...
 

Namespaces

namespace  ucommon
 Common namespace for all ucommon objects.
 

Macros

#define THROW(x)   throw x
 
#define THROWS(x)   throw(x)
 
#define THROWS_ANY   throw()
 

Detailed Description

Temporary templates for C++.

This offers automatic management of heap temporary objects.

Definition in file temporary.h.

Macro Definition Documentation

◆ THROW

#define THROW ( x)    throw x

Definition at line 57 of file temporary.h.

◆ THROWS

#define THROWS ( x)    throw(x)

Definition at line 58 of file temporary.h.

◆ THROWS_ANY

#define THROWS_ANY   throw()

Definition at line 59 of file temporary.h.