Theme

[[=std::interop]] An Annotation for Interoperation with Targets

Document #: D0000R0 Latest Status
Date: unassigned
Project: Programming Language C++
Audience: N/A
Reply-to: Adrian Johnston
<>

1 Introduction

This paper proposes [[=std::interop]], a standard annotation marking a declaration for exposure to a foreign execution environment. The annotation has no effect on the program, and the meaning of target names is left unspecified. A reference code generator is provided for a number of languages.

The proposal.pdf is the first thing to read, before anything else.

Here is the website for the outputs. It provides an index of the files generated by the repository:

2 Proposal Docs

3 Code Generator

4 Generated Per-Language Files

5 Tests

6 License

© 2026 Adrian Johnston. This file is licensed under the terms of the LICENSE.md file.