ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
Public Member Functions | List of all members
base::core::ref_count_deleter Struct Reference

A deleter functor for creating std::unique_ptr that unrefs objects. More...

#include <refcount.h>

Collaboration diagram for base::core::ref_count_deleter:

Public Member Functions

void operator() (const counted_base *o) const
 Calls unref on the object.
 

Detailed Description

A deleter functor for creating std::unique_ptr that unrefs objects.

Member Function Documentation

◆ operator()()

void base::core::ref_count_deleter::operator() ( const counted_base o) const
inline

Calls unref on the object.

Parameters
oPointer to the object.
Here is the call graph for this function:

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