Skip to content

Split up operator""_method#383

Merged
The-EDev merged 2 commits intoCrowCpp:masterfrom
beached:patch-1
Apr 4, 2022
Merged

Split up operator""_method#383
The-EDev merged 2 commits intoCrowCpp:masterfrom
beached:patch-1

Conversation

@beached
Copy link
Copy Markdown
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.
Comment thread include/crow/common.h Outdated
Fixed extra {
Copy link
Copy Markdown
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
Copy Markdown
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