Function ContainerTemporary

Synopsis

#include <include/EASTL/bonus/ring_buffer.h>

ContainerTemporary(Container &parentContainer)

Description

No description yet.

Source

Lines 1007-1011 in include/EASTL/bonus/ring_buffer.h.

ContainerTemporary(Container& parentContainer)
    : mAllocator(&parentContainer.get_allocator())
    , mContainer(new (mAllocator->allocate(sizeof(Container))) Container)
{
}





Add Discussion as Guest

Log in