Opened 6 years ago

Closed 6 years ago

#826 closed request (fixed)

function and/or functor to compare bam query name

Reported by: Peter Owned by: Peter
Priority: minor Milestone: yat 0.13
Component: omic Version: 0.12.2
Keywords: Cc:

Description

There is a function same_query_name but there is no function to less than compare.

Change History (3)

comment:1 Changed 6 years ago by Peter

Suggestion for implementation

return std::lexicographical_compare(lhs.name(), lhs.name()+lhs.core().l_qname,
                                    rhs.name(), rhs.name()+rhs.core().l_qname);
Last edited 6 years ago by Peter (previous) (diff)

comment:2 Changed 6 years ago by Peter

Milestone: yat 0.x+yat 0.13
Status: newassigned

comment:3 Changed 6 years ago by Peter

Resolution: fixed
Status: assignedclosed

(In [3384]) closes #826

Note: See TracTickets for help on using tickets.