Aleph-w 7.10.0
A C++ Library for Data Structures and Algorithms
Loading...
Searching...
No Matches
graph_filters Namespace Reference

Classes

struct  Const_Member
 A const member: default constructible, not assignable. More...
 
struct  Counting
 As Hide_Mask, and counts its calls through a pointer. More...
 
struct  Deque_Member
 A std::deque member, whose move is not noexcept in libstdc++. More...
 
struct  Filter_Throws
 The calls, counted from 1, of the filters whose call is not noexcept, and the one that throws Thrown_By_Filter; none if throw_at is 0. More...
 
struct  Hide_Mask
 Hides the arcs of a mask; copyable, assignable, noexcept. More...
 
struct  Reference_Member
 Keeps its mask by reference: neither assignable nor default constructible. More...
 
struct  Throw_At
 Throws std::runtime_error at the call whose number, counted from 1 through a shared counter, is throw_at. More...
 
struct  Throwing_Copy
 A hand-written copy that is not noexcept, which leaves the type without a move: std::move_if_noexcept copies it. More...
 
struct  Throwing_Weight
 As Weight_Of, and throws std::runtime_error at the call whose number, counted from 1 through a shared counter, is throw_at. More...
 
struct  Thrown_By_Filter
 What a filter whose call is not noexcept throws at the call Filter_Throws::throw_at. More...
 
struct  Weight_Of
 The weight of an arc, read by its number from a vector. More...
 
struct  Weight_Without_Default
 As Weight_Of, without a default constructor. More...
 

Typedefs

template<class GT >
using Capturing_Lambda = decltype(make_capturing_lambda< GT >(0))
 

Functions

constexpr bool shown (unsigned long hidden, int i) noexcept
 Whether the arc number i is shown by the mask hidden.
 
bool shown_or_throws (unsigned long hidden, int i)
 shown(), for a filter whose call is not noexcept: it counts the call, and throws at the call Filter_Throws::throw_at
 
template<class GT >
auto make_capturing_lambda (unsigned long hidden)
 A lambda with captures: copyable, neither assignable nor default constructible.
 

Typedef Documentation

◆ Capturing_Lambda

template<class GT >
using graph_filters::Capturing_Lambda = typedef decltype(make_capturing_lambda<GT>(0))

Definition at line 131 of file graph_filter_catalog.H.

Function Documentation

◆ make_capturing_lambda()

template<class GT >
auto graph_filters::make_capturing_lambda ( unsigned long  hidden)

A lambda with captures: copyable, neither assignable nor default constructible.

Definition at line 125 of file graph_filter_catalog.H.

References shown_or_throws().

◆ shown()

constexpr bool graph_filters::shown ( unsigned long  hidden,
int  i 
)
constexprnoexcept

◆ shown_or_throws()

bool graph_filters::shown_or_throws ( unsigned long  hidden,
int  i 
)
inline