stdcxx-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Sebor <se...@roguewave.com>
Subject Re: non_options.push_back( Stringa );
Date Wed, 14 May 2008 17:35:51 GMT
pegasus2000 wrote:
> 
[...]
> I need to know this: 
> 
> how STDCXX translates the method push_back ?
> I need to know precisely what is the routine 
> that is executed by the system when the
> method is called (in particular, its
> position in your source code).

In your case, the function that does all the work is
vector::_C_insert_n() defined in vector.cc:

http://fisheye6.cenqua.com/browse/~tag=4.2.1/stdcxx/tags/4.2.1/include/vector.cc?r=4.2.x#l201

The full "stack trace" looks like this:

[3] vector::_C_insert_n():
http://fisheye6.cenqua.com/browse/~tag=4.2.1/stdcxx/tags/4.2.1/include/vector.cc?r=4.2.x#l201
[2] vector::_C_insert_1():
http://fisheye6.cenqua.com/browse/~tag=4.2.1/stdcxx/tags/4.2.1/include/vector.cc?r=4.2.x#l165
[1] vector::push_back():
http://fisheye6.cenqua.com/browse/~tag=4.2.1/stdcxx/tags/4.2.1/include/vector?r=4.2.x#l508

Martin

Mime
View raw message