Daily Archives: September 27, 2018

Syntax [crayon-5d134f2c56ae2828234023/] 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-5d134f2c56aed192452587/] Before invoke: [crayon-5d134f2c56af2500754959/] After invoke: [crayon-5d134f2c56af6881898636/] This is pretty handy when you would like / need […]

Library feature: std::invoke