Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

PrevUpHomeNext

Struct template cache_last

boost::intrusive::cache_last

Synopsis

// In header: <boost/intrusive/options.hpp>

template<bool Enabled> 
struct cache_last {
};

Description

If true, slist also stores a pointer to the last element of the singly linked list. This allows O(1) swap and splice_after(iterator, slist &) for circular slists and makes possible new functions like push_back(reference) and back().


PrevUpHomeNext