5 ms·
> to overload the bit shift operators for stream I/O MFC extends this idea to network programming, allowing the use of shift operators to send and receive data
by barosl 2y ago
> to overload the bit shift operators for stream I/O
MFC extends this idea to network programming, allowing the use of shift operators to send and receive data.
- wolfspider 2y agoMFC also has CComPtrBase which uses & to represent pointer lifetimes to COM objects such as while(pEnum->Next(1, &pFilter, &cFetched) == S_OK). Especially fun when debugging DirectShow filtergraphs someone made in the UI completely. There is more of an explanation here: https://devblogs.microsoft.com/oldnewthing/20221010-00/?p=107269 https://devblogs.microsoft.com/oldnewthing/20221010-00/?p=10...