Skip to content

Generated C++ can't construct in a single line #166

@tmayoff

Description

@tmayoff

This might be related to this issue, #38. For testing I like to setup my tests like this:

const std::vector<Testing::TestMessage> tests = {
      {uuid, 0, "testing", 0},
      {uuid, 1, "Test Message", 1414241},
      {uuid, 2, "Messaging Test", 1245265346},
      {uuid, 3, "Test", std::chrono::system_clock::now().time_since_epoch().count()},
  };

However due to the way the constructors are generated I can't, is it possible to update the constructors to allow this (maybe with some of the suggestion in the linked issue)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions