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

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

#include <graph-dry.H>

Public Types

using Arc = typename GT::Arc
 

Public Member Functions

 Cmp_Dlink_Arc (Cmp &&__cmp=Cmp()) noexcept
 
 Cmp_Dlink_Arc (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_Arc< GT, Cmp >

Used internally for some graphs for compare their arcs.

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

Member Typedef Documentation

◆ Arc

template<class GT , class Cmp >
using Cmp_Dlink_Arc< GT, Cmp >::Arc = typename GT::Arc

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

Constructor & Destructor Documentation

◆ Cmp_Dlink_Arc() [1/2]

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

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

◆ Cmp_Dlink_Arc() [2/2]

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

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

Member Function Documentation

◆ operator()()

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

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

References Cmp_Dlink_Arc< GT, Cmp >::cmp.

Member Data Documentation

◆ cmp

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

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

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


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