libIME icon indicating copy to clipboard operation
libIME copied to clipboard

nondependent name lookup members

Open cloudwu opened this issue 6 years ago • 0 comments

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

cloudwu avatar Dec 13 '17 09:12 cloudwu