Skip to content

Problem using std::list or std::deque for positional args #114

Open
@1pakch

Description

@1pakch

I tried using list or deque for positional args and this does not seem to work. I can't pass the desired type to parse positional as it not overloaded for arbitrary types.

I see that you keep positional args in m_positional at some point which is hardcoded as vector of strings (not quite sure why, I guess there is no need for random access to previously parsed arguments).

EDIT: removed incorrect reason for the error

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions