Displaying 1 result from an estimated 1 matches for "e4b4d968".
Did you mean:
34b4d68
2013 Oct 14
1
[LLVMdev] Runtime Array-Length
However, how would one allocate the buffer for a string if you did not know
the length of the string at compile time?
For instance, using the api how would one reproduce the code for the
following c++ function?
std::string add(std::string a, std::string b){
return a+b;
}
When allocating the buffer required for the new string, one can determine
the length at runtime, however I do not know how