3 ms·
You have Alexander Stepanov to thank: http://stepanovpapers.com/STL/DOC.PDF http://stepanovpapers.com/STL/DOC.PDF The thought was to have the symmetry of push
by layer8 2y ago
You have Alexander Stepanov to thank: http://stepanovpapers.com/STL/DOC.PDF http://stepanovpapers.com/STL/DOC.PDF
The thought was to have the symmetry of push and pop, on both ends of a sequence container. See table 11 on page 22 (actually page 24 of the PDF).