VAE - Virtual Audio Engine 1
Small Data Driven Audio Engine
string.cpp File Reference
Include dependency graph for string.cpp:

Go to the source code of this file.

Classes

struct  File
 

Typedefs

using String = HeapBuffer< char >
 

Functions

int main ()
 

Typedef Documentation

◆ String

using String = HeapBuffer<char>

Definition at line 4 of file string.cpp.

Function Documentation

◆ main()

int main ( )

Definition at line 11 of file string.cpp.

11 {
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}
Basically a bad std::vector without exceptions which can also work with foreign memory.
Definition: THeapBuffer.hpp:49
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
Definition: string.cpp:6
String name
Definition: string.cpp:7
Here is the call graph for this function: