Boost logo

Boost :

From: Jason House (jhouse_at_[hidden])
Date: 2003-11-06 15:07:45

I think I might be in trouble. I am using VC6.

s.get<0>() is invalid because there the function was omitted in order to
avoid member template specialization. I did some greps on the code to
see if a tuple-like workaround is present. I did not find one. Do I
need to go pick up a copy of VC7?

Joaquín Mª López Muñoz wrote:
> typedef indexed_set<..> my_indexed_set;
> my_indexed_set s;
> my_indexed_set::iterator_type<0>::type it =s.get<0>().begin(); // returns iterator
> to the index #0
> my_indexed_set::iterator_type<1>::type it =s.get<1>().end(); // returns iterator
> to the index #1

Boost list run by bdawes at, gregod at, cpdaniel at, john at