PLaSK library

Loading...
Searching...
No Matches
Classes | Namespaces | Macros | Functions
memory.hpp File Reference

This file contains utils connected with memory management, it contains utils to operate on memory, pointers, smart pointers, etc. More...

`#include <plask/config.hpp>`
`#include <boost/shared_ptr.hpp>`
`#include <boost/make_shared.hpp>`
`#include <boost/weak_ptr.hpp>`
`#include <boost/enable_shared_from_this.hpp>`
Include dependency graph for memory.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

## Classes
struct | plask::Holder< T >
| Template for base class of object holder. More...
struct | plask::HolderRef< T >
| Template for base class of object holder. More...

## Namespaces
namespace | plask
| Patterson quadrature for complex function along specified line.

## Macros
#define | BOOST_BIND_GLOBAL_PLACEHOLDERS

## Functions
template<typename T >
shared_ptr< T > | plask::getUnique (const shared_ptr< T > &ptr)
| Copy ptr data if is not the only shared_ptr instance managing the current object, i.e.
template<typename T >
shared_ptr< T > | plask::getUnique (const shared_ptr< const T > &ptr)
| Copy ptr data if is not the only shared_ptr instance managing the current object, i.e.
template<typename T >
void | plask::makeUnique (shared_ptr< T > &ptr)
| Copy ptr data if is not the only shared_ptr instance managing the current object, i.e.

## Detailed Description

This file contains utils connected with memory management, it contains utils to operate on memory, pointers, smart pointers, etc.

It put smart pointers (boost or std ones - dependly of plask build configuration) in plask namespace.

Definition in file memory.hpp.

## Macro Definition Documentation

## ◆ BOOST_BIND_GLOBAL_PLACEHOLDERS

#define BOOST_BIND_GLOBAL_PLACEHOLDERS

Definition at line 40 of file memory.hpp.