Pretty useful when working with templates (for example, this code I wrote, where I had to reproduce this with a false_type/true_type struct). Similar conveniences are part of quite a few STL template types too, namely std::function which I'd say is pretty similar.
Code change checklist
[x] I have ensured that all methods and functions are fully documented using doxygen style comments.
Thank you for your contribution, but PRs must be raised against the dev branch. Please log your pull request against the dev branch not master. You can also retarget this pull request, then reopen it.
Pretty useful when working with templates (for example, this code I wrote, where I had to reproduce this with a false_type/true_type struct). Similar conveniences are part of quite a few STL template types too, namely std::function which I'd say is pretty similar.
Code change checklist