Skip to content

Reading old files containing std::auto_ptr<gen::PdfInfo> #43422

Open
@makortel

Description

@makortel

PR #43405 reminded us about the iorules in SimDataFormats/GeneratorProducts/src/classes_def.xml to read in std::auto_ptr<gen::PdfInfo> from files predating CMSSW_11_0_0. The std::auto_ptr was removed in C++17, although the libstdc++ still provides the implementation for backwards compatibility (link) while issuing a deprecation warning. We should nevertheless figure out a way to not have to use std::auto_ptr in the dictionaires (e.g. if we would have to use a standard library without std::auto_ptr some day).

For reference, here are pointers to various discussions from the time the iorules to convert the std::auto_ptr<gen::PdfInfo> to std::unique_ptr<gen::PdfInfo> were introduced

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Needs debugging in ROOT

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions