• Jason Rhinelander's avatar
    Added metatypes for dealing with functions/lambdas · b4bf5ed5
    Jason Rhinelander authored
    `function_signature_t` extracts the function type from a function,
    function pointer, or lambda.
    
    `is_lambda` (which is really
    `is_not_a_function_or_pointer_or_member_pointer`, but that name is a
    bit too long) checks whether the type is (in the approprate context) a
    lambda.
    
    `is_function_pointer` checks whether the type is a pointer to a
    function.
    b4bf5ed5
pybind11.h 82.3 KB