Are stack+heap classes possible in D?
FujiBar via Digitalmars-d-learn Sat, 13 Jun 2015 17:56:05 -0700
I have read that in D structs are always allocated on the stack
while classes are always allocated on the heap. Well, I often
have classes where I want some instances on the stack, some on
the heap. So.. what to do?
- Are stack+heap classes possible in... FujiBar via Digitalmars-d-learn
- Re: Are stack+heap classes po... Adam D. Ruppe via Digitalmars-d-learn
- Re: Are stack+heap classe... FujiBar via Digitalmars-d-learn
- Re: Are stack+heap classe... WhatMeWorry via Digitalmars-d-learn
- Re: Are stack+heap cl... ketmar via Digitalmars-d-learn
- Re: Are stack+heap classe... Shachar Shemesh via Digitalmars-d-learn
- Re: Are stack+heap cl... rsw0x via Digitalmars-d-learn