Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
Loading...
Searching...
No Matches
Cmp_Dlink_Node< GT, Cmp > Struct Template Reference

Used internally for some graphs for compare their nodes. More...

#include <graph-dry.H>

Public Types

using Node = typename GT::Node
 

Public Member Functions

 Cmp_Dlink_Node (Cmp &&__cmp=Cmp()) noexcept
 
 Cmp_Dlink_Node (Cmp &__cmp) noexcept
 
bool operator() (Dlink *d1, Dlink *d2) const noexcept
 

Public Attributes

Cmp & cmp
 

Detailed Description

template<class GT, class Cmp>
struct Cmp_Dlink_Node< GT, Cmp >

Used internally for some graphs for compare their nodes.

Definition at line 367 of file graph-dry.H.

Member Typedef Documentation

◆ Node

template<class GT , class Cmp >
using Cmp_Dlink_Node< GT, Cmp >::Node = typename GT::Node

Definition at line 369 of file graph-dry.H.

Constructor & Destructor Documentation

◆ Cmp_Dlink_Node() [1/2]

template<class GT , class Cmp >
Cmp_Dlink_Node< GT, Cmp >::Cmp_Dlink_Node ( Cmp &&  __cmp = Cmp())
inlinenoexcept

Definition at line 373 of file graph-dry.H.

◆ Cmp_Dlink_Node() [2/2]

template<class GT , class Cmp >
Cmp_Dlink_Node< GT, Cmp >::Cmp_Dlink_Node ( Cmp &  __cmp)
inlinenoexcept

Definition at line 377 of file graph-dry.H.

Member Function Documentation

◆ operator()()

template<class GT , class Cmp >
bool Cmp_Dlink_Node< GT, Cmp >::operator() ( Dlink *  d1,
Dlink *  d2 
) const
inlinenoexcept

Definition at line 381 of file graph-dry.H.

References Cmp_Dlink_Node< GT, Cmp >::cmp.

Member Data Documentation

◆ cmp

template<class GT , class Cmp >
Cmp& Cmp_Dlink_Node< GT, Cmp >::cmp

Definition at line 371 of file graph-dry.H.

Referenced by Cmp_Dlink_Node< GT, Cmp >::operator()().


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