Closed frederick-vs-ja closed 2 years ago
Wave requires C++11 since 1.79 - maybe we can just use std::allocator_traits<>
?
Wave requires C++11 since 1.79 - maybe we can just use
std::allocator_traits<>
?
I think this is OK. But doing so would partially revert the changes in #93, and might violate @glenfe's intent.
Yes, I think you are right. There is little practical benefit to switching to std::allocator_traits
and a bit of work. Making this update maintains consistency with the existing code, as well.
@jefftrull Thanks a lot!
Since direct call to
a.max_size()
may fail to compile since C++11.I found the fix was missing for
SmallStringOpt
when building a project at work in C++20 mode (wherestd::allocator
'smax_size
is removed).Related to #85, #86, #93.