MySQL Forums
Forum List  »  Connector/C++

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

Hi!

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


Subject
Views
Written By
Posted
Re: Automatic Casting to Types not working
416
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.