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

Convert methods could return a std::string and numeric value #24

Closed
dturner opened this issue Dec 8, 2017 · 3 comments
Closed

Convert methods could return a std::string and numeric value #24

dturner opened this issue Dec 8, 2017 · 3 comments

Comments

@dturner
Copy link
Collaborator

dturner commented Dec 8, 2017

See discussion here #18 (comment)

@philburk
Copy link
Collaborator

This would require returning a std::string, which would have to be deleted.

@philburk
Copy link
Collaborator

If a user wants to print the number then they can do this:
LOG("foo() returned %s(d)", convertToText(result), result);

@dturner
Copy link
Collaborator Author

dturner commented Jan 30, 2018

C++17 is better at declaring compile time values but only C++14 is supported in AS.

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