$include_dir="/home/hyper-archives/boost/include";
include("$include_dir/msg-header.inc")
?>
- Next message: Paul Long: "[boost] [bitstream] Copy stream buffer or pass pointer?"
- Previous message: Ion Gaztañaga: "Re: [boost] [container][set, map, flat_set, flat_map, +multi_xxx] operator< and operator== seems to ignore custom KeyCompare"
- In reply to: Ion Gaztañaga: "Re: [boost] [container][set, map, flat_set, flat_map, +multi_xxx] operator< and operator== seems to ignore custom KeyCompare"
- Next in thread: Thorsten Ottosen: "Re: [boost] [container][set, map, flat_set, flat_map, +multi_xxx] operator< and operator== seems to ignore custom KeyCompare"
- Reply: Thorsten Ottosen: "Re: [boost] [container][set, map, flat_set, flat_map, +multi_xxx] operator< and operator== seems to ignore custom KeyCompare"
18.07.2013 1:22, Ion Gaztañaga:
> (taken from N3680) Table 98 Optional container operations
[...]
> -> Operational semantics lexicographical_compare
> (a.begin(), a.end(), b.begin(), b.end())
>
> -> Assertion/note: pre: < is defined for values of T. < is a total
> ordering relationship.
[...]
> I guess using Compare for associative containers' operator < could
> perfectly work it won't be the standard behaviour.
+ also, here (Table 98) < is **total ordering**, while "23.2.4
Associative containers" says:
"
2. Each associative container is parameterized on Key and an ordering
relation Compare that induces a **strict weak ordering** (25.4) on
elements of Key. In addition, map and multimap associate an arbitrary
mapped type T with the Key. The object of type Compare is called the
comparison object of a container.
"
--
Evgeny Panasyuk
- Next message: Paul Long: "[boost] [bitstream] Copy stream buffer or pass pointer?"
- Previous message: Ion Gaztañaga: "Re: [boost] [container][set, map, flat_set, flat_map, +multi_xxx] operator< and operator== seems to ignore custom KeyCompare"
- In reply to: Ion Gaztañaga: "Re: [boost] [container][set, map, flat_set, flat_map, +multi_xxx] operator< and operator== seems to ignore custom KeyCompare"
- Next in thread: Thorsten Ottosen: "Re: [boost] [container][set, map, flat_set, flat_map, +multi_xxx] operator< and operator== seems to ignore custom KeyCompare"
- Reply: Thorsten Ottosen: "Re: [boost] [container][set, map, flat_set, flat_map, +multi_xxx] operator< and operator== seems to ignore custom KeyCompare"
$include_dir="/home/hyper-archives/boost/include";
include("$include_dir/msg-footer.inc");
?>