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

Can not use std::string sometimes #194

Open
zfymoon opened this issue Mar 27, 2019 · 1 comment
Open

Can not use std::string sometimes #194

zfymoon opened this issue Mar 27, 2019 · 1 comment

Comments

@zfymoon
Copy link

zfymoon commented Mar 27, 2019

My command is as follow:

#include <iostream>
#include <string>
using namespace std;
string v;

But I get an error sometimes:

input_line_18:3:8: error: no matching constructor for initialization of 'std::__1::string' (aka
'basic_string<char, char_traits, allocator >')
string v;

And my enviroment is MacOS 10.13.6 (17G65),I install the cling via the install script on the official site.

Could any one do me a favor? Thanks a lot.

@derofim
Copy link

derofim commented Aug 17, 2019

may be related to #161

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

2 participants