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

Split up operator""_method #383

Merged
merged 2 commits into from
Apr 4, 2022
Merged

Split up operator""_method #383

merged 2 commits into from
Apr 4, 2022

Conversation

beached
Copy link
Contributor

@beached beached commented Apr 3, 2022

When wrapping calls to crow from other code bases, I have had to call operator""_method explicitly. Breaking it into two methods, method_from_string and operator""_method allows one to compose this code elsewhere.

When wrapping calls to crow from other code bases, I have had to call `operator""_method` explicitly.  Breaking it into two methods, `method_from_string` and `operator""_method` allows one to compose this code elsewhere.
include/crow/common.h Outdated Show resolved Hide resolved
Fixed extra {
Copy link
Member

@The-EDev The-EDev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Everything seems to be in order. Thank you for your work.

@The-EDev The-EDev merged commit 71c01a9 into CrowCpp:master Apr 4, 2022
@beached
Copy link
Contributor Author

beached commented Apr 4, 2022

Thanks, this saves my code from saying operator""_method( str.data( ), str.size( ) ) explicitly

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

Successfully merging this pull request may close these issues.

2 participants