My Project
Classes | Typedefs | Functions
is_destructible.hpp File Reference
#include "bool_constant.hpp"
#include "declval.hpp"
#include "is_detected.hpp"
#include "is_function.hpp"
#include "is_reference.hpp"
#include "is_scalar.hpp"
#include "is_unbounded_array.hpp"
#include "is_void.hpp"
#include "remove_all_extents.hpp"

Go to the source code of this file.

Classes

class  bsl::is_destructible< T >
 If the provided type is destructible, provides the member constant value equal to true. Otherwise the member constant value is false. More...
 

Typedefs

template<typename T >
using bsl::details::is_destructible_type = decltype(bsl::declval< T & >().~T())
 used to detect the presence of a destructor in T
 

Functions

template<typename T >
constexpr bool bsl::details::check_is_destructible () noexcept
 Checks if a type "T" is destructible and if so, returns true, otherwise returns false. More...
 

Detailed Description

Function Documentation

◆ check_is_destructible()

template<typename T >
constexpr bool bsl::details::check_is_destructible ( )
noexcept

Checks if a type "T" is destructible and if so, returns true, otherwise returns false.

Template Parameters
Tthe type to query
Returns
If "T" is destructible, returns true, otherwise returns false.