![]() |
MySQL 9.6.0
Source Code Documentation
|
Base class for all Out_str_growable_ptr* classes. More...
#include <out_str.h>
Public Member Functions | |
| template<class... Args_t> requires mysql::meta::Not_decayed<This_t, Args_t...> | |
| Policy_growable_ptr (Args_t &&...args) | |
| Construct a new object, forwarding all arguments to the base class. More... | |
| template<class... Args_t> | |
| Policy_growable_ptr (mysql::allocators::Memory_resource memory_resource, Args_t &&...args) | |
| Construct a new object with the given Memory_resource, forwarding all remaining arguments to the base class. More... | |
| mysql::allocators::Memory_resource | get_memory_resource () const |
| Return the Memory_resource. More... | |
| mysql::utils::Return_status | resize (std::size_t size_arg) const |
| Resize the character buffer and store the new size. More... | |
Static Public Attributes | |
| static constexpr auto | resize_policy = Resize_policy::growable |
| static constexpr auto | null_terminated = null_terminated_tp |
Private Types | |
| using | This_t = Policy_growable_ptr< Char_tp, Representation_tp, null_terminated_tp > |
Private Attributes | |
| mysql::allocators::Memory_resource | m_memory_resource |
Static Private Attributes | |
| static constexpr size_t | null_size |
Base class for all Out_str_growable_ptr* classes.
| Representation_tp | base class to inherit from, which provides the string representation. |
| null_terminated_tp | Indicate whether the string should be null-terminated or not. |
|
private |
|
inlineexplicit |
Construct a new object, forwarding all arguments to the base class.
|
inlineexplicit |
Construct a new object with the given Memory_resource, forwarding all remaining arguments to the base class.
|
inline |
Return the Memory_resource.
|
inline |
Resize the character buffer and store the new size.
| size_arg | The new size |
|
private |
|
staticconstexprprivate |
|
staticconstexpr |
|
staticconstexpr |