Refactored all parsing code to get the ConstString passed as a template parameter

This commit is contained in:
2021-11-19 00:26:40 +01:00
parent 7226241097
commit 435a7c442f
2 changed files with 31 additions and 18 deletions

View File

@@ -20,7 +20,7 @@ int main() {
constexpr detail::ConstString s = "{:8.14c}";
constexpr auto result = detail::parse_fmt_string(s, 2);
constexpr auto result = detail::parse_fmt_string<s>(2);
std::cout << "Is valid: " << result.is_valid << std::endl << std::endl;