mirror of
https://github.com/isar/libmdbx.git
synced 2025-01-01 23:54:12 +08:00
mdbx++: переход на использование по-умолчанию default_allocator вместо legacy_allocator.
This commit is contained in:
parent
1f2ff07796
commit
dd47f1bfd9
76
mdbx.h++
76
mdbx.h++
@ -354,18 +354,6 @@ static MDBX_CXX20_CONSTEXPR int memcmp(const void *a, const void *b,
|
|||||||
/// but it is recommended to use \ref polymorphic_allocator.
|
/// but it is recommended to use \ref polymorphic_allocator.
|
||||||
using legacy_allocator = ::std::string::allocator_type;
|
using legacy_allocator = ::std::string::allocator_type;
|
||||||
|
|
||||||
struct slice;
|
|
||||||
struct default_capacity_policy;
|
|
||||||
template <class ALLOCATOR = legacy_allocator,
|
|
||||||
class CAPACITY_POLICY = default_capacity_policy>
|
|
||||||
class buffer;
|
|
||||||
class env;
|
|
||||||
class env_managed;
|
|
||||||
class txn;
|
|
||||||
class txn_managed;
|
|
||||||
class cursor;
|
|
||||||
class cursor_managed;
|
|
||||||
|
|
||||||
#if defined(DOXYGEN) || \
|
#if defined(DOXYGEN) || \
|
||||||
(defined(__cpp_lib_memory_resource) && \
|
(defined(__cpp_lib_memory_resource) && \
|
||||||
__cpp_lib_memory_resource >= 201603L && _GLIBCXX_USE_CXX11_ABI)
|
__cpp_lib_memory_resource >= 201603L && _GLIBCXX_USE_CXX11_ABI)
|
||||||
@ -376,6 +364,18 @@ using default_allocator = polymorphic_allocator;
|
|||||||
using default_allocator = legacy_allocator;
|
using default_allocator = legacy_allocator;
|
||||||
#endif /* __cpp_lib_memory_resource >= 201603L */
|
#endif /* __cpp_lib_memory_resource >= 201603L */
|
||||||
|
|
||||||
|
struct slice;
|
||||||
|
struct default_capacity_policy;
|
||||||
|
template <class ALLOCATOR = default_allocator,
|
||||||
|
class CAPACITY_POLICY = default_capacity_policy>
|
||||||
|
class buffer;
|
||||||
|
class env;
|
||||||
|
class env_managed;
|
||||||
|
class txn;
|
||||||
|
class txn_managed;
|
||||||
|
class cursor;
|
||||||
|
class cursor_managed;
|
||||||
|
|
||||||
/// \brief Default buffer.
|
/// \brief Default buffer.
|
||||||
using default_buffer = buffer<default_allocator, default_capacity_policy>;
|
using default_buffer = buffer<default_allocator, default_capacity_policy>;
|
||||||
|
|
||||||
@ -633,24 +633,24 @@ concept SliceTranscoder =
|
|||||||
|
|
||||||
#endif /* MDBX_HAVE_CXX20_CONCEPTS */
|
#endif /* MDBX_HAVE_CXX20_CONCEPTS */
|
||||||
|
|
||||||
template <class ALLOCATOR = legacy_allocator,
|
template <class ALLOCATOR = default_allocator,
|
||||||
typename CAPACITY_POLICY = default_capacity_policy,
|
typename CAPACITY_POLICY = default_capacity_policy,
|
||||||
MDBX_CXX20_CONCEPT(MutableByteProducer, PRODUCER)>
|
MDBX_CXX20_CONCEPT(MutableByteProducer, PRODUCER)>
|
||||||
inline buffer<ALLOCATOR, CAPACITY_POLICY>
|
inline buffer<ALLOCATOR, CAPACITY_POLICY>
|
||||||
make_buffer(PRODUCER &producer, const ALLOCATOR &allocator = ALLOCATOR());
|
make_buffer(PRODUCER &producer, const ALLOCATOR &allocator = ALLOCATOR());
|
||||||
|
|
||||||
template <class ALLOCATOR = legacy_allocator,
|
template <class ALLOCATOR = default_allocator,
|
||||||
typename CAPACITY_POLICY = default_capacity_policy,
|
typename CAPACITY_POLICY = default_capacity_policy,
|
||||||
MDBX_CXX20_CONCEPT(ImmutableByteProducer, PRODUCER)>
|
MDBX_CXX20_CONCEPT(ImmutableByteProducer, PRODUCER)>
|
||||||
inline buffer<ALLOCATOR, CAPACITY_POLICY>
|
inline buffer<ALLOCATOR, CAPACITY_POLICY>
|
||||||
make_buffer(const PRODUCER &producer, const ALLOCATOR &allocator = ALLOCATOR());
|
make_buffer(const PRODUCER &producer, const ALLOCATOR &allocator = ALLOCATOR());
|
||||||
|
|
||||||
template <class ALLOCATOR = legacy_allocator,
|
template <class ALLOCATOR = default_allocator,
|
||||||
MDBX_CXX20_CONCEPT(MutableByteProducer, PRODUCER)>
|
MDBX_CXX20_CONCEPT(MutableByteProducer, PRODUCER)>
|
||||||
inline string<ALLOCATOR> make_string(PRODUCER &producer,
|
inline string<ALLOCATOR> make_string(PRODUCER &producer,
|
||||||
const ALLOCATOR &allocator = ALLOCATOR());
|
const ALLOCATOR &allocator = ALLOCATOR());
|
||||||
|
|
||||||
template <class ALLOCATOR = legacy_allocator,
|
template <class ALLOCATOR = default_allocator,
|
||||||
MDBX_CXX20_CONCEPT(ImmutableByteProducer, PRODUCER)>
|
MDBX_CXX20_CONCEPT(ImmutableByteProducer, PRODUCER)>
|
||||||
inline string<ALLOCATOR> make_string(const PRODUCER &producer,
|
inline string<ALLOCATOR> make_string(const PRODUCER &producer,
|
||||||
const ALLOCATOR &allocator = ALLOCATOR());
|
const ALLOCATOR &allocator = ALLOCATOR());
|
||||||
@ -783,7 +783,7 @@ struct LIBMDBX_API_TYPE slice : public ::MDBX_val {
|
|||||||
#endif /* __cpp_lib_string_view >= 201606L */
|
#endif /* __cpp_lib_string_view >= 201606L */
|
||||||
|
|
||||||
template <class CHAR = char, class T = ::std::char_traits<CHAR>,
|
template <class CHAR = char, class T = ::std::char_traits<CHAR>,
|
||||||
class ALLOCATOR = legacy_allocator>
|
class ALLOCATOR = default_allocator>
|
||||||
MDBX_CXX20_CONSTEXPR ::std::basic_string<CHAR, T, ALLOCATOR>
|
MDBX_CXX20_CONSTEXPR ::std::basic_string<CHAR, T, ALLOCATOR>
|
||||||
as_string(const ALLOCATOR &allocator = ALLOCATOR()) const {
|
as_string(const ALLOCATOR &allocator = ALLOCATOR()) const {
|
||||||
static_assert(sizeof(CHAR) == 1, "Must be single byte characters");
|
static_assert(sizeof(CHAR) == 1, "Must be single byte characters");
|
||||||
@ -798,27 +798,27 @@ struct LIBMDBX_API_TYPE slice : public ::MDBX_val {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// \brief Returns a string with a hexadecimal dump of the slice content.
|
/// \brief Returns a string with a hexadecimal dump of the slice content.
|
||||||
template <class ALLOCATOR = legacy_allocator>
|
template <class ALLOCATOR = default_allocator>
|
||||||
inline string<ALLOCATOR>
|
inline string<ALLOCATOR>
|
||||||
as_hex_string(bool uppercase = false, unsigned wrap_width = 0,
|
as_hex_string(bool uppercase = false, unsigned wrap_width = 0,
|
||||||
const ALLOCATOR &allocator = ALLOCATOR()) const;
|
const ALLOCATOR &allocator = ALLOCATOR()) const;
|
||||||
|
|
||||||
/// \brief Returns a string with a
|
/// \brief Returns a string with a
|
||||||
/// [Base58](https://en.wikipedia.org/wiki/Base58) dump of the slice content.
|
/// [Base58](https://en.wikipedia.org/wiki/Base58) dump of the slice content.
|
||||||
template <class ALLOCATOR = legacy_allocator>
|
template <class ALLOCATOR = default_allocator>
|
||||||
inline string<ALLOCATOR>
|
inline string<ALLOCATOR>
|
||||||
as_base58_string(unsigned wrap_width = 0,
|
as_base58_string(unsigned wrap_width = 0,
|
||||||
const ALLOCATOR &allocator = ALLOCATOR()) const;
|
const ALLOCATOR &allocator = ALLOCATOR()) const;
|
||||||
|
|
||||||
/// \brief Returns a string with a
|
/// \brief Returns a string with a
|
||||||
/// [Base58](https://en.wikipedia.org/wiki/Base64) dump of the slice content.
|
/// [Base58](https://en.wikipedia.org/wiki/Base64) dump of the slice content.
|
||||||
template <class ALLOCATOR = legacy_allocator>
|
template <class ALLOCATOR = default_allocator>
|
||||||
inline string<ALLOCATOR>
|
inline string<ALLOCATOR>
|
||||||
as_base64_string(unsigned wrap_width = 0,
|
as_base64_string(unsigned wrap_width = 0,
|
||||||
const ALLOCATOR &allocator = ALLOCATOR()) const;
|
const ALLOCATOR &allocator = ALLOCATOR()) const;
|
||||||
|
|
||||||
/// \brief Returns a buffer with a hexadecimal dump of the slice content.
|
/// \brief Returns a buffer with a hexadecimal dump of the slice content.
|
||||||
template <class ALLOCATOR = legacy_allocator,
|
template <class ALLOCATOR = default_allocator,
|
||||||
class CAPACITY_POLICY = default_capacity_policy>
|
class CAPACITY_POLICY = default_capacity_policy>
|
||||||
inline buffer<ALLOCATOR, CAPACITY_POLICY>
|
inline buffer<ALLOCATOR, CAPACITY_POLICY>
|
||||||
encode_hex(bool uppercase = false, unsigned wrap_width = 0,
|
encode_hex(bool uppercase = false, unsigned wrap_width = 0,
|
||||||
@ -826,7 +826,7 @@ struct LIBMDBX_API_TYPE slice : public ::MDBX_val {
|
|||||||
|
|
||||||
/// \brief Returns a buffer with a
|
/// \brief Returns a buffer with a
|
||||||
/// [Base58](https://en.wikipedia.org/wiki/Base58) dump of the slice content.
|
/// [Base58](https://en.wikipedia.org/wiki/Base58) dump of the slice content.
|
||||||
template <class ALLOCATOR = legacy_allocator,
|
template <class ALLOCATOR = default_allocator,
|
||||||
class CAPACITY_POLICY = default_capacity_policy>
|
class CAPACITY_POLICY = default_capacity_policy>
|
||||||
inline buffer<ALLOCATOR, CAPACITY_POLICY>
|
inline buffer<ALLOCATOR, CAPACITY_POLICY>
|
||||||
encode_base58(unsigned wrap_width = 0,
|
encode_base58(unsigned wrap_width = 0,
|
||||||
@ -834,14 +834,14 @@ struct LIBMDBX_API_TYPE slice : public ::MDBX_val {
|
|||||||
|
|
||||||
/// \brief Returns a buffer with a
|
/// \brief Returns a buffer with a
|
||||||
/// [Base64](https://en.wikipedia.org/wiki/Base64) dump of the slice content.
|
/// [Base64](https://en.wikipedia.org/wiki/Base64) dump of the slice content.
|
||||||
template <class ALLOCATOR = legacy_allocator,
|
template <class ALLOCATOR = default_allocator,
|
||||||
class CAPACITY_POLICY = default_capacity_policy>
|
class CAPACITY_POLICY = default_capacity_policy>
|
||||||
inline buffer<ALLOCATOR, CAPACITY_POLICY>
|
inline buffer<ALLOCATOR, CAPACITY_POLICY>
|
||||||
encode_base64(unsigned wrap_width = 0,
|
encode_base64(unsigned wrap_width = 0,
|
||||||
const ALLOCATOR &allocator = ALLOCATOR()) const;
|
const ALLOCATOR &allocator = ALLOCATOR()) const;
|
||||||
|
|
||||||
/// \brief Decodes hexadecimal dump from the slice content to returned buffer.
|
/// \brief Decodes hexadecimal dump from the slice content to returned buffer.
|
||||||
template <class ALLOCATOR = legacy_allocator,
|
template <class ALLOCATOR = default_allocator,
|
||||||
class CAPACITY_POLICY = default_capacity_policy>
|
class CAPACITY_POLICY = default_capacity_policy>
|
||||||
inline buffer<ALLOCATOR, CAPACITY_POLICY>
|
inline buffer<ALLOCATOR, CAPACITY_POLICY>
|
||||||
hex_decode(bool ignore_spaces = false,
|
hex_decode(bool ignore_spaces = false,
|
||||||
@ -849,7 +849,7 @@ struct LIBMDBX_API_TYPE slice : public ::MDBX_val {
|
|||||||
|
|
||||||
/// \brief Decodes [Base58](https://en.wikipedia.org/wiki/Base58) dump
|
/// \brief Decodes [Base58](https://en.wikipedia.org/wiki/Base58) dump
|
||||||
/// from the slice content to returned buffer.
|
/// from the slice content to returned buffer.
|
||||||
template <class ALLOCATOR = legacy_allocator,
|
template <class ALLOCATOR = default_allocator,
|
||||||
class CAPACITY_POLICY = default_capacity_policy>
|
class CAPACITY_POLICY = default_capacity_policy>
|
||||||
inline buffer<ALLOCATOR, CAPACITY_POLICY>
|
inline buffer<ALLOCATOR, CAPACITY_POLICY>
|
||||||
base58_decode(bool ignore_spaces = false,
|
base58_decode(bool ignore_spaces = false,
|
||||||
@ -857,7 +857,7 @@ struct LIBMDBX_API_TYPE slice : public ::MDBX_val {
|
|||||||
|
|
||||||
/// \brief Decodes [Base64](https://en.wikipedia.org/wiki/Base64) dump
|
/// \brief Decodes [Base64](https://en.wikipedia.org/wiki/Base64) dump
|
||||||
/// from the slice content to returned buffer.
|
/// from the slice content to returned buffer.
|
||||||
template <class ALLOCATOR = legacy_allocator,
|
template <class ALLOCATOR = default_allocator,
|
||||||
class CAPACITY_POLICY = default_capacity_policy>
|
class CAPACITY_POLICY = default_capacity_policy>
|
||||||
inline buffer<ALLOCATOR, CAPACITY_POLICY>
|
inline buffer<ALLOCATOR, CAPACITY_POLICY>
|
||||||
base64_decode(bool ignore_spaces = false,
|
base64_decode(bool ignore_spaces = false,
|
||||||
@ -1294,13 +1294,13 @@ struct LIBMDBX_API to_hex {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// \brief Returns a string with a hexadecimal dump of a passed slice.
|
/// \brief Returns a string with a hexadecimal dump of a passed slice.
|
||||||
template <class ALLOCATOR = legacy_allocator>
|
template <class ALLOCATOR = default_allocator>
|
||||||
string<ALLOCATOR> as_string(const ALLOCATOR &allocator = ALLOCATOR()) const {
|
string<ALLOCATOR> as_string(const ALLOCATOR &allocator = ALLOCATOR()) const {
|
||||||
return make_string<ALLOCATOR>(*this, allocator);
|
return make_string<ALLOCATOR>(*this, allocator);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// \brief Returns a buffer with a hexadecimal dump of a passed slice.
|
/// \brief Returns a buffer with a hexadecimal dump of a passed slice.
|
||||||
template <class ALLOCATOR = legacy_allocator,
|
template <class ALLOCATOR = default_allocator,
|
||||||
typename CAPACITY_POLICY = default_capacity_policy>
|
typename CAPACITY_POLICY = default_capacity_policy>
|
||||||
buffer<ALLOCATOR, CAPACITY_POLICY>
|
buffer<ALLOCATOR, CAPACITY_POLICY>
|
||||||
as_buffer(const ALLOCATOR &allocator = ALLOCATOR()) const {
|
as_buffer(const ALLOCATOR &allocator = ALLOCATOR()) const {
|
||||||
@ -1345,14 +1345,14 @@ struct LIBMDBX_API to_base58 {
|
|||||||
|
|
||||||
/// \brief Returns a string with a
|
/// \brief Returns a string with a
|
||||||
/// [Base58](https://en.wikipedia.org/wiki/Base58) dump of a passed slice.
|
/// [Base58](https://en.wikipedia.org/wiki/Base58) dump of a passed slice.
|
||||||
template <class ALLOCATOR = legacy_allocator>
|
template <class ALLOCATOR = default_allocator>
|
||||||
string<ALLOCATOR> as_string(const ALLOCATOR &allocator = ALLOCATOR()) const {
|
string<ALLOCATOR> as_string(const ALLOCATOR &allocator = ALLOCATOR()) const {
|
||||||
return make_string<ALLOCATOR>(*this, allocator);
|
return make_string<ALLOCATOR>(*this, allocator);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// \brief Returns a buffer with a
|
/// \brief Returns a buffer with a
|
||||||
/// [Base58](https://en.wikipedia.org/wiki/Base58) dump of a passed slice.
|
/// [Base58](https://en.wikipedia.org/wiki/Base58) dump of a passed slice.
|
||||||
template <class ALLOCATOR = legacy_allocator,
|
template <class ALLOCATOR = default_allocator,
|
||||||
typename CAPACITY_POLICY = default_capacity_policy>
|
typename CAPACITY_POLICY = default_capacity_policy>
|
||||||
buffer<ALLOCATOR, CAPACITY_POLICY>
|
buffer<ALLOCATOR, CAPACITY_POLICY>
|
||||||
as_buffer(const ALLOCATOR &allocator = ALLOCATOR()) const {
|
as_buffer(const ALLOCATOR &allocator = ALLOCATOR()) const {
|
||||||
@ -1400,14 +1400,14 @@ struct LIBMDBX_API to_base64 {
|
|||||||
|
|
||||||
/// \brief Returns a string with a
|
/// \brief Returns a string with a
|
||||||
/// [Base64](https://en.wikipedia.org/wiki/Base64) dump of a passed slice.
|
/// [Base64](https://en.wikipedia.org/wiki/Base64) dump of a passed slice.
|
||||||
template <class ALLOCATOR = legacy_allocator>
|
template <class ALLOCATOR = default_allocator>
|
||||||
string<ALLOCATOR> as_string(const ALLOCATOR &allocator = ALLOCATOR()) const {
|
string<ALLOCATOR> as_string(const ALLOCATOR &allocator = ALLOCATOR()) const {
|
||||||
return make_string<ALLOCATOR>(*this, allocator);
|
return make_string<ALLOCATOR>(*this, allocator);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// \brief Returns a buffer with a
|
/// \brief Returns a buffer with a
|
||||||
/// [Base64](https://en.wikipedia.org/wiki/Base64) dump of a passed slice.
|
/// [Base64](https://en.wikipedia.org/wiki/Base64) dump of a passed slice.
|
||||||
template <class ALLOCATOR = legacy_allocator,
|
template <class ALLOCATOR = default_allocator,
|
||||||
typename CAPACITY_POLICY = default_capacity_policy>
|
typename CAPACITY_POLICY = default_capacity_policy>
|
||||||
buffer<ALLOCATOR, CAPACITY_POLICY>
|
buffer<ALLOCATOR, CAPACITY_POLICY>
|
||||||
as_buffer(const ALLOCATOR &allocator = ALLOCATOR()) const {
|
as_buffer(const ALLOCATOR &allocator = ALLOCATOR()) const {
|
||||||
@ -1464,13 +1464,13 @@ struct LIBMDBX_API from_hex {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// \brief Decodes hexadecimal dump from a passed slice to returned string.
|
/// \brief Decodes hexadecimal dump from a passed slice to returned string.
|
||||||
template <class ALLOCATOR = legacy_allocator>
|
template <class ALLOCATOR = default_allocator>
|
||||||
string<ALLOCATOR> as_string(const ALLOCATOR &allocator = ALLOCATOR()) const {
|
string<ALLOCATOR> as_string(const ALLOCATOR &allocator = ALLOCATOR()) const {
|
||||||
return make_string<ALLOCATOR>(*this, allocator);
|
return make_string<ALLOCATOR>(*this, allocator);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// \brief Decodes hexadecimal dump from a passed slice to returned buffer.
|
/// \brief Decodes hexadecimal dump from a passed slice to returned buffer.
|
||||||
template <class ALLOCATOR = legacy_allocator,
|
template <class ALLOCATOR = default_allocator,
|
||||||
typename CAPACITY_POLICY = default_capacity_policy>
|
typename CAPACITY_POLICY = default_capacity_policy>
|
||||||
buffer<ALLOCATOR, CAPACITY_POLICY>
|
buffer<ALLOCATOR, CAPACITY_POLICY>
|
||||||
as_buffer(const ALLOCATOR &allocator = ALLOCATOR()) const {
|
as_buffer(const ALLOCATOR &allocator = ALLOCATOR()) const {
|
||||||
@ -1510,14 +1510,14 @@ struct LIBMDBX_API from_base58 {
|
|||||||
|
|
||||||
/// \brief Decodes [Base58](https://en.wikipedia.org/wiki/Base58) dump from a
|
/// \brief Decodes [Base58](https://en.wikipedia.org/wiki/Base58) dump from a
|
||||||
/// passed slice to returned string.
|
/// passed slice to returned string.
|
||||||
template <class ALLOCATOR = legacy_allocator>
|
template <class ALLOCATOR = default_allocator>
|
||||||
string<ALLOCATOR> as_string(const ALLOCATOR &allocator = ALLOCATOR()) const {
|
string<ALLOCATOR> as_string(const ALLOCATOR &allocator = ALLOCATOR()) const {
|
||||||
return make_string<ALLOCATOR>(*this, allocator);
|
return make_string<ALLOCATOR>(*this, allocator);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// \brief Decodes [Base58](https://en.wikipedia.org/wiki/Base58) dump from a
|
/// \brief Decodes [Base58](https://en.wikipedia.org/wiki/Base58) dump from a
|
||||||
/// passed slice to returned buffer.
|
/// passed slice to returned buffer.
|
||||||
template <class ALLOCATOR = legacy_allocator,
|
template <class ALLOCATOR = default_allocator,
|
||||||
typename CAPACITY_POLICY = default_capacity_policy>
|
typename CAPACITY_POLICY = default_capacity_policy>
|
||||||
buffer<ALLOCATOR, CAPACITY_POLICY>
|
buffer<ALLOCATOR, CAPACITY_POLICY>
|
||||||
as_buffer(const ALLOCATOR &allocator = ALLOCATOR()) const {
|
as_buffer(const ALLOCATOR &allocator = ALLOCATOR()) const {
|
||||||
@ -1559,14 +1559,14 @@ struct LIBMDBX_API from_base64 {
|
|||||||
|
|
||||||
/// \brief Decodes [Base64](https://en.wikipedia.org/wiki/Base64) dump from a
|
/// \brief Decodes [Base64](https://en.wikipedia.org/wiki/Base64) dump from a
|
||||||
/// passed slice to returned string.
|
/// passed slice to returned string.
|
||||||
template <class ALLOCATOR = legacy_allocator>
|
template <class ALLOCATOR = default_allocator>
|
||||||
string<ALLOCATOR> as_string(const ALLOCATOR &allocator = ALLOCATOR()) const {
|
string<ALLOCATOR> as_string(const ALLOCATOR &allocator = ALLOCATOR()) const {
|
||||||
return make_string<ALLOCATOR>(*this, allocator);
|
return make_string<ALLOCATOR>(*this, allocator);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// \brief Decodes [Base64](https://en.wikipedia.org/wiki/Base64) dump from a
|
/// \brief Decodes [Base64](https://en.wikipedia.org/wiki/Base64) dump from a
|
||||||
/// passed slice to returned buffer.
|
/// passed slice to returned buffer.
|
||||||
template <class ALLOCATOR = legacy_allocator,
|
template <class ALLOCATOR = default_allocator,
|
||||||
typename CAPACITY_POLICY = default_capacity_policy>
|
typename CAPACITY_POLICY = default_capacity_policy>
|
||||||
buffer<ALLOCATOR, CAPACITY_POLICY>
|
buffer<ALLOCATOR, CAPACITY_POLICY>
|
||||||
as_buffer(const ALLOCATOR &allocator = ALLOCATOR()) const {
|
as_buffer(const ALLOCATOR &allocator = ALLOCATOR()) const {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user