|
PMDK C++ bindings
1.13.0
This is the C++ bindings documentation for PMDK's libpmemobj.
|
This class serves similar purpose to pmem::obj::string, but keeps the data within the same allocation as inline_string itself. More...
#include <libpmemobj++/experimental/inline_string.hpp>
Inherits pmem::obj::experimental::basic_inline_string_base< CharT, Traits >.
This class serves similar purpose to pmem::obj::string, but keeps the data within the same allocation as inline_string itself.
Unlike other containers, it can be used on pmem and dram. Modifiers (like assign()) can only be called if inline string is kept on pmem).
The data is always kept right after the inline_string structure. It means that creating an object of inline_string must be done as follows:
Example:
1.8.10