Skip to content

Options for nested structures #1

Description

@jcelerier

Hello, very interesting project.

My code uses a lot of

struct Foo {
  int x;
  struct Bar {
    int y;
  };
};

or

struct Foo {
  int x;
  struct {
    int y;
  } bar;
};

for grouping structures in DSP objects, a bit like this (as this enables relatively easy compile-time introspection and listing of field members in plain C++):

https://github.com/celtera/avendish/blob/main/examples/Raw/PerSampleProcessor.hpp

or this:

https://github.com/celtera/avendish/blob/main/examples/Raw/Random.hpp

I'm wondering if there is any deep thing that would prevent exposing the same thing to Metron, simply by prefixing names with the C++ names maybe ?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions