Skip to content

How to use default_value with customized data struct? #5783

Answered by epage
GNUqb114514 asked this question in Q&A
Discussion options

You must be logged in to vote

btw you probably want default_value_t rather than default_value. default_value_t is meant for default values in your native type while default_value is for OsStr defaults, representing the form used on the command line.

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by GNUqb114514
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants