Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#970 closed defect (fixed)

SegmentTree compare functions do not compile

Reported by: Peter Owned by: Jari Häkkinen
Priority: major Milestone: yat 0.18.1
Component: utility Version: 0.18
Keywords: Cc:


The problem occurs both for SegmentSet and SegmentMap. Code such as

*::value_compare vc = s.value_comp();
*::key_compare kc = s.key_comp();

does not compile.

Change History (2)

comment:1 Changed 3 years ago by Peter

Resolution: fixed
Status: newclosed

In 4028:

fixes #970

comment:2 Changed 3 years ago by Peter

In 4029:

extend the tests show what the comparison functors take as argument; refs #970

Note: See TracTickets for help on using tickets.