29 using IEdgeNamed::IEdgeNamed;
37 modules::Direction dir) {
38 return graph.template map<std::reference_wrapper<modules::AMRGraph>>(
40 OrientedAMRGraph &neigh_graph) -> std::reference_wrapper<modules::AMRGraph> {
45 modules::Direction dir)
const {
46 return graph.template map<std::reference_wrapper<modules::AMRGraph>>(
47 [&](
u64 id,
const OrientedAMRGraph &neigh_graph)
48 -> std::reference_wrapper<modules::AMRGraph> {
T & get_check_ref(const std::unique_ptr< T > &ptr, SourceLocation loc=SourceLocation())
Takes a std::unique_ptr and returns a reference to the object it holds. It throws a std::runtime_erro...