FMT 1.2.0
Forest management tools for forest planning
Loading...
Searching...
No Matches
Public Member Functions | List of all members
Core::cmpYieldString Struct Reference

Comparator ordering yield names by length then by content from the end. More...

#include <FMTYieldHandler.h>

Public Member Functions

bool operator() (const std::string &p_first, const std::string &p_second) const noexcept
 Compare two yield names.
 

Detailed Description

Comparator ordering yield names by length then by content from the end.

Member Function Documentation

◆ operator()()

bool Core::cmpYieldString::operator() ( const std::string &  p_first,
const std::string &  p_second 
) const
inlinenoexcept

Compare two yield names.

Parameters
[in]p_firstthe first yield name.
[in]p_secondthe second yield name.
Returns
true if the first is less than the second else false.

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