Skip to content

Add support for C++ modules#54

Merged
Tessil merged 2 commits into
Tessil:masterfrom
mikomikotaishi:master
Jun 13, 2026
Merged

Add support for C++ modules#54
Tessil merged 2 commits into
Tessil:masterfrom
mikomikotaishi:master

Conversation

@mikomikotaishi

Copy link
Copy Markdown
Contributor

This pull request adds support for C++ modules (opt-in for users of C++20 and later), enabled by TSL_ORDERED_MAP_BUILD_MODULE and creates a module tsl.ordered_map.

The current library marks tsl::detail_ordered_hash::numeric_cast() and tsl::detail_ordered_hash::deserialize_value() with internal linkage This pull request was partially motivated by the need to make these symbols have external linkage, because POCO C++ Libraries, which uses this as a dependency, if built as a module requires this to have external linkage.

@Tessil Tessil merged commit 88b7a58 into Tessil:master Jun 13, 2026
9 checks passed
@Tessil

Tessil commented Jun 13, 2026

Copy link
Copy Markdown
Owner

Thank you for your contribution and sorry for the long delay.

The change looks good, thanks!

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