cpp-toolbox  0.0.1
A toolbox library for C++
Loading...
Searching...
No Matches
toolbox::traits::is_stack_allocated< T > Struct Template Reference

检查类型是否可以栈分配/Check if type can be stack allocated More...

#include <type_traits.hpp>

Static Public Attributes

static constexpr bool value
 

Detailed Description

template<typename T>
struct toolbox::traits::is_stack_allocated< T >

检查类型是否可以栈分配/Check if type can be stack allocated

Template Parameters
T要检查的类型/Type to check
class Abstract { virtual void foo() = 0; };
class Concrete {};
static constexpr bool value
Definition type_traits.hpp:573

Member Data Documentation

◆ value

template<typename T >
constexpr bool toolbox::traits::is_stack_allocated< T >::value
staticconstexpr
Initial value:
=
static constexpr bool may_be_stack_allocated
Definition type_traits.hpp:106

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