cppfront icon indicating copy to clipboard operation
cppfront copied to clipboard

A personal experimental C++ Syntax 2 -> Syntax 1 compiler

Results 313 cppfront issues
Sort by recently updated
recently updated
newest added

If an automatic return statement is generated, e.g. for multiple return values, and the last statement is a `for if` loop. Then some analyzers will complain about the generated return....

bug

**Describe the bug** Defining a swap member function with a `that` parameter causes compiler error with clang-cl. The code emitted by a swap member function with a `that` parameter looks...

bug

One of the frustrating things about cppfront is that I always have to remember the precise incantation to build cppfront. In addition, the regression tests always build cppfront whether or...

question - further information requested

**Describe the bug** Pretty self-explanatory. Concepts are generated in the type definition section of a generated file (header or source file); but a template class with said concept will be...

bug

Checks for modulo and modulo-assignment by zero at runtime. Based on a suggestion in #1399. Resolves #1399.

Fix #1397. Function pointers (but not functions) can now be return types. It turns out that even if we correctly parse a function pointer type, we drop the pc_qualifiers when...

question - further information requested

**Title:** Proposal: NTuple-style Named Field Types to Improve Safety and Toolability in Generic C++ ### Summary This proposal introduces the concept of *type-level field names* (as implemented in the [NTuple](https://github.com/RPeschke/ntuples/blob/main/Documentation/overview.md)...

suggestion

[cppfront_fail.txt](https://github.com/user-attachments/files/20628708/cppfront_fail.txt) I successfully built cppfront using MSVC 14.43.34808 and Windows Kit 10.0.22621.0. After updating to MSVC 14.44.35207 (and Windows Kit 10.0.26100.0), a number of static assertions failed. Reverting to the...

bug

Essentially, implement the "self-documenting f-strings" from Python ([link to feature](https://docs.python.org/3/whatsnew/3.8.html#bpo-36817-whatsnew)). Note that today most of Python-style formatting is already supported OOTB ([Link to cppfront documentation](https://hsutter.github.io/cppfront/cpp2/expressions/#capture-in-string-interpolation)), since C++'s standard format specification...

suggestion