Documentation 6b54b78464
Loading...
Searching...
No Matches
CIdentity< T > Struct Template Reference

Blocks a template parameter from participating in argument deduction. More...

#include <util.hpp>

Public Types

using type = T
 

Detailed Description

template<class T>
struct CIdentity< T >

Blocks a template parameter from participating in argument deduction.

Note
Deduction never applies a user conversion, so a parameter typed plain Double would force a caller passing a bare su2double constant (kappa, a limiter ramp) to have already broadcast it. Wrapping the parameter type here defers Double entirely to the other, genuinely deduced arguments, and the broadcast then happens as an ordinary implicit conversion at the call.

Member Typedef Documentation

◆ type

template<class T >
using CIdentity< T >::type = T

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