Partial specialization relies on the principle that only object types can be const-qualified. Reference-types and function-types do not retain the const qualifier when added in this manner, and there are no void class members.
Declared in <bslmf_ismemberobjectpointer.h>
template<
class t_TYPE,
class t_CLASS>
struct is_member_object_pointer<t_TYPE constt_CLASS::*>
: is_const<t_TYPE const>::type
| Name | Description |
|---|---|
is_const<t_TYPE const>::type |