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

Drop support for const char * / constStr #13

Open
Compro-Prasad opened this issue Oct 22, 2017 · 0 comments
Open

Drop support for const char * / constStr #13

Compro-Prasad opened this issue Oct 22, 2017 · 0 comments

Comments

@Compro-Prasad
Copy link
Collaborator

const char * / char * make the program vulnerable to many issues as we need to perform many checks and assign variables to have specific information about each string. So, a switch to std::string seems a viable option. If we really need to modify a string we can use c_str() to get a C like string and perform changes to it then assign the string accordingly.

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

No branches or pull requests

1 participant