EnTT: entt::size_of< Type, typename > Struct Template Reference

EnTT 3.15.0

Loading...
Searching...
No Matches
entt::size_of< Type, typename > 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, typename >:
[legend]
Collaboration diagram for entt::size_of< Type, typename >:
[legend]

## Detailed Description

template<typename Type, typename = void>
struct entt::size_of< Type, typename >

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 61 of file type_traits.hpp.

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

- src/entt/core/type_traits.hpp