Electroneum
epee::misc_utils::less_as_pod< _Ty > Struct Template Reference

#include <misc_language.h>

Inheritance diagram for epee::misc_utils::less_as_pod< _Ty >:
Collaboration diagram for epee::misc_utils::less_as_pod< _Ty >:

Public Member Functions

bool operator() (const _Ty &_Left, const _Ty &_Right) const
 

Detailed Description

template<class _Ty>
struct epee::misc_utils::less_as_pod< _Ty >

Definition at line 83 of file misc_language.h.

Member Function Documentation

◆ operator()()

template<class _Ty >
bool epee::misc_utils::less_as_pod< _Ty >::operator() ( const _Ty &  _Left,
const _Ty &  _Right 
) const
inline

Definition at line 86 of file misc_language.h.

87  { // apply operator< to operands
88  return memcmp(&_Left, &_Right, sizeof(_Left)) < 0;
89  }

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