|
Boost : |
From: Larry Evans (jcampbell3_at_[hidden])
Date: 2001-05-03 20:35:45
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):
Try a later version of g++. I used GNU C++ version 2.97 20010119 (experimental) (i586-pc-linux-gnu)
without a compile time error.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk