Ideally I'd like to treat it as a struct since I'm using it in a delegate I would like to minimize unnecessary allocations. Is there any way to get D to allocate a class on the stack like a local struct?
using gtk, it has a type called value. One has to use it to get
the value of stuff but it is a class. Once it is used, one
doesn't need it.
- Create class on stack Johnson Jones via Digitalmars-d-learn
- Re: Create class on stack angel via Digitalmars-d-learn
- Re: Create class on stack Moritz Maxeiner via Digitalmars-d-learn
- Re: Create class on stack Johnson Jones via Digitalmars-d-learn
- Re: Create class on s... Moritz Maxeiner via Digitalmars-d-learn
- Re: Create class ... FoxyBrown via Digitalmars-d-learn
- Re: Create c... Adam D. Ruppe via Digitalmars-d-learn
- Re: Crea... FoxyBrown via Digitalmars-d-learn
- Re: Create c... Moritz Maxeiner via Digitalmars-d-learn
- Re: Create class on stack Jacob Carlborg via Digitalmars-d-learn
- Re: Create class on stack Moritz Maxeiner via Digitalmars-d-learn