MySQL Forums
Forum List  »  Connector/C++

Re: Automatic Casting to Types not working
Posted by: Luis Silva
Date: September 24, 2019 12:14PM


Sorry for the late reply.

The explicit keyword on the operator std::string was set to prevent some unneeded/unwanted to/from utf8 conversions.

So better use mysqlx::string or, cast/ .get<std::string>().

Best Regards,
Luís Silva

Options: ReplyQuote

Written By
Re: Automatic Casting to Types not working
September 24, 2019 12:14PM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.