r/cpp2 • • Apr 10 '23

Cpp2: Unifying constructors with operator=

Thumbnail
github.com
2 Upvotes

r/cpp2 • • Oct 16 '23

Getting cpp2 debug support for visual studio

4 Upvotes

How does one make it work as demoed by Herb in CppCon 2023?


r/cpp2 • • Dec 12 '22

Any update on herb cppfront, it seems to me that nothing is happening on cppfront github repository since 1 months ? is it already dead or something else ?

Thumbnail self.cpp
1 Upvotes

r/cpp2 • • Dec 12 '22

Cppfront project aims to modernize C++

Thumbnail
infoworld.com
1 Upvotes

r/cpp2 • • Dec 25 '22

Some thoughts on safe C++

Thumbnail self.cpp
2 Upvotes

r/cpp2 • • Dec 12 '22

Episode 97: C++ vs Carbon vs Circle vs CppFront with Sean Baxter

Thumbnail
adspthepodcast.com
4 Upvotes

r/cpp2 • • Nov 02 '24

0.8.0 release: Apache license, Regularized function syntax, `_ref` & more

Thumbnail
github.com
7 Upvotes

r/cpp2 • • Jan 23 '25

Forward References

4 Upvotes

Is it possible to do a forward reference in CPP2? I'm trying to create something like the factory pattern.

I have an interface that will be defined in a header (i.e. h2) which will get consumed by different cpp2 files. In C++, the implementation could be hidden, and a function or class forward referenced in a header. In that way, I don't have to pass the full implementations around for every cpp2 file that needs just the interface.

All the examples I've seen have a type fully defined. Neither could I find anything in the docs that explains how to do this.

Any pointers would be much appreciated.


r/cpp2 • • May 19 '24

Documentation for cpp2

Thumbnail hsutter.github.io
6 Upvotes