invoke


code
Syntax [crayon-5d5c85f718af9201676382/] Invoke gives a uniform way of calling methods and functions. But why would we use this ? Let’s try to call some class functions, assuming we have the following struct defined. [crayon-5d5c85f718b04355136990/] Before invoke: [crayon-5d5c85f718b09313951508/] After invoke: [crayon-5d5c85f718b0c146453833/] This is pretty handy when you would like / need […]

Library feature: std::invoke