VAE - Virtual Audio Engine 1
Small Data Driven Audio Engine
string.cpp
Go to the documentation of this file.
2#include "../src/types/THeapBuffer.hpp"
3
5
6struct File {
8 size_t size;
9};
10
11int main() {
12 HeapBuffer<File> files;
13 {
14 File f1;
15 f1.name.set("testname", 9);
16 files.push(f1);
17 }
18 File& f1 = files[0];
19 auto& buf = f1.name;
20 int as = 0;
21 return 0;
22}
bool push(const T &object)
Push the object to the back of the buffer TODO tklb move version.
void set(const String &str)
Definition: TString.hpp:91
int main()
Definition: string.cpp:11
Definition: string.cpp:6
size_t size
Definition: string.cpp:8
String name
Definition: string.cpp:7