книги Наука, техника, медицина Техника Машиностроение

Placement syntax

Код 3409846

  • ISBN: 978-5-5087-2917-2

Нет в продаже

Аннотация к книге "Placement syntax"

High Quality Content by WIKIPEDIA articles! In the C++ programming language, placement syntax allows programmers to explicitly specify the memory management of individual objects — i.e. their "placement" in memory. Normally, when an object is created dynamically, an allocation function is invoked in such a way that it will both allocate memory for the object, and initialize the object within the newly allocated memory. The placement syntax allows the programmer to supply additional arguments to the allocation function. A common use is to supply a pointer to a suitable region of storage where the object can be initialized, thus separating memory allocation from object construction.

Оставить комментарий

Оцените книгу:

ISBN: 978-5-5087-2917-2

Книга находится в категориях

Отраслевая экономика

Вместе с этой книгой покупают