how to use opdot

Steven Schveighoffer schveiguy at yahoo.com
Thu Nov 20 17:24:46 PST 2008


"Christopher Wright" wrote
> Steven Schveighoffer wrote:
>> Not exactly ;)  The wrapped type is not equivalent to inheritance.
>
> No, exactly:
>
> class Wrapper(T) : T
> {
> T opDot() {}
> }

class Wrapper(T) : T
{
}

works just as good ;)

-Steve 




More information about the Digitalmars-d-learn mailing list