This document tries to list all changes that must be made to individual patches when backporting them to earlier branches of the codebase.
This list is incomplete.
std::abs
by mpt::abs
.std::byte
by mpt::byte
.std::clamp
by mpt::clamp
.std::data
by mpt::data
.std::gcd
by mpt::gcd
.std::lcm
by mpt::lcm
.std::make_unique
by mpt::make_unique
.std::size
by mpt::size
.if constexpr
by MPT_CONSTANT_IF
.static_assert
by MPT_STATIC_ASSERT
.[[nodiscard]]
by MPT_NODISCARD
.[[fallthrough]]
by MPT_FALLTHROUGH
.mpt::lock_guard
by MPT_LOCK_GUARD
.