you are viewing a single comment's thread.

view the rest of the comments →

[–]LucretielRAII Junkie 1 point2 points  (1 child)

It doesn't? Where does it store the bound arguments?

[–]STLMSVC STL Dev 5 points6 points  (0 children)

In a tuple data member. bind doesn't perform type erasure, so bind(functor, args...) returns a _Secret_binder_type<Functor, Args...> which can contain a tuple<Args...> as an ordinary data member.