iLab Neuromorphic Robotics Toolkit  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Memory-related functions and classes

Provides optimized memory allocation, dynamic arrays, etc

Modules

 Array classes featuring copy-on-write and ref-counting
 
 Optimized memory allocation using alignment and/or caching of memory blocks
 

Functions

template<class T , class... Args>
std::unique_ptr< T > nrt::make_unique (Args &&...args)
 Creates an std::unique_ptr by calling the constructor for T with the specified arguments. More...
 

Function Documentation

template<class T , class... Args>
std::unique_ptr< T > nrt::make_unique ( Args &&...  args)

Creates an std::unique_ptr by calling the constructor for T with the specified arguments.

This works identically to make_shared and will be added in C++14

Definition at line 142 of file AllocationImpl.H.