Skip to content

[FEA]: Thrust vector's should provide emplace_back(Args...) -> T& #7297

@bernhardmgruber

Description

@bernhardmgruber

Is this a duplicate?

Area

Thrust

Is your feature request related to a problem? Please describe.

  thrust::host_vector<thrust::device_vector<int>> out_buffers;
  c2h::gen(C2H_SEED(1), out_buffers.emplace_back(42));

should compile.

Describe the solution you'd like

Implement emplace_back(Args...) -> T& for thrust vectors

Describe alternatives you've considered

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issueGood for newcomers.help wantedRequest for input or help from the community

    Type

    No type

    Projects

    Status

    In Review

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions