yosys-master
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
RTLIL::IdString::compare_ptr_by_name< T > Struct Template Reference

#include <rtlil.h>

Public Member Functions

bool operator() (const T *a, const T *b) const
 

Detailed Description

template<typename T>
struct RTLIL::IdString::compare_ptr_by_name< T >

Definition at line 231 of file rtlil.h.

Member Function Documentation

template<typename T >
bool RTLIL::IdString::compare_ptr_by_name< T >::operator() ( const T *  a,
const T *  b 
) const
inline

Definition at line 232 of file rtlil.h.

232  {
233  return (a == nullptr || b == nullptr) ? (a < b) : (a->name < b->name);
234  }

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