Skip to content

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 jasnell and lemire 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.

3 participants