This is not a bug per se, but I find it a little odd that the MVOdb functions RS,
RSA, RSAI, and WSA use std::string as their type, while WS ans WSAI use const
char*
Seems to me like simple overloading a la
void WS(const char* varname, const std::string v, MVOdbError* error = NULL){
WS(varname, v.c_str(), v.size(), error);
}
should be all that's needed, right? |