mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-25 00:50:22 +00:00
25 lines
295 B
C++
25 lines
295 B
C++
#pragma once
|
|
|
|
#include "String.h"
|
|
#include "Vector.h"
|
|
|
|
namespace AK {
|
|
|
|
class StringBuilder {
|
|
public:
|
|
StringBuilder() { }
|
|
~StringBuilder() { }
|
|
|
|
void append(String&&);
|
|
void append(char);
|
|
|
|
String build();
|
|
|
|
private:
|
|
Vector<String> m_strings;
|
|
};
|
|
|
|
}
|
|
|
|
using AK::StringBuilder;
|
|
|