template property

Zarathustra adam.chrapkowski at gmail.com
Sun Aug 24 03:08:35 PDT 2008


Is it possible to create template property without set and get prefixes?

public TResult 
value/* setValue */(TResult = char[])(TResult o_value){ 
  return this.SetValue!(TResult)(o_value); 
}

public TResult 
value/* getValue */(TResult = char[])(               ){ 
  return this.GetValue!(TResult)(       ); 
}


More information about the Digitalmars-d-learn mailing list