C++ Library Extensions 2022.12.09
To help learn modern C++ programming
055-placement_new.cpp File Reference
#include <iostream>
#include <new>
Include dependency graph for 055-placement_new.cpp:

Go to the source code of this file.

Functions

void test_placement_new ()
 
void test_placement_new_using_static ()
 
int main ()
 

Variables

constexpr size_t BufferCount = 10
 
int gBufferMemory [BufferCount]
 

Function Documentation

◆ main()

int main ( )

Definition at line 38 of file 055-placement_new.cpp.

Here is the call graph for this function:

◆ test_placement_new()

void test_placement_new ( )

Definition at line 8 of file 055-placement_new.cpp.

Here is the caller graph for this function:

◆ test_placement_new_using_static()

void test_placement_new_using_static ( )

Definition at line 22 of file 055-placement_new.cpp.

Here is the caller graph for this function:

Variable Documentation

◆ BufferCount

constexpr size_t BufferCount = 10
constexpr

Definition at line 4 of file 055-placement_new.cpp.

◆ gBufferMemory

int gBufferMemory[BufferCount]

Definition at line 6 of file 055-placement_new.cpp.