c++ - How to use boost::function_types::parameter_types with ClassTypeTransform -
An example provided in the boost library has been done with the HPP and I am trying to find out that How to use this parameter_type correctly
To parse the class member function signature, parameter_type requires a classType transform.
I want to parse the signature of the member function, but I can not find any doctor about this lymda expression.
Type Transformform MPL - to Transform Lambda Expression Class if F is a member function pointer
Which page is from me, really There is no sample code using it and I was hoping that someone knows how to use it to parse the member work signature.
classtranslation
is used only to modify the first argument type Is parameter_type & lt; & Gt;
A member function applies to the pointer type. Default add_reference & lt; _ & Gt;
, for example:
parameter_types & lt; Void (x :: *) (int) & gt; :: type - & gt; Some white & lt; Zero, x &, et & gt; Parameter_type & lieutenant; Zero (x :: *) (int), mlp :: identity & lt; _ & Gt; & Gt; :: type - & gt; Some white & lt; Zero, X, Int, & gt; Parameter_type & lieutenant; Zero (x :: *) (int), ed pointer & lt; _ & Gt; & Gt; :: type - & gt; Some white & lt; Zero, X *, int & gt;
Comments
Post a Comment