This site does not allow itself to be embedded. You can still read it on the original site — the toolbar below keeps your place in the directory.
A lot of times, I find myself using std::function to document APIs and prescribe specific callback signatures. The problem with std::function is its type-erasure, which makes it quite slow compared to other callback techniques. If you need ABI stability, say you are exporting a function for a DLL, you cannot use standard types anyways. They do not ascribe to any ABI standard. So in that case,…
Comments
Nothing yet. Say the first thing.
Sign in to join the conversation.