... before remove old files
This commit is contained in:
@@ -429,7 +429,7 @@ concept mcc_prohibited_zone_c =
|
||||
|
||||
// static constexpr member to represent inifite duration
|
||||
requires requires {
|
||||
requires std::same_as<decltype(T::infiniteDuration), typename T::duration_t>;
|
||||
requires std::same_as<decltype(T::infiniteDuration), typename T::duration_t const>;
|
||||
[]() {
|
||||
constexpr auto val = T::infiniteDuration;
|
||||
return val;
|
||||
@@ -438,7 +438,7 @@ concept mcc_prohibited_zone_c =
|
||||
|
||||
// static constexpr member to represent zero duration
|
||||
requires requires {
|
||||
requires std::same_as<decltype(T::zeroDuration), typename T::duration_t>;
|
||||
requires std::same_as<decltype(T::zeroDuration), typename T::duration_t const>;
|
||||
[]() {
|
||||
constexpr auto val = T::zeroDuration;
|
||||
return val;
|
||||
@@ -449,13 +449,13 @@ concept mcc_prohibited_zone_c =
|
||||
// the type 'T' must define a static constexpr member of type MccCoordPairKind
|
||||
// to declarate type of coordinate pair used to describe the zone.
|
||||
// This coordinate pair must be used as input in the 'inZone' class method.
|
||||
requires requires {
|
||||
requires std::same_as<decltype(T::zoneCoordPairKind), const MccCoordPairKind>;
|
||||
[]() {
|
||||
constexpr MccCoordPairKind val = T::zoneCoordPairKind;
|
||||
return val;
|
||||
}(); // to ensure that 'zoneCoordPairKind' can be used at compile-time context
|
||||
};
|
||||
// requires requires {
|
||||
// requires std::same_as<decltype(T::zoneCoordPairKind), const MccCoordPairKind>;
|
||||
// []() {
|
||||
// constexpr MccCoordPairKind val = T::zoneCoordPairKind;
|
||||
// return val;
|
||||
// }(); // to ensure that 'zoneCoordPairKind' can be used at compile-time context
|
||||
// };
|
||||
|
||||
// return a name of the zone
|
||||
{ t_const.name() } -> mcc_formattable;
|
||||
|
||||
Reference in New Issue
Block a user