Skip to content

Equality operator for rfl::Generic and rfl::Object #693

Description

@jinchengJL

Hello, we sometimes embed Generic inside of types like:

struct Foo {
  std::string x;
  rfl::Generic extras;
};

But then, in order to default operator== for Foo, we need to define our own operator== for rfl::Generic. The same thing applies to rfl::Object. Would it be possible to provide that as part of the library? If this sounds ok I'm happy to submit a PR.

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions