/* * This file is part of the DXX-Rebirth project . * It is copyright by its individual contributors, as recorded in the * project's Git history. See COPYING.txt at the top level for license * terms and a link to the Git history. */ #pragma once #include "d_range.h" template struct constant_xrange : xrange, std::integral_constant> { using base_type = xrange, std::integral_constant>; using base_type::end_type::value; using base_type::end_type::operator index_type; constexpr constant_xrange() : base_type({}, {}) { } };