std::get_temporary_buffer
Aus cppreference.com
|
|
This page has been machine-translated from the English version of the wiki using Google Translate.
The translation may contain errors and awkward wording. Hover over text to see the original version. You can help to fix errors and improve the translation. For instructions click here. |
<metanoindex/>
<tbody> </tbody>| definiert in Header <memory>
|
||
template< class T > std::pair< T*, std::ptrdiff_t > get_temporary_buffer( std::ptrdiff_t count ) |
||
Weist Speicher ausreichen, um bis zu
count angrenzenden Objekte vom Typ T. Wenn es nicht genügend Speicher für alle count Objekte, weist weniger als count, wenn möglich .Original:
Allocates storage sufficient to store up to
count adjacent objects of type T. If there is insufficient memory for all