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.
Synopsis
Declared in <bslmf_isfunction.h>
template<class t_TYPE>
struct is_function<t_TYPE&>
: false_type
Base Classes
Name |
Description |
Metafunction representing the boolean constant |
Created with MrDocs