BloombergLP::bdlb::TopologicalSortUtilEdgeTraits<bsl::pair<NODE_TYPE, NODE_TYPE>>

This struct is a specialization (customization) of TopologicalSortUtilEdgeTraits for bsl::pair<T, T>.

Synopsis

Declared in <bdlb_topologicalsortutil.h>

template<class NODE_TYPE>
struct TopologicalSortUtilEdgeTraits<bsl::pair<NODE_TYPE, NODE_TYPE>>;

Type Aliases

NameDescription
EdgeType The type of the directed connection from one node to another
NodeType The type of values of the nodes of the directed acyclic graph

Static Member Functions

NameDescription
from Return a const reference to the from attribute of the specified edge object.
to Return a to reference to the from attribute of the specified edge object.