Skip to content

Add support for compiling as a C++20 module#194

Open
rmisev wants to merge 14 commits into
mainfrom
module
Open

Add support for compiling as a C++20 module#194
rmisev wants to merge 14 commits into
mainfrom
module

Conversation

@rmisev

@rmisev rmisev commented May 26, 2026

Copy link
Copy Markdown
Member

No description provided.

@codecov

codecov Bot commented May 26, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.64%. Comparing base (61261b3) to head (736302e).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #194   +/-   ##
=======================================
  Coverage   99.64%   99.64%           
=======================================
  Files          21       21           
  Lines        3696     3697    +1     
  Branches      665      665           
=======================================
+ Hits         3683     3684    +1     
  Misses         13       13           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@rmisev rmisev force-pushed the module branch 3 times, most recently from 60ad61b to 8853fd6 Compare June 2, 2026 19:12
rmisev added 14 commits June 12, 2026 22:46
Update CMakeLists.txt with instructions for compiling and testing the
C++ module.
This fixes linking errors when using the library module with a shared
build. These errors occur because member functions defined in the class
aren't implicitly inline when building as a module.

See: https://en.cppreference.com/cpp/language/inline
Errors occurred when building a shared library with C++20 module using
MSVC.
The compiler generates incorrect output when the call to the
`url_parser::url_parse` function uses the default value for the
`state_override` argument.
Define UPA_IMPORT_STD as 0 if it is not defined.
This enables the creation of str_arg_char specializations for custom
strings, as well as the use of helper functions (e.g.,
upa::make_string).
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.

1 participant