chsvlib
chsv helper source code
raw_delete_t< element_t >::rebind< U > Struct Template Reference

Defines an instance of the deleter template for other types of values. More...

#include <chsvmem.h>

Public Types

typedef raw_delete_t< U > other
 Another instantiation of the raw_delete_t template for value type U.
 

Detailed Description

template<class element_t>
template<class U>
struct Chusov::Memory::raw_delete_t< element_t >::rebind< U >

Defines an instance of the deleter template for other types of values.

auto p = std::unique_ptr<unsigned char, Chusov::Memory::raw_delete_t<unsigned char>> (::operator new(10));
std::unique_ptr<void, Chusov::Memory::raw_delete_t<void>> g = p;

The documentation for this struct was generated from the following file: