$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: Joaquín Mª López Muñoz (joaquin_at_[hidden])
Date: 2007-09-21 02:23:14
Joaquín Mª López Muñoz ha escrito:
> Hi Paul,
>
[...]
> So, instead of
>
> typedef typename mi::nth_index<0>::type mi_by_value;
>
> you can write
>
> typedef typename nth_index<mi,0>::type mi_by_value;
Hello Paul, upon concidentally revisiting this same problem when answering
the post at http://listarchives.boost.org/boost-users/2007/09/30953.php , I've realized
that GCC has no issues with dependent nested types, the problem is that
you were missing a dependent template keyword:
typedef typename mi::template nth_index<0>::type mi_by_value;
Of course, the resort to global nth_index<...> is also valid.
Sorry for the confusion,
Joaquín M López Muñoz
Telefónica, Investigación y Desarrollo