Interfacing kdb with c++, understanding the function k(I,const S,...)

Hi everyone,to pass a query to kdb+ the function k is needed. However this function accepts char* which is not handy when the query is stored in std::string.So i changed the signature from char* to const char* which works.What about also changing the signature from ss and sn from char* to const char * ?Regards,Kim