@zielmicha > I'm using it to create a type that should behave like pointer/ref. > pointer/ref types get automatic dereference automatically
I'm not sure if this is exactly what you need, and Araq would probably frown upon it, but I created a macro a little while ago that maybe does what I think you want. It's called subfield and you can look at the source [here](https://github.com/jyapayne/subfield).