constant< v > Struct Template Reference#
ck::constant< v > Struct Template Reference
  #include <integral_constant.hpp>
Inheritance diagram for ck::constant< v >:
  
Public Types | |
| using | value_type = decltype(v) | 
| using | type = constant | 
Public Member Functions | |
| __host__ constexpr __device__ | operator value_type () const noexcept | 
| __host__ constexpr __device__ value_type | operator() () const noexcept | 
Static Public Attributes | |
| static constexpr value_type | value = v | 
Member Typedef Documentation
◆ type
template<auto v> 
      | using ck::constant< v >::type = constant | 
◆ value_type
template<auto v> 
      | using ck::constant< v >::value_type = decltype(v) | 
Member Function Documentation
◆ operator value_type()
template<auto v> 
      
  | 
  inlineconstexprnoexcept | 
◆ operator()()
template<auto v> 
      
  | 
  inlineconstexprnoexcept | 
Member Data Documentation
◆ value
template<auto v> 
      
  | 
  staticconstexpr | 
The documentation for this struct was generated from the following file:
- include/ck/utility/integral_constant.hpp