A
Size: a a a
A
AB
АК
A
АК
A
monotonic_buffer_resource
ничего не выделяет, а использует memory_resource
. И я не понимаю зачем он здесь вообще.AT
АК
std::vector<T> v;
auto it = v.begin();
auto moved_v = std::move(v);
assert(it == moved_v.begin()); // will fire with SOO
m
monotonic_buffer_resource
предназначен для совсем других целей.АК
std::vector<T> v;
auto it = v.begin();
auto moved_v = std::move(v);
assert(it == moved_v.begin()); // will fire with SOO
АК
A
monotonic_buffer_resource
предназначен для совсем других целей.AT
АК
vector( vector&& other ) noexcept;
basic_string( basic_string&& other ) noexcept;
CD
std::vector<T> v;
auto it = v.begin();
auto moved_v = std::move(v);
assert(it == moved_v.begin()); // will fire with SOO
CD
m