Hello!
std::equal_range requires that the container be pre-sorted (
http://www.cplusplus.com/reference/algorithm/equal_range/)
How does multi-index container handle this scenario with respect to hashed non-unique indices. The reason I ask is since I'm facing a situation with equal_range. Please see below code -
typedef bmi<
UserIdEntry,
indexed_by<
hashed_non_unique<tag<id1_id2>,
composite_key<UserIdEntry,
BMI_MEMBER(UserIdEntry, std::string, id1),
BMI_MEMBER(UserIdEntry, std::string, id2)
>
>
>
> UserIdContainer;