Aleph-w 7.10.0
A C++ Library for Data Structures and Algorithms
Loading...
Searching...
No Matches
graph_filters::Throwing_Copy< GT > Struct Template Reference

A hand-written copy that is not noexcept, which leaves the type without a move: std::move_if_noexcept copies it. More...

#include <graph_filter_catalog.H>

Public Member Functions

 Throwing_Copy ()=default
 
 Throwing_Copy (unsigned long mask)
 
 Throwing_Copy (const Throwing_Copy &other)
 
Throwing_Copy & operator= (const Throwing_Copy &other)
 
bool operator() (typename GT::Arc *a) const
 

Public Attributes

unsigned long hidden = 0
 

Detailed Description

template<class GT>
struct graph_filters::Throwing_Copy< GT >

A hand-written copy that is not noexcept, which leaves the type without a move: std::move_if_noexcept copies it.

Definition at line 166 of file graph_filter_catalog.H.

Constructor & Destructor Documentation

◆ Throwing_Copy() [1/3]

template<class GT >
graph_filters::Throwing_Copy< GT >::Throwing_Copy ( )
default

◆ Throwing_Copy() [2/3]

template<class GT >
graph_filters::Throwing_Copy< GT >::Throwing_Copy ( unsigned long  mask)
inlineexplicit

Definition at line 171 of file graph_filter_catalog.H.

◆ Throwing_Copy() [3/3]

template<class GT >
graph_filters::Throwing_Copy< GT >::Throwing_Copy ( const Throwing_Copy< GT > &  other)
inline

Definition at line 172 of file graph_filter_catalog.H.

Member Function Documentation

◆ operator()()

template<class GT >
bool graph_filters::Throwing_Copy< GT >::operator() ( typename GT::Arc *  a) const
inline

◆ operator=()

template<class GT >
Throwing_Copy & graph_filters::Throwing_Copy< GT >::operator= ( const Throwing_Copy< GT > &  other)
inline

Member Data Documentation

◆ hidden

template<class GT >
unsigned long graph_filters::Throwing_Copy< GT >::hidden = 0

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