MySQL Forums
Forum List  »  Connector/C++

Re: Facing issues using mysql-connector-c++ on macOS 10.14
Posted by: Luis Silva
Date: January 29, 2019 09:50AM

Hi,

We don't have all operators defined...

These are the ones defined:

operator int() const;
operator unsigned() const;
operator int64_t() const;
operator uint64_t() const;

operator float() const;
operator double() const;

explicit operator bool() const;

operator mysqlx::string() const;
explicit operator std::string() const;

And the template get method is a way to simplify the use of cast, so will use the defined operators.

Luís

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Facing issues using mysql-connector-c++ on macOS 10.14
746
January 29, 2019 09:50AM


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.