alpaqa 1.0.0a11
Nonconvex constrained optimization
Loading...
Searching...
No Matches
Public Member Functions | List of all members
noop_delete< T > Struct Template Reference

#include <alpaqa/util/noop-delete.hpp>

Detailed Description

template<class T>
struct alpaqa::util::noop_delete< T >

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

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

+ Collaboration diagram for 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]

constexpr noop_delete ( )
constexprdefaultnoexcept

◆ noop_delete() [2/2]

constexpr noop_delete ( const noop_delete< U > &  )
inlineconstexprnoexcept

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

Member Function Documentation

◆ operator()()

constexpr void operator() ( T *  t) const
inlineconstexprnoexcept

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


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