NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Compiler Error C2641

illegal pointer to member cast across virtual inheritance path

A pointer to a member is cast to a base class inherited through virtual inheritance.

Example

struct V {};
struct A : virtual V {};
int A::*pma;
int V::*pmv = (int V::*)pma;      // error