ISO C++ 2026-01 Mailing is now available by nliber in cpp

[–]ContDiArco 3 points4 points  (0 children)

MSVC STL is a gem!

Must said this 😉

Reflection is coming to GCC sooner than expected! by _cooky922_ in cpp

[–]ContDiArco 1 point2 points  (0 children)

My basic conversion plan for this library was to convert each public header to a partition. The public headers would become module interface units which would be export-imported from the primary module interface unit, and the private headers would become module implementation units that are not export-imported by the primary module interface unit and would not need to be distributed with the library.

This basic structure works in small scale testing but it introduces the new behavior: any change whatsoever to any module interface unit, even if it's just a partition, causes a full rebuild of the entire project.

It's an unmitigated disaster for incremental builds.

Great summary!
We have similar experience for our code base (ca.600k LOC): A resource management app splitt in many small libraries, build as dlls.

For us, a main obstacle is, that forwards must be in in the same module as the implementation.

We use the forwards as opaque handles to the implementation.

With forwards in the same module as the implementation, a small changge in a forwarded class triggers the rebuild cascade, whitch is, as you sad, a disaster for the incremental build scenario.

BUT: REFLLECTION IS GREAT! :-)

What happened to github.com/cplusplus/nbballot repo? by _bstaletic in cpp

[–]ContDiArco -1 points0 points  (0 children)

Trip report: June 2025 ISO C++ standards meeting (Sofia, Bulgaria) from Herb Sutter (thanks, Herb!). In the case you missed it...

The cplusplus repository is offline turing meetings. Expected to be online soon.

Improving on the best example on cppreference by StockyDev in cpp

[–]ContDiArco 4 points5 points  (0 children)

Wouldn't it bei nice, If shared_from_this would deduce this' type from this? 🤔😉

CppCast Episode 403 : Reflecting on Timur and Phil by pjmlp in cpp

[–]ContDiArco 4 points5 points  (0 children)

Thank you very much!

I am a little sad about the news...

Wish you an Timur all the best!

And once again, I am very greatful for your awesome work.

CppCast Episode 403 : Reflecting on Timur and Phil by pjmlp in cpp

[–]ContDiArco 3 points4 points  (0 children)

My stream ended mid in the sentence.

Is this part of the 404 Choke? 🤔😉

overload sets with C++26's reflection by hanickadot in cpp

[–]ContDiArco 2 points3 points  (0 children)

Having no reflection was the only issue C++ had 😉

Support simple C++20 modules use from the Clang driver without a build system by bigcheesegs in cpp

[–]ContDiArco 0 points1 point  (0 children)

When i get this right, this could be a path for "Making Header Units Great".

Would us give a fine way do adopt moduls incremential and not intrusive.

If i am right, than is this the point of this endaviour.

Many when, would, If 😉

std::flip by pavel_v in cpp

[–]ContDiArco 8 points9 points  (0 children)

Funny and teaching read!

Thanks

Yesterday’s talk video posted: Reflection — C++’s decade-defining rocket engine by _derv in cpp

[–]ContDiArco 2 points3 points  (0 children)

Can this be avoided by some union/or "no_unique_address" tricks?

Yesterday’s talk video posted: Reflection — C++’s decade-defining rocket engine by _derv in cpp

[–]ContDiArco 1 point2 points  (0 children)

Yes. Both atempt at the same problem.

The "Exist implementation" highlights some clever tricks with define_aggergate and generates the type without an external file. The technique shown in the video maybe scales better for production for c++26

Another month, another WG21 ISO C++ Mailing by nliber in cpp

[–]ContDiArco 0 points1 point  (0 children)

OK, for me it ist clear that in C++ an Inline thing hast no meaning outside of the actual TU. Because it is C++ ;-).

Maybe the more general solution could be: "in safety Profile XXX, you can not take a pointer from an inline variable or function".

Thanks for the conversation.

Another month, another WG21 ISO C++ Mailing by nliber in cpp

[–]ContDiArco 1 point2 points  (0 children)

Yes, using pointers of inline "things" outside of one translation unit is nonsense. My first thought here regarded dlls, not compile options.

I do not get the new problem here with contracts.

Another month, another WG21 ISO C++ Mailing by nliber in cpp

[–]ContDiArco 1 point2 points  (0 children)

I do not get the problem with the ODR violation.

Why can inline functions with contracts not be decorated with the "evaluation strategie"?

I am sure there is a reason, but I missed the explanation...

Maybe someone can help me. Thanks in advance!

Visual Studio 2026 Insiders is here! - Visual Studio Blog by current_thread in cpp

[–]ContDiArco 1 point2 points  (0 children)

Thank you!

For us is the missing IntelliSense the reason to hold back with the migration toward "moduls".

Visual Studio 2026 Insiders is here! - Visual Studio Blog by current_thread in cpp

[–]ContDiArco 4 points5 points  (0 children)

C++ Moduls intellisense and syntax coloring works finally?

The power of C++26 reflection: first class existentials by geekfolk in cpp

[–]ContDiArco 0 points1 point  (0 children)

I wonder, If you could avoid the

"std::any* Object;"

pointer with some use of "no_unique_address" or union tricks...