8000 Quantile object has const members : difficult to use within a vector<Quantile> · Issue #425 · jupp0r/prometheus-cpp · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Quantile object has const members : difficult to use within a vector<Quantile> #425
Closed
@FabienCarmagnac

Description

@FabienCarmagnac

In v0.10.0 : Quantile object has const members (not copiable), so not really usable inside a vector.

It is not possible to push_back Quantile's into a std::vector. We have to use another container.
If some internal reason needs it, I suggest to initialize the summary quantile set passing begin+end iterator.

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

      0