This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
deque::at( size_type idx ) missing
- To: egcs at egcs dot cygnus dot com
- Subject: deque::at( size_type idx ) missing
- From: bender at iib dot tu-darmstadt dot de (Peter Bender)
- Date: Tue, 6 Apr 1999 17:54:18 +0200
Hello,
just a small annotation:
As far as I know there should be a function called
referenze container::at( size_type idx )
and
const_referenze container::at( size_type idx ) const
where 'container' could be vector, deque and string.
In contrast to the []-operator there should be a range
check of the paramter idx.
I've had just the need for a deque::at and it seems that
this function isn't implemented yet. (Correct me if I'm wrong)
It would just be a small hack to copy the []-operators and
rename them to 'at'. (There still no range-check, but who
cares ;-) )
bye
Peter
________
/ / /\ Peter Bender .++,.. .__q"\ /\
/ __/---/\/ email: pbender@gmx.de ~~+^v^v^v~~~~~+~ ^^_|'/ ->
/__/_____/\/ www: www.iib.bauing.tu-darmstadt.de/~bender _/ \_>
\__\_____\/ _(._):_.