ALPS MPS Codes
Reference documentation.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
tag_detail::pair_cmp Struct Reference

#include <tag_detail.h>

Public Member Functions

bool operator() (std::pair< tag_type, tag_type > const &i, std::pair< tag_type, tag_type > const &j) const
 

Detailed Description

Definition at line 40 of file tag_detail.h.

Member Function Documentation

bool tag_detail::pair_cmp::operator() ( std::pair< tag_type, tag_type > const &  i,
std::pair< tag_type, tag_type > const &  j 
) const
inline

Definition at line 42 of file tag_detail.h.

44  {
45  if (i.first < j.first)
46  return true;
47  else if (i.first > j.first)
48  return false;
49  else
50  return i.second < j.second;
51  }

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