BDE 4.14.0 Production release
|
Provide meta-function to detect pointer to member traits.
This component provides a meta-function, bslmf::MemberPointerTraits
, that determines traits of a pointer-to-member type, including the type of the object that it is a member of, and the type of the member it addresses.
Define the following struct
with the following members:
In order to deduce the types of func1
and d_int
, we will use bslmf::MemberPointerTraits
.
The following program should compile and run without errors: