| Thread Previous • Date Previous • Date Next • Thread Next |
On 23/02/11 16:07, Anders Logg wrote: > B1;2600;0cOn Wed, Feb 23, 2011 at 02:41:50PM +0000, Garth N. Wells wrote: >> It looks to me like IndexSet should have some assertions added to check >> for out of bounds indices. > > I'm not so sure. It uses std::vector so I would think it's the > responsibility of std::vector to assert indices. > std::vector::operator[] does not perform bounds checking. std::vector::at() does. Garth > -- > Anders
| Thread Previous • Date Previous • Date Next • Thread Next |