Lars T. Kyllingstad:
> struct CustomTempAlloc(uint blockSize)
> { // current TempAlloc code here }
>
>
> alias CustomTempAlloc!(4U * 1024U * 1024U) TempAlloc;
Or:
struct TempAlloc(uint blockSize=4U * 1024U * 1024U) {
// Default is 4MB
// current TempAlloc code here }
Bye,
bearophile