mdbx++: добавление mdbx::default_buffer.

This commit is contained in:
Леонид Юрьев (Leonid Yuriev) 2023-11-21 19:35:46 +03:00
parent 8a6bddef44
commit b412807fc1

View File

@ -376,8 +376,11 @@ using default_allocator = polymorphic_allocator;
using default_allocator = legacy_allocator;
#endif /* __cpp_lib_memory_resource >= 201603L */
/// \brief Default buffer.
using default_buffer = buffer<default_allocator, default_capacity_policy>;
/// \brief Default single-byte string.
template <class ALLOCATOR = legacy_allocator>
template <class ALLOCATOR = default_allocator>
using string = ::std::basic_string<char, ::std::char_traits<char>, ALLOCATOR>;
using filehandle = ::mdbx_filehandle_t;