mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-23 17:52:26 -05:00
26 lines
329 B
C++
26 lines
329 B
C++
#pragma once
|
|
|
|
#include "AKString.h"
|
|
#include "Vector.h"
|
|
|
|
namespace AK {
|
|
|
|
class StringBuilder {
|
|
public:
|
|
StringBuilder() { }
|
|
~StringBuilder() { }
|
|
|
|
void append(const String&);
|
|
void append(String&&);
|
|
void append(char);
|
|
|
|
String build();
|
|
|
|
private:
|
|
Vector<String> m_strings;
|
|
};
|
|
|
|
}
|
|
|
|
using AK::StringBuilder;
|
|
|