Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

<< std::string not supported #33

Closed
adnan-emd opened this issue Jan 29, 2016 · 4 comments
Closed

<< std::string not supported #33

adnan-emd opened this issue Jan 29, 2016 · 4 comments

Comments

@adnan-emd
Copy link

sqldb << my_std_string
Does not compile. Says "no match for operator<<".

@aminroosta
Copy link
Collaborator

@adnan-emd You sure ? we have tests in tests/ folder that already check this case.
can you please add the code snippet that is not working.

@adnan-emd
Copy link
Author

I’m sure: simple_examples.cc

string str;
string sql = “SELECT b from FOO where a=?”;
db << sql << 2 >> str;

Won’t compile.

@Killili
Copy link
Collaborator

Killili commented Jan 29, 2016

Yes thats a case i did not cover in the last update will fix it now, thx.

@Killili
Copy link
Collaborator

Killili commented Jan 29, 2016

Forgot to fork ... i hope travis is in a good mood today ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants