util/AllocatedString: rename to BasicAllocatedString
To make things simpler, AllocatedString is now a non-template class.
This commit is contained in:
committed by
Max Kellermann
parent
1b89b4ef83
commit
c70b63c183
@@ -24,20 +24,21 @@
|
||||
|
||||
#include <string_view>
|
||||
|
||||
template<typename T> class AllocatedString;
|
||||
class AllocatedString;
|
||||
template<typename T> class BasicAllocatedString;
|
||||
|
||||
/**
|
||||
* Throws std::system_error on error.
|
||||
*/
|
||||
gcc_pure gcc_nonnull_all
|
||||
AllocatedString<char>
|
||||
AllocatedString
|
||||
WideCharToMultiByte(unsigned code_page, std::wstring_view src);
|
||||
|
||||
/**
|
||||
* Throws std::system_error on error.
|
||||
*/
|
||||
gcc_pure gcc_nonnull_all
|
||||
AllocatedString<wchar_t>
|
||||
BasicAllocatedString<wchar_t>
|
||||
MultiByteToWideChar(unsigned code_page, std::string_view src);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user