On Wed, 19 Oct 2011 02:06:06 -0400, Gor Gyolchanyan
<[email protected]> wrote:
I meant, i have a member of type HWND.
On Wed, Oct 19, 2011 at 6:47 AM, Robert Jacques <[email protected]> wrote:
On Mon, 17 Oct 2011 08:28:08 -0400, Gor Gyolchanyan
<[email protected]> wrote:
I don't get it. HWND is an alias for void*. void* is data. what do you
mean, "alias is not data"?
void* is a type, not a member field of the class (data)
And
shared class T
{
alias void* v;
v v2;
static assert(is(typeof(v2) == shared));
}
compiles so what's your problem?