capydi
Loading...
Searching...
No Matches
capy::meta::Unit< UnitType > Class Template Reference

A zero-cost wrapper for forwarding compile-time type information. More...

#include <Pack.hpp>

Public Types

using InnerType = UnitType

Detailed Description

template<typename UnitType>
class capy::meta::Unit< UnitType >

A zero-cost wrapper for forwarding compile-time type information.

Template Parameters
UnitTypeThe type being wrapped.

Unit is useful for passing type information through template metafunctions without creating actual instances. It serves as a "type carrier" in template code.

Examples
/capydi/core/capymeta/include/capymeta/primitives/Pack.hpp.

Member Typedef Documentation

◆ InnerType

template<typename UnitType>
using capy::meta::Unit< UnitType >::InnerType = UnitType

The documentation for this class was generated from the following file:
  • core/capymeta/include/capymeta/primitives/Pack.hpp