Hi I have a C++ Method that takes one variable the method signature is like this.
DLL returnObject** getObject( const std::string folder = "" );
I tried passing in
const std::string myString = "something";
but i get the following error
No matching function call to ... getObject( std::string&);
I have a couple questions here. 1. How do i pass in a normal std::string without the "&" 2. This looks like the value is optional "folder = ''" is it? And if so how do you pass an optional parameter?
Any help on this is greatly appreciated. Thanks