Add invoke function for C++14 and lower
This will create a new commit in order to revert the existing changes.