Timeline for Header-only generic console menu maker
Current License: CC BY-SA 4.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Dec 22, 2020 at 1:10 | vote | accept | Edward | ||
Dec 20, 2020 at 16:34 | comment | added | G. Sliepen |
You could use str::value_type perhaps? And then use intype = std::basic_istream<str::value_type> as the default parameter value.
|
|
Dec 20, 2020 at 14:51 | comment | added | Edward |
I also noticed another flaw with my version. If I try to use std::string_view , the code won't compile because it tries to read one from std::cin . I think I'll have to key the type off of the string type such that wstring_view becomes wstring . Still pondering how best to do that.
|
|
Dec 20, 2020 at 12:16 | history | answered | G. Sliepen | CC BY-SA 4.0 |