28class ScopedLowPowerModeDisabler::Pimpl
33 if (@available (
macOS 10.9, *))
35 reason:
@"App must remain in high-power mode"];
40 if (@available (
macOS 10.9, *))
58ScopedLowPowerModeDisabler::ScopedLowPowerModeDisabler()
59 : pimpl (
std::make_unique<
Pimpl>()) {}
61ScopedLowPowerModeDisabler::~ScopedLowPowerModeDisabler() =
default;
Type unalignedPointerCast(void *ptr) noexcept
Casts a pointer to another type via void*, which suppresses the cast-align warning which sometimes ar...