emlabcpp
modern opinionated embedded C++ library
emlabcpp::tag< V > Struct Template Reference

#include <types.h>

Public Types

using value_type = decltype(V)
 

Static Public Attributes

static constexpr value_type value = V
 

Friends

constexpr friend auto operator<=> (tag const &, tag const &)=default
 

Detailed Description

template<auto V>
struct emlabcpp::tag< V >


/ tag<V> type can be used for tagging f-calls for function overloading

Member Typedef Documentation

◆ value_type

template<auto V>
using emlabcpp::tag< V >::value_type = decltype( V )

Friends And Related Function Documentation

◆ operator<=>

template<auto V>
constexpr friend auto operator<=> ( tag< V > const &  ,
tag< V > const &   
)
friend

Member Data Documentation

◆ value

template<auto V>
constexpr value_type emlabcpp::tag< V >::value = V
staticconstexpr

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