Lumiera  0.pre.03
»edit your freedom«
scoped-holder-transfer.hpp File Reference

Go to the source code of this file.

Description

A mechanism to take ownership without allowing copy.

Deprecated:
obsolete concept, superseded by C++11 rvalue references
Todo:
expunge this!

Definition in file scoped-holder-transfer.hpp.

#include "lib/error.hpp"
#include <memory>

Classes

class  Allocator_TransferNoncopyable< TY, PAR >
 Addendum to scoped-holder.hpp for transferring the lifecycle management to another instance. More...
 
struct  Allocator_TransferNoncopyable< TY, PAR >::rebind< XX >
 

Functions

template<typename TY1 , typename TY2 , class ALO >
bool operator!= (Allocator_TransferNoncopyable< TY1, ALO > const &, Allocator_TransferNoncopyable< TY2, ALO > const &)
 
template<typename TY1 , typename TY2 , class ALO >
bool operator== (Allocator_TransferNoncopyable< TY1, ALO > const &, Allocator_TransferNoncopyable< TY2, ALO > const &)
 

Namespaces

 lib
 Implementation namespace for support and library code.
 

Class Documentation

◆ lib::Allocator_TransferNoncopyable::rebind

struct lib::Allocator_TransferNoncopyable::rebind
Class Members
typedef
Allocator_TransferNoncopyable
< XX, PAR >
other
+ Collaboration diagram for Allocator_TransferNoncopyable< TY, PAR >::rebind< XX >: