Open breese opened 4 years ago
From #35
Allocator construction shouldn't use addressof(*ptr) but instead to_address(ptr) (using addressof(*ptr) here before ptr references an object of T is undefined behavior).
addressof(*ptr)
to_address(ptr)
Good catch.
When was to_address added to Boost? 1.65?
to_address
Affirmative (1.65)
From #35