relink() usage incorrect in section "Implementing a Cache of Limited Size" of documentation
In this section, the docs state:
If the cache is a linked_hash_map, you can use relink() to alter iteration order. For instance, adding:
cache.relink (entry, cache.end ());
However, the two parameters are reversed. Also, entry is declared as a const_iterator, but if used with relink it must not be const.