MCPcopy Create free account
hub / github.com/boostorg/asio / context_memory

Method context_memory

example/cpp11/allocation/server.cpp:30–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28{
29public:
30 explicit context_memory(std::size_t preallocated)
31 : preallocated_(preallocated),
32 next_allocation_(0),
33 storage_(new unsigned char[preallocated_])
34 {
35 }
36
37 ~context_memory()
38 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected