SOFUS ..
Namespaces | Typedefs | Functions
memory File Reference
#include <sps/cenv.h>
#include <sps/mm_malloc.h>
#include <sps/malloc.h>
#include <memory>
#include <functional>
#include <type_traits>
#include <sps/align.hpp>
#include <sps/unix/memory>
Include dependency graph for memory:
This graph shows which files directly or indirectly include this file:

Namespaces

namespace  std
 STL namespace.
 
namespace  sps
 Single Purpose Solutions. A number of lighweight additions to C and/or C++.
 

Typedefs

template<bool B, typename T = void>
using disable_if = std::enable_if<!B, T >
 

Functions

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

Detailed Description

Author
Jens Munk Hansen jens..nosp@m.munk.nosp@m..hans.nosp@m.en@g.nosp@m.mail..nosp@m.com
Date
Sun May 7 10:34:25 2017

Typedef Documentation

◆ disable_if

using disable_if = std::enable_if<!B, T>
Todo:
(JMH): Consider requiring descendant to be non-copyconstructible