$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Hartmut Kaiser (hartmutkaiser_at_[hidden])
Date: 2003-01-08 16:25:03
David Abrahams wrote:
> > //  The following expands to
> > //
> > //	typedef char (&sizeN_t)[N];
> > //
> > //  for N = 1..BOOST_MAX_SIZETYPE_COUNT
> > #define SIZETYPE(z, n, nil) \
> > 	typedef char (&size ## n ## _t)[n]; \
> > 	/**/
>
> Careful; isn't the symbol "_t" reserved to the implementation
> in this context?
The purpose of the macros was to generate a couple of
    typedef char (&sizeN_t)[N];   // for N=1..MAX
Statements, so _t is never seen by the compiler.
But anyway the solution proposed by Paul is cleaner, so I vote for it.
Regards Hartmut