Reference types are, self-evidently, never function types. The idiom for detecting function types in this component is that a function is a type that is the same as the const-qualified version of that same type. As references also have this property, we must filter out references with this partial specialization.
Declared in <bslmf_isfunction.h>
template<class t_TYPE>
struct is_function<t_TYPE&&>
: false_type
| Name | Description |
|---|---|
false_type | Metafunction representing the boolean constant false. |