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

#include <rtlil.h>

Public Member Functions

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

Detailed Description

template<typename T>
struct RTLIL::sort_by_name_str< T >

Definition at line 277 of file rtlil.h.

Member Function Documentation

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

Definition at line 278 of file rtlil.h.

278  {
279  return strcmp(a->name.c_str(), b->name.c_str()) < 0;
280  }

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