Function destruct

Synopsis

#include <include/internal/benchmark/catch_constructor.hpp>

template <bool AllowManualDestruction = !Destruct>
std::enable_if< AllowManualDestruction >::type destruct()

Description

No description yet.

Mentioned in

Source

Lines 44-48 in include/internal/benchmark/catch_constructor.hpp.

template <bool AllowManualDestruction = !Destruct>
typename std::enable_if<AllowManualDestruction>::type destruct()
{
    stored_object().~T();
}





Add Discussion as Guest

Log in