MLX
 
Loading...
Searching...
No Matches
mlx::steel::integral_constant< T, v > Struct Template Reference

#include <integral_constant.h>

Public Types

using value_type = T
 
using type = integral_constant
 

Public Member Functions

METAL_FUNC constexpr operator value_type () const noexcept
 

Static Public Attributes

static constexpr constant T value = v
 

Member Typedef Documentation

◆ type

template<typename T, T v>
using mlx::steel::integral_constant< T, v >::type = integral_constant

◆ value_type

template<typename T, T v>
using mlx::steel::integral_constant< T, v >::value_type = T

Member Function Documentation

◆ operator value_type()

template<typename T, T v>
METAL_FUNC constexpr mlx::steel::integral_constant< T, v >::operator value_type ( ) const
inlineconstexprnoexcept

Member Data Documentation

◆ value

template<typename T, T v>
constant T mlx::steel::integral_constant< T, v >::value = v
staticconstexpr

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