Skip to content

Commit

Permalink
[doc] Explain translation of dynamic references to C.
Browse files Browse the repository at this point in the history
  • Loading branch information
pfusik committed Apr 10, 2024
1 parent 5db436b commit 54c4f49
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions doc/reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -455,6 +455,7 @@ Dynamic array references can be assigned to other dynamic array references.
The dynamic array is alive as long as there's at least one dynamic
array reference to it.
In C++, dynamic array references are implemented as `std::shared_ptr`.
In C, a custom equivalent of `std::shared_ptr` is generated.

Read-only and read-write array references can point to either array storage
or dynamic arrays. Read-only and read-write references must be used with care
Expand Down

0 comments on commit 54c4f49

Please sign in to comment.