-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
Hi
This align confused me:
| auto align(char* buf_start) -> char* { |
I thought that when you do placement new, you should automatically get the aligned address.
And also that aligned_storage should have sufficient size to store anything of that size or less.
Is this to support custom aligned types and arbitrary buffer sizes?
What are you trying to achieve?
Why do you use RTTI instead of strategy pattern?
liberasure/include/erasure/erasure.hpp
Line 266 in a0ff84d
| return x && y && (std::type_index(typeid(*x)) == std::type_index(typeid(*y))); |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels