There’s no way to extract the type of the template parameter in a HeapBlock, which is quite a useful operation when building templates. This line would suffice:
juce_HeapBlock.h
typedef typename ElementType Type;
There’s no way to extract the type of the template parameter in a HeapBlock, which is quite a useful operation when building templates. This line would suffice:
juce_HeapBlock.h
typedef typename ElementType Type;
Yep, good request, thanks.