Skip to content

Layout tree addressing system

Louis Moureaux requested to merge feature/layout-tree-addressing into develop


This MR adds an addressing system to the layout tree. I am not satisfied with the result, so I will step back come back to it later. The key ideas are:

  • An address object can be constructed from a node with address(node) or from numbers with address<vfat> { numbers... }.
  • The node at an address can be retrieved with root % address (actual operator subject to change, maybe /).

This branch will probably be edited several times before merging.

Related Issue

Will close #44 (closed).

How Has This Been Tested?

Bundled tests and visual inspection of the documentation.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)


  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.
Edited by Laurent Petre

Merge request reports