invoke


code
Syntax [crayon-5c6d2cb327de2070569487/] 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-5c6d2cb327def589761087/] Before invoke: [crayon-5c6d2cb327df6195899219/] After invoke: [crayon-5c6d2cb327dfb581955503/] This is pretty handy when you would like / need […]

Library feature: std::invoke