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

Popular posts from this blog

unity3d - Rotate an object to face an opposite direction -

angular - Is it possible to get native element for formControl? -

javascript - Why jQuery Select box change event is now working? -