/ single linked homogenous list template

Bjoern nanali at nospam-wanadoo.fr
Mon May 5 07:02:41 PDT 2008


Thanks!
Have no D2 on board... Probabely this works ???
struct Ref(T)
{
      public opDot!(T)
      {
        static if(is(typeof(T.opDot))
           {
             return value;
           }
     }
     private T* value;
}
Bjoern
PS hope Walter will spend us ref return values soon



More information about the Digitalmars-d mailing list