Skip to content

Include order for custom converters #346

Open
@jbriales

Description

@jbriales

I was trying the support for custom converters described in https://cliutils.gitlab.io/CLI11Tutorial/chapters/advanced-topics.html#custom-converters

I was curious about the constraint to set up the custom istringstream& operator << overload before including CLI11.

Could you provide any pointers as to what's the concrete C++ limitation that doesn't allow us to be more flexible in this sense?

In my experience constraining the ordering of includes is quite tricky and a source of headaches down the road. I guess you may have a very good reason why this cannot be avoided :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    docsAdd/update documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions