libIME
libIME copied to clipboard
nondependent name lookup members
https://github.com/EasyIME/libIME/blob/c246a5d66455b83d95038285b4a12d9bdc63c2a9/ComPtr.h#L142
g++ may raise an error : error: 'p_' was not declared in this scope .
Use (void**)&(this->p_) would be better.
See https://stackoverflow.com/questions/1120833/derived-template-class-access-to-base-class-member-data https://isocpp.org/wiki/faq/templates#nondependent-name-lookup-members