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

move implementation to header files #847

Merged
merged 8 commits into from
Jan 24, 2025
Merged

Conversation

anonrig
Copy link
Member

@anonrig anonrig commented Jan 23, 2025

Moves all url_pattern functions that uses a template argument to header files.

@anonrig anonrig force-pushed the yagiz/move-url-pattern-to-header branch 2 times, most recently from b963cf5 to eaffbd4 Compare January 23, 2025 16:33
@anonrig anonrig requested review from lemire and jasnell January 23, 2025 16:33
@anonrig anonrig force-pushed the yagiz/move-url-pattern-to-header branch from eaffbd4 to 774c820 Compare January 23, 2025 16:34
@anonrig anonrig force-pushed the yagiz/move-url-pattern-to-header branch 4 times, most recently from 570cc44 to 3461e0e Compare January 23, 2025 19:02
@anonrig anonrig force-pushed the yagiz/move-url-pattern-to-header branch from 3461e0e to 7a62fa9 Compare January 23, 2025 19:04
@anonrig
Copy link
Member Author

anonrig commented Jan 23, 2025

@lemire any idea how to solve this windows build error?

@lemire
Copy link
Member

lemire commented Jan 23, 2025

@anonrig

any idea how to solve this windows build error?

Hmmm... Currently away from Windows. Let me check.

@lemire
Copy link
Member

lemire commented Jan 24, 2025

@anonrig

So before you can do std::variant<A,B>, visual studio requires that both A and B be defined. Satisfying this required some moving around of definitions. To keep things sane, I just added two new headers.

Easy. Peachy.

I don't know why Visual Studio has this requirement exactly, maybe to help get better errors?

@anonrig
Copy link
Member Author

anonrig commented Jan 24, 2025

Thanks @lemire

@anonrig anonrig merged commit ecdb978 into main Jan 24, 2025
41 checks passed
@anonrig anonrig deleted the yagiz/move-url-pattern-to-header branch January 24, 2025 13:11
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