Files
carbon-lang/proposals
Geoff Romer 64ff3dd3be Clarify support for imported object-like macros (#7308)
This proposal clarifies some unclear aspects of the interop support for
object-like macros. In particular:
- Carbon supports importing an object-like macro if its definition can
be evaluated as a constant expression, without further restrictions on
that definition.
- When importing the result of that evaluation, C++ lvalues are imported
as references, and rvalues are imported as values.
2026-06-05 00:33:51 +00:00
..

Proposals

Proposal lists

Directory structure

This directory contains accepted proposals for the carbon-lang repository. For information about declined/deferred proposals, please view the proposal's original pull request.

For accepted proposals, where ###### is the corresponding proposal's pull request number (padded to 6 digits):

  • p######-slug.md will contain the main proposal text, where slug is a robust slugification of the title of the proposal.
  • p######-slug may be present as an optional subdirectory for related files (for example, images).