Boost logo

Boost :

From: Joaquín Mª López Muñoz (joaquin_at_[hidden])
Date: 2003-11-07 02:00:04


Jason House ha escrito:

> 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?
>

indexed_set works for MSVC++ 6.0 sp5. A global function get is provided
so that

  s.get<...>()

can be rewritten as

  boost::indexed_sets::get<...>(s)

much as in Boost.Tuple.

Joaquín M López Muñoz
Telefónica, Investigación y Desarrollo


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk