Skip to main content
Filter by
Sorted by
Tagged with
2 votes
0 answers
149 views

This question rises for a discussion of the answer to another question about allocation in constexpr context. cppreference states that std::allocator<T>::allocate(std::size_t n) allocates an ...
Oersted's user avatar
  • 3,732
1 vote
2 answers
212 views

Let's say I have an allocator which gives out entire cachelines per request. So each allocation will begin on a new cacheline. constexpr auto L1 = std::hardware_destructive_interference_size; std::...
rad's user avatar
  • 93