atomic.cpp: add sparse atomics
Set alignment as second template argument (typically cache line).
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user