tess 0.4.0
Performance-first tile and path simulation substrate
Loading...
Searching...
No Matches
tess::movement::MovementClassFor Concept Reference

Checks that C provides movement operations compatible with Page. More...

#include <tess/topology/movement_class.h>

Concept definition

template<typename C, typename Page>
concept MovementClassFor = std::derived_from<C, movement_class_tag> &&
requires(const Page& page, LocalTileId id) {
{
C::passable(page, id)
} -> std::convertible_to<bool>;
{
C::entry_cost(page, id)
} -> std::convertible_to<std::uint32_t>;
}
Checks that C provides movement operations compatible with Page.
Definition movement_class.h:184
Definition shape.h:59

Detailed Description

Checks that C provides movement operations compatible with Page.