PMDK C++ bindings  1.13.0-git107.g7e59f08f
This is the C++ bindings documentation for PMDK's libpmemobj.
pmem::obj::experimental::total_sizeof< basic_dram_inline_string< CharT, Traits > > Struct Template Reference

A helper trait which calculates required memory capacity (in bytes) for a type. More...

#include <libpmemobj++/experimental/inline_string.hpp>

Static Public Member Functions

static size_t value (const basic_string_view< CharT, Traits > &s)
 

Detailed Description

template<typename CharT, typename Traits>
struct pmem::obj::experimental::total_sizeof< basic_dram_inline_string< CharT, Traits > >

A helper trait which calculates required memory capacity (in bytes) for a type.

Inline_string requires capacity of sizeof(basic_dram_inline_string<CharT>) + size of the data itself.


The documentation for this struct was generated from the following file: