vir-simd 0.4.189
Parallelism TS 2 extensions and simd fallback implementation
Loading...
Searching...
No Matches
vir::constexpr_wrapper< Xp, Tp > Struct Template Reference

Detailed Description

template<auto Xp, typename Tp>
struct vir::constexpr_wrapper< Xp, Tp >

Implements P2781 with modifications:

  • Overload operator-> to return value.operator->() if well-formed, otherwise act like a pointer dereference to underlying value (allows calling functions on wrapped type).
  • Overload operator() to act like integral_constant::operator(), unless value() is well-formed.

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