Skip to content

Gnuplotpp static plotting functions should return a unique_ptr #13

@LucaCiucci

Description

@LucaCiucci

So that it is easier to manage and is can easily be converted to shared_ptr,
For example:

auto p = Gnuplotpp::plot(/* ... */); // p is 'unique_ptr'
std::shared_ptr<Gnuplot::Plot2d> p2 = Gnuplotpp::plot(/* ... */); // also valid

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