> I'm not seeing this - can you clarify?
#include is a C pre-processor feature which just pastes in whatever the contents of the specified file are. Did you not know that's what it does ?
> Humor me, show me where this "member function" is?
That doAsyncOperation is a member function. Unlike member variables, which are part of the actual data structure we're defining, the member functions are the peculiar syntax for methods in C++, the function won't actually live inside the data structure, we're not making any sort of function pointer or reference - it's just written here because presumably Bjarne couldn't think of anywhere better to put it.
I guess it's possible you didn't understand that, it does seem like a fair number of undergrads think this will be how it works when shown C++ which isn't great news.
> I honestly feel like we're not reading the same code .. but maybe that's your point.
I'm reading the code you wrote in https://news.ycombinator.com/item?id=45484503 and frankly the response just makes me think C++ programmers don't understand C++ either.