You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> The library supports any argument value types which meet the following requirements:
112
112
>
113
113
> - The type is [constructible from](https://en.cppreference.com/w/cpp/concepts/constructible_from)`const std::string&` or the stream extraction operator - `std::istream& operator>>` is defined for the type.
114
+
>
115
+
> **IMPORTANT:** The argument parser will always use direct initialization from `std::string` and will use the extraction operator only if an argument's value type cannot be initialized from `std::string`.
116
+
>
114
117
> - The type satisfies the [`std::semiregular`](https://en.cppreference.com/w/cpp/concepts/semiregular.html) concept - is default initializable and copyable.
115
118
116
-
> [!IMPORTANT]
119
+
> [!NOTE]
117
120
>
118
-
> If the `value_type` is not provided, `std::string` will be used.
121
+
> The default value type of any argument is `std::string`.
0 commit comments