$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Howard Hinnant (hinnant_at_[hidden])
Date: 2000-10-19 16:27:46
Howard Hinnant wrote on 10/19/2000 5:01 PM
>template <class Symbol>
>struct special_symbol_map
>{
> typedef Symbol symbol_type;
> typedef typename remove_signedness<Symbol>::type index_type;
> // ...
>};
Actually I think the whole thing could be simplified to:
template <class Symbol>
struct special_symbol_map
{
typedef Symbol
symbol_type;
typedef typename boost::uint_t<sizeof(Symbol)*CHAR_BIT>::least
index_type;
// ...
};
<sigh> sometimes you have to write more code before you come around to
the "least code" solution. :-)
-Howard