Existe uma maneira de obter std: buffer da string
Existe uma maneira de obter o buffer "bruto" de um std :: strin
Estou pensando em algo parecido comCString::GetBuffer()
. Por exemplo, com CString, eu faria:
CString myPath;
::GetCurrentDirectory(MAX_PATH+1, myPath.GetBuffer(MAX_PATH));
myPath.ReleaseBuffer();
Então, std :: string tem algo semelhante?