HALDLS
common.h
Go to the documentation of this file.
1 #pragma once
2 #include "haldls/vx/common.h"
3 #include "haldls/vx/genpybind.h"
4 
6 
7 template <typename... Ts>
8 auto visit_preorder(Ts&&... args) -> decltype(haldls::vx::visit_preorder(std::forward<Ts>(args)...))
9 {
10  return haldls::vx::visit_preorder(std::forward<Ts>(args)...);
11 }
12 
13 } // namespace haldls::vx::v3
#define GENPYBIND_TAG_HALDLS_VX_V3
Definition: genpybind.h:6
auto visit_preorder(Ts &&... args) -> decltype(haldls::vx::visit_preorder(std::forward< Ts >(args)...))
Definition: common.h:8
void visit_preorder(ContainerT &config, CoordinateT const &coord, VisitorT &&visitor)
Apply the specified visitor to all containers in a hierarchy by doing a pre-order tree traversal.
Definition: common.h:37