1 2 3 4 5 6 7 8 9 10 11 12 13
#pragma once #include <cstddef> struct Direction { using value_type = std::size_t; static constexpr value_type UP = 0U; static constexpr value_type DOWN = 1U; static constexpr value_type LEFT = 2U; static constexpr value_type RIGHT = 3U; };