
2 May
2013
2 May
'13
11:52 p.m.
I recall some "detail" code in Boost that does exactly what I want: allocate a probably-good-enough size on the stack but switch to heap if needed. But I can't remember where I saw it. Looking around, I came across mentions of Boost.AutoBuffer by Thorsten Ottosen, but all links are dead.