This allows the compiler to inline the constructors.
Details
Details
- Reviewers
- ldionne - Mordante - var-const 
- Group Reviewers
- Restricted Project 
- Commits
- rGf3c2c0ffe674: [libc++] Inline small constructors into basic_string
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
I don't have a large code base to check, but here is a small example: https://godbolt.org/z/oYj76b78K (everything is implicitly inline because of constexpr in C++20)
| libcxx/include/string | ||
|---|---|---|
| 1003 | No, I missed these ones in D128081. | |
Comment Actions
This looks nice :-)
I see the patch failed to apply in the CI, can you fix that?
No other comments, but I like to see a CI run before approving.
| libcxx/include/string | ||
|---|---|---|
| 1003 | Thanks. | |
Has this change an effect due to the _LIBCPP_METHOD_TEMPLATE_IMPLICIT_INSTANTIATION_VIS?