Base type of a typedef

Daniel Keep daniel.keep.lists at gmail.com
Fri Dec 21 17:18:26 PST 2007


Copy + pasted random code segment from one of my projects:

static if( is( T_Type T_BaseType == typedef ) )
{
    toStream(stream, cast(T_BaseType)value);
}


Hope that helps.

	-- Daniel


More information about the Digitalmars-d-learn mailing list