kim-api  2.3.1-git+v2.3.0-git-2-g378406f9.GNU.GNU.
An Application Programming Interface (API) for the Knowledgebase of Interatomic Models (KIM).
Public Member Functions | List of all members
KIM::ENERGY_UNIT::Comparator Struct Reference

Structure provided for use with std::map. More...

#include <KIM_EnergyUnit.hpp>

Public Member Functions

bool operator() (EnergyUnit const &a, EnergyUnit const &b) const
 Provides an (logically unmeaningful) ordering for EnergyUnit objects so that they can be stored in a std::map. More...
 

Detailed Description

Structure provided for use with std::map.

Since
2.0

Definition at line 217 of file KIM_EnergyUnit.hpp.

Member Function Documentation

◆ operator()()

bool KIM::ENERGY_UNIT::Comparator::operator() ( EnergyUnit const &  a,
EnergyUnit const &  b 
) const
inline

Provides an (logically unmeaningful) ordering for EnergyUnit objects so that they can be stored in a std::map.

Since
2.0

Definition at line 223 of file KIM_EnergyUnit.hpp.


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