c++ - Is there any downside in std::get_temporary_buffer and std::raw_storage_iterator? -
recently heard of get_temporary_buffer
, raw_storage_iterator
's, seem great. in each copy it's possible avoid initialization of n elements, improve performance significantly.
but have worked c++ pretty much, , didn't see anywhere usage of functionalities. there downside? why people don't use them often? why shouldn't use them every time want copy (in new container, of course)?
Comments
Post a Comment