Boost logo

Boost :

Subject: [boost] [Boost.Container] documentation problems
From: John M. Dlugosz (mpbecey7gu_at_[hidden])
Date: 2014-01-01 00:07:46

A slightly old version of the flat_map documentation
defines flat_map's Pred wrong:

     template<typename Key, typename T,
              typename Pred = std::less< std::pair< Key, T> >,
              typename A = std::allocator<T> >
       class flat_map;

It should be std::less<Key>.

Why do I care about a slightly old version, you might ask? Well, the current version
doesn't seem to document it at all!

If I go to the "latest version" link,
doesn't show any definition for flat_map itself, just for comparison operators and other
non-member templates. I can't find any means of navigating into the actual documentation
for the class members, assuming it still exists. This is generally true for the other
containers on that web page.

Boost list run by bdawes at, gregod at, cpdaniel at, john at