Редагувати

Поділитися через


default_delete Struct

A predefined function object that performs the division operation (operator/) on its arguments.

Syntax

template <class T>
    struct default_delete

Requirements

Header: <memory>

Namespace: std

Members

Constructors

Name Description
default_delete The constructor for objects of type default_delete.

Operators

Name Description
operator() A reference operator to access default_delete.

default_delete

The constructor for objects of type default_delete.

constexpr default_delete() noexcept = default;
template <class U>
    default_delete(const default_delete<U>&) noexcept;

operator()

A reference operator to access default_delete.

void operator()(T*) const;

See also

<memory>