util/AllocatedString: rename to BasicAllocatedString

To make things simpler, AllocatedString is now a non-template class.
This commit is contained in:
Max Kellermann
2021-01-14 12:39:45 +01:00
committed by Max Kellermann
parent 8d80280ab9
commit cfb7f8ab84
20 changed files with 73 additions and 64 deletions

View File

@@ -24,20 +24,20 @@
#include <cstdarg>
template<typename T> class AllocatedString;
class AllocatedString;
/**
* Format into an #AllocatedString.
*/
gcc_nonnull_all
AllocatedString<char>
AllocatedString
FormatStringV(const char *fmt, std::va_list args) noexcept;
/**
* Format into an #AllocatedString.
*/
gcc_nonnull(1) gcc_printf(1,2)
AllocatedString<char>
AllocatedString
FormatString(const char *fmt, ...) noexcept;
#endif