Re: [boost] compile-time functions interface

2003-02-02 Thread David Abrahams
Gennaro Prota <[EMAIL PROTECTED]> writes: > This is a simple question; suppose you have a template like this: > > template < unsigned long x > > struct static_log2 > { > BOOST_STATIC_CONSTANT( int, value = ...); > }; > > > and that the implementation you use is absolutely general as fa

[boost] compile-time functions interface

2003-02-02 Thread Gennaro Prota
This is a simple question; suppose you have a template like this: template < unsigned long x > struct static_log2 { BOOST_STATIC_CONSTANT( int, value = ...); }; and that the implementation you use is absolutely general as far as the argument type is concerned; in other words: if C++0