atomic.cpp: add sparse atomics

Set alignment as second template argument (typically cache line).
This commit is contained in:
Nekotekina 2020-10-26 00:28:58 +03:00
parent 130a0ef20e
commit d344701fd5
4 changed files with 11 additions and 11 deletions

View file

@ -242,7 +242,7 @@ namespace fmt
const fmt_type_info* get_type_info();
}
template <typename T>
template <typename T, std::size_t Align>
class atomic_t;
// Extract T::simple_type if available, remove cv qualifiers