Skip to content

Improve Access to View and Array Types #91

@josephbirkner

Description

@josephbirkner

Currently, accessing View and Array types is cumbersome due to the long templates. This also makes transitioning from the C++ 11 emitter hard, because where previously only one using-declarations per schema type were needed, now two are needed (one for the view and one for data struct). The most convenient solution (that I can see) would be

  • to emit one using-declaration per used ArrayView instantiation.
  • to emit one namespace per type (e.g. Position2D), which contains both Position2D::View and Position2D::Data.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions