|
Boost : |
From: alnsn_at_[hidden]
Date: 2004-07-13 13:31:20
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
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk