Skip to content

Export Iter structs #1281

Open
Open
@jnbooth

Description

@jnbooth

QHash, QList, QMap, QSet, and QVector all have corresponding Iter structs. However, those structs are not exported by cxx-qt-lib. That means users cannot use them as return values or in structs.

I think the simplest solution here would be to simply make the qhash, qlist, qmap, qset, and qvector modules public. Then users could use e.g. cxx_qt_lib::qvector::Iter. This approach parallels the standard library, e.g. std::slice::Iter. I considered making a PR to do that, but I figured it would probably be a better idea to check in first about how we want to handle the situation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions