Tag: Remove

  • How to Permanently Remove Items in STL Containers

    remove – What is does and does not do

    Like all STL algorithms, remove receives a pair of iterators to identify the range of container elements over which it needs to operate, as shown in its declaration:

    template< class ForwardIterator, class T >
    ForwardIterator remove( ForwardIterator first,
                            ForwardIterator last,
                            const T& value );
    

    (more…)

  • General Windows How-Tos…

    Starting from today, any useful Windows-related tips I encounter. I anticpate this post will grow as and when I come across any other Windows-related stuff… First off: (more…)