Boost logo

Boost :

From: Jens Maurer (Jens.Maurer_at_[hidden])
Date: 2001-05-04 02:23:49


rwgk_at_[hidden] wrote:
>
> I am trying to follow David's suggestion:
>
> double getitem(const std::vector<double>& vd, std::size_t key) {
> return vd.at(key);
> }
>
> This compiles fine with VC60, Compaq cxx, Silicon Graphics CC,
> but NOT with gcc-2.95.2 (RedHat 6.1):

gcc 2.95.2 has an outdated library which does not support
std::vector<>::at().

Jens Maurer


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