Quick Links:

bal | bbl | bdl | bsl

Public Member Functions

bslstl::SharedPtr_DefaultDeleter< bool > Struct Template Reference

#include <bslstl_sharedptr.h>

List of all members.

Public Member Functions

template<class ANY_TYPE >
void operator() (ANY_TYPE *ptr) const BSLS_KEYWORD_NOEXCEPT

Detailed Description

template<bool>
struct bslstl::SharedPtr_DefaultDeleter< bool >

This struct provides a function-like shared pointer deleter that invokes delete with the passed pointer. If the template parameter is true, then the pointer is deleted using operator delete []. Otherwise, it is deleted using operator delete.

See Component bslstl_sharedptr


Member Function Documentation

template<bool >
template<class ANY_TYPE >
void bslstl::SharedPtr_DefaultDeleter< bool >::operator() ( ANY_TYPE *  ptr  )  const

Call delete with the specified ptr.


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