Skip to content

question about sigc::mem_fun #108

@rherilier

Description

@rherilier

While trying to solve my problems in #107, I noticed a thing that annoys me in sigc::mem_fun implementation:

The functions argument is T_return (T_obj2::*func)(T_arg...) but the returned functor is created as a T_return (T_obj::*)(T_arg...). The 2 has disappeared.

Does it not encapsulate the wrong method?

best regards

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions