My Project
Public Member Functions | List of all members
CommentOrder Struct Reference

Compare two Comment pointers. More...

#include <comment.hh>

Public Member Functions

bool operator() (const Comment *a, const Comment *b) const
 Comparison operator. More...
 

Detailed Description

Compare two Comment pointers.

Comments are ordered first by function, then address, then the sub-sort index.

Member Function Documentation

◆ operator()()

bool CommentOrder::operator() ( const Comment a,
const Comment b 
) const

Comparison operator.

Parameters
ais the first Comment to compare
bis the second
Returns
true is the first is ordered before the second

The documentation for this struct was generated from the following files: