Daily Archives: September 27, 2018

Syntax [crayon-5c6d2dab0a280686725594/] 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-5c6d2dab0a291478580534/] Before invoke: [crayon-5c6d2dab0a297130608288/] After invoke: [crayon-5c6d2dab0a29c528245447/] This is pretty handy when you would like / need […]

Library feature: std::invoke