48#include <lal/definitions.hpp>
54template<
typename Iterated_Type,
typename Iterator>
55struct is_pointer_iterator {
56 static constexpr bool value =
57 std::is_same_v<Iterator, Iterated_Type*> ||
59 typename std::iterator_traits<Iterator>::value_type,
64template<
typename Iterated_Type,
typename Iterator>
65inline constexpr bool is_pointer_iterator_v =
66 is_pointer_iterator<Iterated_Type, Iterator>::value;
70inline void UNUSED(
const T& x) { (void)x; }
82template<
typename result_t,
typename graph_t,
typename ... Params>
83inline result_t call_with_empty_arrangement(
88 if (arr.size() != 0) {
92 std::iota(__arr.begin(), __arr.end(), 0);
93 return F(g, __arr, P...);
Main namespace of the library.
Definition definitions.hpp:48
std::vector< position > linear_arrangement
A linear arrangement of the nodes of a graph.
Definition definitions.hpp:72