| 101 | |
| 102 | template <typename... Args> |
| 103 | constexpr std::size_t aligned_space_for(std::uintptr_t ptr) { |
| 104 | std::uintptr_t end = ptr; |
| 105 | ((end = align_one(alignof(Args), sizeof(Args), end)), ...); |
| 106 | return static_cast<std::size_t>(end - ptr); |
| 107 | } |
| 108 | |
| 109 | template <typename... Args> |
| 110 | constexpr std::size_t aligned_space_for() { |
nothing calls this directly
no test coverage detected