________________________________________
De: boost-users-bounces@lists.boost.org [boost-users-bounces@lists.boost.org] En nombre de Dominique Devienne [ddevienne@gmail.com]
Enviado el: miércoles, 15 de julio de 2009 0:37
Para: boost-users@lists.boost.org
Asunto: Re: [Boost-users] [Multi-Index] has_index
My own attempt below fails on tag_list precisely, and I don't understand why. Your post came just in time :) Although if someone can point where mine went wrong, I'm still interested.
[...]
using namespace boost; using boost::multi_index::detail::has_tag;
template
struct has_index { typedef typename BMI::index_type_list index_type_list; typedef typename mpl::end ::type index_type_list_end; typedef typename has_tag<TAG>::template apply ::type iter;
has_tag applies to each index individually, not the entire index_type_list. Joaquín M López Muñoz Telefónica, Investigación y Desarrollo