#include <sajson.h>
Public Member Functions | |
bounded_allocation (size_t *existing_buffer_, size_t size_in_words) | |
template<size_t N> | |
bounded_allocation (size_t(&existing_buffer_)[N]) | |
Private Attributes | |
size_t * | existing_buffer |
size_t | existing_buffer_size |
Allocation policy that attempts to fit the parsed AST into an existing memory buffer. This allocation policy is useful when using sajson in a zero-allocation context or when there are constraints on the amount
|
inline |
|
inlineexplicit |
|
private |
|
private |