mirror of
https://github.com/CraftyBoss/SuperMarioOdysseyOnline.git
synced 2024-11-25 12:45:17 +00:00
18 lines
388 B
C
18 lines
388 B
C
|
#pragma once
|
||
|
|
||
|
namespace al {
|
||
|
|
||
|
template <s32 L>
|
||
|
class StringTmp : public sead::FixedSafeString<L> { // equal to WFormatFixedSafeString
|
||
|
public:
|
||
|
StringTmp(const char* format, ...) : sead::FixedSafeString<L>() {
|
||
|
std::va_list args;
|
||
|
va_start(args, format);
|
||
|
this->formatV(format, args);
|
||
|
va_end(args);
|
||
|
}
|
||
|
~StringTmp() = default;
|
||
|
};
|
||
|
|
||
|
} // namespace al
|