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