guanaqo 1.0.0-alpha.26
Utilities for scientific software
Loading...
Searching...
No Matches
guanaqo::noop_delete< T > Struct Template Reference

#include <guanaqo/noop-delete.hpp>

Detailed Description

template<class T>
struct guanaqo::noop_delete< T >

Deleter for std::unique_ptr that just destructs the object, without deallocating.

Definition at line 13 of file noop-delete.hpp.

Collaboration diagram for guanaqo::noop_delete< T >:

Public Member Functions

constexpr noop_delete () noexcept=default
template<class U>
constexpr noop_delete (const noop_delete< U > &) noexcept
constexpr void operator() (T *t) const noexcept

Constructor & Destructor Documentation

◆ noop_delete() [1/2]

template<class T>
guanaqo::noop_delete< T >::noop_delete ( )
constexprdefaultnoexcept
Here is the caller graph for this function:

◆ noop_delete() [2/2]

template<class T>
template<class U>
guanaqo::noop_delete< T >::noop_delete ( const noop_delete< U > & )
inlineconstexprnoexcept

Definition at line 16 of file noop-delete.hpp.

Here is the call graph for this function:

Member Function Documentation

◆ operator()()

template<class T>
void guanaqo::noop_delete< T >::operator() ( T * t) const
inlineconstexprnoexcept

Definition at line 17 of file noop-delete.hpp.


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