template <int N>
struct Int2Type {
enum { value = N; };
};That might give you the type you need to specialize based on an int. Int2Type<DIGESTSIZE> ;
not-wei, andy Jeffrey Walton wrote:
However, template <class T, class A = AllocatorWithCleanup<T> > class SecBlock is a different story. I can't Specialize a Template based on a Value (0) - only a type (unsigned int).
