EnTT: entt::size_of< Type, std::void_t< decltype(sizeof(Type))> > Struct Template Reference

EnTT 3.16.0

Loading...
Searching...
No Matches
entt::size_of< Type, std::void_t< decltype(sizeof(Type))> > Struct Template Reference

A type-only sizeof wrapper that returns 0 where sizeof complains. More...

`#include <type_traits.hpp>`

Inheritance diagram for entt::size_of< Type, std::void_t< decltype(sizeof(Type))> >:
[legend]
Collaboration diagram for entt::size_of< Type, std::void_t< decltype(sizeof(Type))> >:
[legend]

## Detailed Description

template<typename Type>
struct entt::size_of< Type, std::void_t< decltype(sizeof(Type))> >

A type-only sizeof wrapper that returns 0 where sizeof complains.

Template Parameters

  Type | The type of which to return the size.

Definition at line 65 of file type_traits.hpp.

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

- src/entt/core/type_traits.hpp