
13 Jul
2004
13 Jul
'04
6:31 p.m.
Arkadiy, I put a reference to your library to Russian site www.rsdn.ru. Shortly after that Andrey Beliakov commented out sizer class. He writes that sizeof(sizer<N>) is not necessarily equal to N::value. Andrey suggests rewriting the sizer: template<class N> struct sizer { typedef char(&type)[N::value]; }; and use sizer<N>::type in place of sizer<N>. Here is a reference to his message (in Russian): http://www.rsdn.ru/Forum/Message.aspx?mid=717690&only=1 -- Alexander Nasonov