Lines Matching refs:inv_arg
445 constexpr errc inv_arg = errc::invalid_argument; variable
451 test_from_chars<T>("", base, 0, inv_arg); // no characters in test_integer_from_chars()
452 test_from_chars<T>("@1", base, 0, inv_arg); // '@' is bogus in test_integer_from_chars()
453 test_from_chars<T>(".1", base, 0, inv_arg); // '.' is bogus, for integers in test_integer_from_chars()
454 … test_from_chars<T>("+1", base, 0, inv_arg); // '+' is bogus, N4713 23.20.3 [charconv.from.chars]/3 in test_integer_from_chars()
456 … test_from_chars<T>(" 1", base, 0, inv_arg); // ' ' is bogus, no whitespace in subject sequence in test_integer_from_chars()
459 test_from_chars<T>("-1", base, 0, inv_arg); // "and only if value has a signed type" in test_integer_from_chars()
464 test_from_chars<T>("-", base, 0, inv_arg); // '-' followed by no characters in test_integer_from_chars()
465 test_from_chars<T>("-@1", base, 0, inv_arg); // '-' followed by bogus '@' in test_integer_from_chars()
466 test_from_chars<T>("-.1", base, 0, inv_arg); // '-' followed by bogus '.' in test_integer_from_chars()
467 test_from_chars<T>("-+1", base, 0, inv_arg); // '-' followed by bogus '+' in test_integer_from_chars()
468 test_from_chars<T>("- 1", base, 0, inv_arg); // '-' followed by bogus ' ' in test_integer_from_chars()
469 test_from_chars<T>("--1", base, 0, inv_arg); // '-' can't be repeated in test_integer_from_chars()
481 test_from_chars<T>(bogus + "1"s, base, 0, inv_arg); // bogus digit (for this base) in test_integer_from_chars()
482 … test_from_chars<T>("-"s + bogus + "1"s, base, 0, inv_arg); // '-' followed by bogus digit in test_integer_from_chars()
815 test_from_chars<T>("", fmt, 0, inv_arg); // no characters
816 test_from_chars<T>("@1", fmt, 0, inv_arg); // '@' is bogus
817 test_from_chars<T>("z1", fmt, 0, inv_arg); // 'z' is bogus
818 test_from_chars<T>(".", fmt, 0, inv_arg); // '.' without digits is bogus
819 test_from_chars<T>("+1", fmt, 0, inv_arg); // '+' is bogus
820 test_from_chars<T>(" 1", fmt, 0, inv_arg); // ' ' is bogus
821 test_from_chars<T>("p5", fmt, 0, inv_arg); // binary-exponent-part without digits is bogus
822 test_from_chars<T>("in", fmt, 0, inv_arg); // incomplete inf is bogus
823 test_from_chars<T>("na", fmt, 0, inv_arg); // incomplete nan is bogus
825 test_from_chars<T>("-", fmt, 0, inv_arg); // '-' followed by no characters
826 test_from_chars<T>("-@1", fmt, 0, inv_arg); // '-' followed by bogus '@'
827 test_from_chars<T>("-z1", fmt, 0, inv_arg); // '-' followed by bogus 'z'
828 test_from_chars<T>("-.", fmt, 0, inv_arg); // '-' followed by bogus '.'
829 test_from_chars<T>("-+1", fmt, 0, inv_arg); // '-' followed by bogus '+'
830 test_from_chars<T>("- 1", fmt, 0, inv_arg); // '-' followed by bogus ' '
831 test_from_chars<T>("-p5", fmt, 0, inv_arg); // '-' followed by bogus binary-exponent-part
832 test_from_chars<T>("-in", fmt, 0, inv_arg); // '-' followed by bogus incomplete inf
833 test_from_chars<T>("-na", fmt, 0, inv_arg); // '-' followed by bogus incomplete nan
834 test_from_chars<T>("--1", fmt, 0, inv_arg); // '-' can't be repeated
837 test_from_chars<T>("e5", fmt, 0, inv_arg); // exponent-part without digits is bogus
838 test_from_chars<T>("-e5", fmt, 0, inv_arg); // '-' followed by bogus exponent-part
923 test_from_chars<T>("1729", fmt, 0, inv_arg);