Om
Classes | Namespaces | Macros | Functions
giveable.hpp File Reference

Om header file. More...

#include "om/copyable.hpp"
#include "om/moveable.hpp"
#include "om/giveable.cpp"
+ Include dependency graph for giveable.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Om::Giveable
 An object that can be copied or moved via Give. More...
 

Namespaces

 Om
 The Om library.
 

Macros

#define Om_Giveable_
 

Functions

template<typename TheGiveable >
std::auto_ptr< TheGiveable > Om::Give (TheGiveable &)
 Calls Move on the object. More...
 
template<typename TheGiveable >
std::auto_ptr< TheGiveable > Om::Give (TheGiveable const &)
 Calls Copy on the object. More...
 
template<typename TheGiveable >
std::auto_ptr< TheGiveable > Om::Give (std::auto_ptr< TheGiveable > &)
 Transfers pointer ownership. More...
 
template<typename TheGiveable >
std::auto_ptr< TheGiveable > Om::Give (std::auto_ptr< TheGiveable > const &)
 Transfers pointer ownership. More...
 

Detailed Description

Version
0.1.3
Date
2012-2014
Author
Jason Erb

Definition in file giveable.hpp.

Macro Definition Documentation

◆ Om_Giveable_

#define Om_Giveable_

Definition at line 17 of file giveable.hpp.