foo.cc:1:1: error: stray ‘`’ in program
1 | ```cpp
| ^
foo.cc:1:2: error: stray ‘`’ in program
1 | ```cpp
| ^
foo.cc:1:3: error: stray ‘`’ in program
1 | ```cpp
| ^
foo.cc:46:1: error: stray ‘`’ in program
46 | ```
| ^
foo.cc:46:2: error: stray ‘`’ in program
46 | ```
| ^
foo.cc:46:3: error: stray ‘`’ in program
46 | ```
| ^
foo.cc:1:4: error: ‘cpp’ does not name a type
1 | ```cpp
| ^~~
In file included from /nix/gcc/include/c++/13.3.0/iosfwd:42,
from /nix/gcc/include/c++/13.3.0/ios:40,
from /nix/gcc/include/c++/13.3.0/ostream:40,
from /nix/gcc/include/c++/13.3.0/iostream:41,
from foo.cc:2:
/nix/gcc/include/c++/13.3.0/bits/postypes.h:68:11: error: ‘ptrdiff_t’ does not name a type
68 | typedef ptrdiff_t streamsize; // Signed integral type
| ^~~~~~~~~
/nix/gcc/include/c++/13.3.0/bits/postypes.h:41:1: note: ‘ptrdiff_t’ is defined in header ‘<cstddef>’; did you forget to ‘#include <cstddef>’?
40 | #include <cwchar> // For mbstate_t
+++ |+#include <cstddef>
41 |
In file included from /nix/gcc/include/c++/13.3.0/bits/exception_ptr.h:38,
from /nix/gcc/include/c++/13.3.0/exception:164,
from /nix/gcc/include/c++/13.3.0/ios:41:
/nix/gcc/include/c++/13.3.0/new:126:26: error: declaration of ‘operator new’ as non-function
126 | _GLIBCXX_NODISCARD void* operator new(std::size_t) _GLIBCXX_THROW (std::bad_alloc)
| ^~~~~~~~
/nix/gcc/include/c++/13.3.0/new:126:44: error: ‘size_t’ is not a member of ‘std’; did you mean ‘size_t’?
126 | _GLIBCXX_NODISCARD void* operator new(std::size_t) _GLIBCXX_THROW (std::bad_alloc)
| ^~~~~~
In file included from /nix/glibc-2.39-52-dev/include/wchar.h:35,
from /nix/gcc/include/c++/13.3.0/cwchar:44,
from /nix/gcc/include/c++/13.3.0/bits/postypes.h:40:
/nix/gcc/lib/gcc/x86_64-unknown-linux-gnu/13.3.0/include/stddef.h:214:23: note: ‘size_t’ declared here
214 | typedef __SIZE_TYPE__ size_t;
| ^~~~~~
/nix/gcc/include/c++/13.3.0/new:127:41: error: attributes after parenthesized initializer ignored [-fpermissive]
127 | __attribute__((__externally_visible__));
| ^
/nix/gcc/include/c++/13.3.0/new:128:26: error: declaration of ‘operator new []’ as non-function
128 | _GLIBCXX_NODISCARD void* operator new[](std::size_t) _GLIBCXX_THROW (std::bad_alloc)
| ^~~~~~~~
/nix/gcc/include/c++/13.3.0/new:128:46: error: ‘size_t’ is not a member of ‘std’; did you mean ‘size_t’?
128 | _GLIBCXX_NODISCARD void* operator new[](std::size_t) _GLIBCXX_THROW (std::bad_alloc)
| ^~~~~~
/nix/gcc/lib/gcc/x86_64-unknown-linux-gnu/13.3.0/include/stddef.h:214:23: note: ‘size_t’ declared here
214 | typedef __SIZE_TYPE__ size_t;
| ^~~~~~
/nix/gcc/include/c++/13.3.0/new:129:41: error: attributes after parenthesized initializer ignored [-fpermissive]
129 | __attribute__((__externally_visible__));
| ^
/nix/gcc/include/c++/13.3.0/new:140:26: error: declaration of ‘operator new’ as non-function
140 | _GLIBCXX_NODISCARD void* operator new(std::size_t, const std::nothrow_t&) _GLIBCXX_USE_NOEXCEPT
| ^~~~~~~~
/nix/gcc/include/c++/13.3.0/new:140:44: error: ‘size_t’ is not a member of ‘std’; did you mean ‘size_t’?
140 | _GLIBCXX_NODISCARD void* operator new(std::size_t, const std::nothrow_t&) _GLIBCXX_USE_NOEXCEPT
| ^~~~~~
/nix/gcc/lib/gcc/x86_64-unknown-linux-gnu/13.3.0/include/stddef.h:214:23: note: ‘size_t’ declared here
214 | typedef __SIZE_TYPE__ size_t;
| ^~~~~~
/nix/gcc/include/c++/13.3.0/new:140:52: error: expected primary-expression before ‘const’
140 | _GLIBCXX_NODISCARD void* operator new(std::size_t, const std::nothrow_t&) _GLIBCXX_USE_NOEXCEPT
| ^~~~~
/nix/gcc/include/c++/13.3.0/new:142:26: error: declaration of ‘operator new []’ as non-function
142 | _GLIBCXX_NODISCARD void* operator new[](std::size_t, const std::nothrow_t&) _GLIBCXX_USE_NOEXCEPT
| ^~~~~~~~
/nix/gcc/include/c++/13.3.0/new:142:46: error: ‘size_t’ is not a member of ‘std’; did you mean ‘size_t’?
142 | _GLIBCXX_NODISCARD void* operator new[](std::size_t, const std::nothrow_t&) _GLIBCXX_USE_NOEXCEPT
| ^~~~~~
/nix/gcc/lib/gcc/x86_64-unknown-linux-gnu/13.3.0/include/stddef.h:214:23: note: ‘size_t’ declared here
214 | typedef __SIZE_TYPE__ size_t;
| ^~~~~~
/nix/gcc/include/c++/13.3.0/new:142:54: error: expected primary-expression before ‘const’
142 | _GLIBCXX_NODISCARD void* operator new[](std::size_t, const std::nothrow_t&) _GLIBCXX_USE_NOEXCEPT
| ^~~~~
/nix/gcc/include/c++/13.3.0/new:174:33: error: declaration of ‘operator new’ as non-function
174 | _GLIBCXX_NODISCARD inline void* operator new(std::size_t, void* __p) _GLIBCXX_USE_NOEXCEPT
| ^~~~~~~~
/nix/gcc/include/c++/13.3.0/new:174:51: error: ‘size_t’ is not a member of ‘std’; did you mean ‘size_t’?
174 | _GLIBCXX_NODISCARD inline void* operator new(std::size_t, void* __p) _GLIBCXX_USE_NOEXCEPT
| ^~~~~~
/nix/gcc/lib/gcc/x86_64-unknown-linux-gnu/13.3.0/include/stddef.h:214:23: note: ‘size_t’ declared here
214 | typedef __SIZE_TYPE__ size_t;
| ^~~~~~
/nix/gcc/include/c++/13.3.0/new:174:59: error: expected primary-expression before ‘void’
174 | _GLIBCXX_NODISCARD inline void* operator new(std::size_t, void* __p) _GLIBCXX_USE_NOEXCEPT
| ^~~~
/nix/gcc/include/c++/13.3.0/new:176:33: error: declaration of ‘operator new []’ as non-function
176 | _GLIBCXX_NODISCARD inline void* operator new[](std::size_t, void* __p) _GLIBCXX_USE_NOEXCEPT
| ^~~~~~~~
/nix/gcc/include/c++/13.3.0/new:176:53: error: ‘size_t’ is not a member of ‘std’; did you mean ‘size_t’?
176 | _GLIBCXX_NODISCARD inline void* operator new[](std::size_t, void* __p) _GLIBCXX_USE_NOEXCEPT
| ^~~~~~
/nix/gcc/lib/gcc/x86_64-unknown-linux-gnu/13.3.0/include/stddef.h:214:23: note: ‘size_t’ declared here
214 | typedef __SIZE_TYPE__ size_t;
| ^~~~~~
/nix/gcc/include/c++/13.3.0/new:176:61: error: expected primary-expression before ‘void’
176 | _GLIBCXX_NODISCARD inline void* operator new[](std::size_t, void* __p) _GLIBCXX_USE_NOEXCEPT
| ^~~~
In file included from /nix/gcc/include/c++/13.3.0/bits/move.h:37,
from /nix/gcc/include/c++/13.3.0/bits/exception_ptr.h:41:
/nix/gcc/include/c++/13.3.0/type_traits:510:31: error: ‘std::size_t’ has not been declared
510 | template<typename _Tp, std::size_t _Size>
| ^~~~~~
/nix/gcc/include/c++/13.3.0/type_traits:511:25: error: ‘_Size’ was not declared in this scope
511 | struct is_array<_Tp[_Size]>
| ^~~~~
/nix/gcc/include/c++/13.3.0/type_traits:511:31: error: template argument 1 is invalid
511 | struct is_array<_Tp[_Size]>
| ^
/nix/gcc/include/c++/13.3.0/type_traits:617:33: error: ‘nullptr_t’ is not a member of ‘std’; did you mean ‘nullptr_t’?
617 | struct is_null_pointer<std::nullptr_t>
| ^~~~~~~~~
In file included from /nix/gcc/include/c++/13.3.0/bits/cxxabi_init_exception.h:38,
from /nix/gcc/include/c++/13.3.0/bits/exception_ptr.h:36:
/nix/gcc/lib/gcc/x86_64-unknown-linux-gnu/13.3.0/include/stddef.h:443:29: note: ‘nullptr_t’ declared here
443 | typedef decltype(nullptr) nullptr_t;
| ^~~~~~~~~
/nix/gcc/include/c++/13.3.0/type_traits:617:33: error: ‘nullptr_t’ is not a member of ‘std’; did you mean ‘nullptr_t’?
617 | struct is_null_pointer<std::nullptr_t>
| ^~~~~~~~~
/nix/gcc/lib/gcc/x86_64-unknown-linux-gnu/13.3.0/include/stddef.h:443:29: note: ‘nullptr_t’ declared here
443 | typedef decltype(nullptr) nullptr_t;
| ^~~~~~~~~
/nix/gcc/include/c++/13.3.0/type_traits:617:42: error: template argument 1 is invalid
617 | struct is_null_pointer<std::nullptr_t>
| ^
/nix/gcc/include/c++/13.3.0/type_traits:621:48: error: template argument 1 is invalid
621 | struct is_null_pointer<const std::nullptr_t>
| ^
/nix/gcc/include/c++/13.3.0/type_traits:625:51: error: template argument 1 is invalid
625 | struct is_null_pointer<volatile std::nullptr_t>
| ^
/nix/gcc/include/c++/13.3.0/type_traits:629:57: error: template argument 1 is invalid
629 | struct is_null_pointer<const volatile std::nullptr_t>
| ^
/nix/gcc/include/c++/13.3.0/type_traits:1348:37: error: ‘size_t’ is not a member of ‘std’; did you mean ‘size_t’?
1348 | : public integral_constant<std::size_t, alignof(_Tp)>
| ^~~~~~
/nix/gcc/lib/gcc/x86_64-unknown-linux-gnu/13.3.0/include/stddef.h:214:23: note: ‘size_t’ declared here
214 | typedef __SIZE_TYPE__ size_t;
| ^~~~~~
/nix/gcc/include/c++/13.3.0/type_traits:1348:37: error: ‘size_t’ is not a member of ‘std’; did you mean ‘size_t’?
1348 | : public integral_constant<std::size_t, alignof(_Tp)>
| ^~~~~~
/nix/gcc/lib/gcc/x86_64-unknown-linux-gnu/13.3.0/include/stddef.h:214:23: note: ‘size_t’ declared here
214 | typedef __SIZE_TYPE__ size_t;
| ^~~~~~
/nix/gcc/include/c++/13.3.0/type_traits:1348:57: error: template argument 1 is invalid
1348 | : public integral_constant<std::size_t, alignof(_Tp)>
| ^
/nix/gcc/include/c++/13.3.0/type_traits:1348:57: note: invalid template non-type parameter
/nix/gcc/include/c++/13.3.0/type_traits:1357:37: error: ‘size_t’ is not a member of ‘std’; did you mean ‘size_t’?
1357 | : public integral_constant<std::size_t, 0> { };
| ^~~~~~
/nix/gcc/lib/gcc/x86_64-unknown-linux-gnu/13.3.0/include/stddef.h:214:23: note: ‘size_t’ declared here
214 | typedef __SIZE_TYPE__ size_t;
| ^~~~~~
/nix/gcc/include/c++/13.3.0/type_traits:1357:37: error: ‘size_t’ is not a member of ‘std’; did you mean ‘size_t’?
1357 | : public integral_constant<std::size_t, 0> { };
| ^~~~~~
/nix/gcc/lib/gcc/x86_64-unknown-linux-gnu/13.3.0/include/stddef.h:214:23: note: ‘size_t’ declared here
214 | typedef __SIZE_TYPE__ size_t;
| ^~~~~~
/nix/gcc/include/c++/13.3.0/type_traits:1357:46: error: template argument 1 is invalid
1357 | : public integral_constant<std::size_t, 0> { };
| ^
/nix/gcc/include/c++/13.3.0/type_traits:1357:46: note: invalid template non-type parameter
/nix/gcc/include/c++/13.3.0/type_traits:1359:31: error: ‘std::size_t’ has not been declared
1359 | template<typename _Tp, std::size_t _Size>
| ^~~~~~
/nix/gcc/include/c++/13.3.0/type_traits:1360:21: error: ‘_Size’ was not declared in this scope
1360 | struct rank<_Tp[_Size]>
| ^~~~~
/nix/gcc/include/c++/13.3.0/type_traits:1360:27: error: template argument 1 is invalid
1360 | struct rank<_Tp[_Size]>
| ^
/nix/gcc/include/c++/13.3.0/type_traits:1361:37: error: ‘size_t’ is not a member of ‘std’; did you mean ‘size_t’?
1361 | : public integral_constant<std::size_t, 1 + rank<_Tp>::value> { };
| ^~~~~~
/nix/gcc/lib/gcc/x86_64-unknown-linux-gnu/13.3.0/include/stddef.h:214:23: note: ‘size_t’ declared here
214 | typedef __SIZE_TYPE__ size_t;
| ^~~~~~
/nix/gcc/include/c++/13.3.0/type_traits:1361:37: error: ‘size_t’ is not a member of ‘std’; did you mean ‘size_t’?
1361 | : public integral_constant<std::size_t, 1 + rank<_Tp>::value> { };
| ^~~~~~
/nix/gcc/lib/gcc/x86_64-unknown-linux-gnu/13.3.0/include/stddef.h:214:23: note: ‘size_t’ declared here
214 | typedef __SIZE_TYPE__ size_t;
| ^~~~~~
/nix/gcc/include/c++/13.3.0/type_traits:1361:65: error: template argument 1 is invalid
1361 | : public integral_constant<std::size_t, 1 + rank<_Tp>::value> { };
| ^
/nix/gcc/include/c++/13.3.0/type_traits:1361:65: note: invalid template non-type parameter
/nix/gcc/include/c++/13.3.0/type_traits:1365:37: error: ‘size_t’ is not a member of ‘std’; did you mean ‘size_t’?
1365 | : public integral_constant<std::size_t, 1 + rank<_Tp>::value> { };
| ^~~~~~
/nix/gcc/lib/gcc/x86_64-unknown-linux-gnu/13.3.0/include/stddef.h:214:23: note: ‘size_t’ declared here
214 | typedef __SIZE_TYPE__ size_t;
| ^~~~~~
/nix/gcc/include/c++/13.3.0/type_traits:1365:37: error: ‘size_t’ is not a member of ‘std’; did you mean ‘size_t’?
1365 | : public integral_constant<std::size_t, 1 + rank<_Tp>::value> { };
| ^~~~~~
/nix/gcc/lib/gcc/x86_64-unknown-linux-gnu/13.3.0/include/stddef.h:214:23: note: ‘size_t’ declared here
214 | typedef __SIZE_TYPE__ size_t;
| ^~~~~~
/nix/gcc/include/c++/13.3.0/type_traits:1365:65: error: template argument 1 is invalid
1365 | : public integral_constant<std::size_t, 1 + rank<_Tp>::value> { };
| ^
/nix/gcc/include/c++/13.3.0/type_traits:1365:65: note: invalid template non-type parameter
/nix/gcc/include/c++/13.3.0/type_traits:1993:31: error: ‘std::size_t’ has not been declared
1993 | template<typename _Tp, std::size_t _Size>
| ^~~~~~
/nix/gcc/include/c++/13.3.0/type_traits:1994:30: error: ‘_Size’ was not declared in this scope
1994 | struct remove_extent<_Tp[_Size]>
| ^~~~~
/nix/gcc/include/c++/13.3.0/type_traits:1994:36: error: template argument 1 is invalid
1994 | struct remove_extent<_Tp[_Size]>
| ^
/nix/gcc/include/c++/13.3.0/type_traits:2006:31: error: ‘std::size_t’ has not been declared
2006 | template<typename _Tp, std::size_t _Size>
| ^~~~~~
/nix/gcc/include/c++/13.3.0/type_traits:2007:35: error: ‘_Size’ was not declared in this scope
2007 | struct remove_all_extents<_Tp[_Size]>
| ^~~~~
/nix/gcc/include/c++/13.3.0/type_traits:2007:41: error: template argument 1 is invalid
2007 | struct remove_all_extents<_Tp[_Size]>
| ^
/nix/gcc/include/c++/13.3.0/type_traits:2072:17: error: ‘std::size_t’ has not been declared
2072 | template<std::size_t _Len>
| ^~~~~~
/nix/gcc/include/c++/13.3.0/type_traits:2077:30: error: ‘_Len’ was not declared in this scope
2077 | unsigned char __data[_Len];
| ^~~~
/nix/gcc/include/c++/13.3.0/type_traits:2095:17: error: ‘std::size_t’ has not been declared
2095 | template<std::size_t _Len, std::size_t _Align =
| ^~~~~~
/nix/gcc/include/c++/13.3.0/type_traits:2095:35: error: ‘std::size_t’ has not been declared
2095 | template<std::size_t _Len, std::size_t _Align =
| ^~~~~~
/nix/gcc/include/c++/13.3.0/type_traits:2096:55: error: ‘_Len’ was not declared in this scope
2096 | __alignof__(typename __aligned_storage_msa<_Len>::__type)>
| ^~~~
/nix/gcc/include/c++/13.3.0/type_traits:2096:59: error: template argument 1 is invalid
2096 | __alignof__(typename __aligned_storage_msa<_Len>::__type)>
| ^
/nix/gcc/include/c++/13.3.0/type_traits:2103:30: error: ‘_Len’ was not declared in this scope
2103 | unsigned char __data[_Len];
| ^~~~
/nix/gcc/include/c++/13.3.0/type_traits:2104:44: error: ‘_Align’ was not declared in this scope
2104 | struct __attribute__((__aligned__((_Align)))) { } __align;
| ^~~~~~
In file included from /nix/gcc/include/c++/13.3.0/ios:42:
/nix/gcc/include/c++/13.3.0/bits/char_traits.h:144:66: error: ‘std::size_t’ has not been declared
144 | compare(const char_type* __s1, const char_type* __s2, std::size_t __n);
| ^~~~~~
/nix/gcc/include/c++/13.3.0/bits/char_traits.h:146:40: error: ‘size_t’ in namespace ‘std’ does not name a type
146 | static _GLIBCXX14_CONSTEXPR std::size_t
| ^~~~~~
/nix/gcc/include/c++/13.3.0/bits/char_traits.h:150:39: error: ‘std::size_t’ has not been declared
150 | find(const char_type* __s, std::size_t __n, const char_type& __a);
| ^~~~~~
/nix/gcc/include/c++/13.3.0/bits/char_traits.h:153:57: error: ‘std::size_t’ has not been declared
153 | move(char_type* __s1, const char_type* __s2, std::size_t __n);
| ^~~~~~
/nix/gcc/include/c++/13.3.0/bits/char_traits.h:156:57: error: ‘std::size_t’ has not been declared
156 | copy(char_type* __s1, const char_type* __s2, std::size_t __n);
| ^~~~~~
/nix/gcc/include/c++/13.3.0/bits/char_traits.h:159:35: error: ‘std::size_t’ has not been declared
159 | assign(char_type* __s, std::size_t __n, char_type __a);
| ^~~~~~
/nix/gcc/include/c++/13.3.0/bits/char_traits.h:187:64: error: ‘std::size_t’ has not been declared
187 | compare(const char_type* __s1, const char_type* __s2, std::size_t __n)
| ^~~~~~
/nix/gcc/include/c++/13.3.0/bits/char_traits.h: In static member function ‘static int __gnu_cxx::char_traits<_CharT>::compare(const char_type*, const char_type*, int)’:
/nix/gcc/include/c++/13.3.0/bits/char_traits.h:189:17: error: ‘size_t’ is not a member of ‘std’; did you mean ‘size_t’?
189 | for (std::size_t __i = 0; __i < __n; ++__i)
| ^~~~~~
/nix/gcc/lib/gcc/x86_64-unknown-linux-gnu/13.3.0/include/stddef.h:214:23: note: ‘size_t’ declared here
214 | typedef __SIZE_TYPE__ size_t;
| ^~~~~~
/nix/gcc/include/c++/13.3.0/bits/char_traits.h:189:33: error: ‘__i’ was not declared in this scope; did you mean ‘__n’?
189 | for (std::size_t __i = 0; __i < __n; ++__i)
| ^~~
| __n
/nix/gcc/include/c++/13.3.0/bits/char_traits.h: At global scope:
/nix/gcc/include/c++/13.3.0/bits/char_traits.h:198:31: error: ‘size_t’ in namespace ‘std’ does not name a type
198 | _GLIBCXX14_CONSTEXPR std::size_t
| ^~~~~~
/nix/gcc/include/c++/13.3.0/bits/char_traits.h:211:37: error: ‘std::size_t’ has not been declared
211 | find(const char_type* __s, std::size_t __n, const char_type& __a)
| ^~~~~~
/nix/gcc/include/c++/13.3.0/bits/char_traits.h: In static member function ‘static const __gnu_cxx::char_traits<_CharT>::char_type* __gnu_cxx::char_traits<_CharT>::find(const char_type*, int, const char_type&)’:
/nix/gcc/include/c++/13.3.0/bits/char_traits.h:213:17: error: ‘size_t’ is not a member of ‘std’; did you mean ‘size_t’?
213 | for (std::size_t __i = 0; __i < __n; ++__i)
| ^~~~~~
/nix/gcc/lib/gcc/x86_64-unknown-linux-gnu/13.3.0/include/stddef.h:214:23: note: ‘size_t’ declared here
214 | typedef __SIZE_TYPE__ size_t;
| ^~~~~~
/nix/gcc/include/c++/13.3.0/bits/char_traits.h:213:33: error: ‘__i’ was not declared in this scope; did you mean ‘__s’?
213 | for (std::size_t __i = 0; __i < __n; ++__i)
| ^~~
| __s
/nix/gcc/include/c++/13.3.0/bits/char_traits.h: At global scope:
/nix/gcc/include/c++/13.3.0/bits/char_traits.h:223:55: error: ‘std::size_t’ has not been declared
223 | move(char_type* __s1, const char_type* __s2, std::size_t __n)
| ^~~~~~
/nix/gcc/include/c++/13.3.0/bits/char_traits.h:254:55: error: ‘std::size_t’ has not been declared
254 | copy(char_type* __s1, const char_type* __s2, std::size_t __n)
| ^~~~~~
/nix/gcc/include/c++/13.3.0/bits/char_traits.h:274:33: error: ‘std::size_t’ has not been declared
274 | assign(char_type* __s, std::size_t __n, char_type __a)
| ^~~~~~
/nix/gcc/include/c++/13.3.0/bits/char_traits.h: In static member function ‘static __gnu_cxx::char_traits<_CharT>::char_type* __gnu_cxx::char_traits<_CharT>::assign(char_type*, int, char_type)’:
/nix/gcc/include/c++/13.3.0/bits/char_traits.h:296:21: error: ‘size_t’ is not a member of ‘std’; did you mean ‘size_t’?
296 | for (std::size_t __i = 0; __i < __n; ++__i)
| ^~~~~~
/nix/gcc/lib/gcc/x86_64-unknown-linux-gnu/13.3.0/include/stddef.h:214:23: note: ‘size_t’ declared here
214 | typedef __SIZE_TYPE__ size_t;
| ^~~~~~
/nix/gcc/include/c++/13.3.0/bits/char_traits.h:296:37: error: ‘__i’ was not declared in this scope; did you mean ‘__s’?
296 | for (std::size_t __i = 0; __i < __n; ++__i)
| ^~~
| __s
In file included from /nix/gcc/include/c++/13.3.0/x86_64-unknown-linux-gnu/bits/c++allocator.h:33,
from /nix/gcc/include/c++/13.3.0/bits/allocator.h:46,
from /nix/gcc/include/c++/13.3.0/string:43,
from /nix/gcc/include/c++/13.3.0/bits/locale_classes.h:40,
from /nix/gcc/include/c++/13.3.0/bits/ios_base.h:41,
from /nix/gcc/include/c++/13.3.0/ios:44:
/nix/gcc/include/c++/13.3.0/bits/new_allocator.h: At global scope:
/nix/gcc/include/c++/13.3.0/bits/new_allocator.h:67:20: error: ‘size_t’ in namespace ‘std’ does not name a type
67 | typedef std::size_t size_type;
| ^~~~~~
/nix/gcc/include/c++/13.3.0/bits/new_allocator.h:68:20: error: ‘ptrdiff_t’ in namespace ‘std’ does not name a type
68 | typedef std::ptrdiff_t difference_type;
| ^~~~~~~~~
/nix/gcc/include/c++/13.3.0/bits/new_allocator.h:126:16: error: ‘size_type’ has not been declared
126 | allocate(size_type __n, const void* = static_cast<const void*>(0))
| ^~~~~~~~~
/nix/gcc/include/c++/13.3.0/bits/new_allocator.h:156:28: error: ‘size_type’ has not been declared
156 | deallocate(_Tp* __p, size_type __n __attribute__ ((__unused__)))
| ^~~~~~~~~
/nix/gcc/include/c++/13.3.0/bits/new_allocator.h:181:7: error: ‘size_type’ does not name a type; did you mean ‘true_type’?
181 | size_type
| ^~~~~~~~~
| true_type
/nix/gcc/include/c++/13.3.0/bits/new_allocator.h:229:26: error: ‘size_type’ does not name a type; did you mean ‘true_type’?
229 | _GLIBCXX_CONSTEXPR size_type
| ^~~~~~~~~
| true_type
/nix/gcc/include/c++/13.3.0/bits/new_allocator.h: In member function ‘_Tp* std::__new_allocator<_Tp>::allocate(int, const void*)’:
/nix/gcc/include/c++/13.3.0/bits/new_allocator.h:138:29: error: ‘size_t’ is not a member of ‘std’; did you mean ‘size_t’?
138 | if (__n > (std::size_t(-1) / sizeof(_Tp)))
| ^~~~~~
/nix/gcc/lib/gcc/x86_64-unknown-linux-gnu/13.3.0/include/stddef.h:214:23: note: ‘size_t’ declared here
214 | typedef __SIZE_TYPE__ size_t;
| ^~~~~~
In file included from /nix/gcc/include/c++/13.3.0/string:46:
/nix/gcc/include/c++/13.3.0/bits/ostream_insert.h: At global scope:
/nix/gcc/include/c++/13.3.0/bits/ostream_insert.h:48:40: error: ‘streamsize’ has not been declared
48 | const _CharT* __s, streamsize __n)
| ^~~~~~~~~~
/nix/gcc/include/c++/13.3.0/bits/ostream_insert.h: In function ‘void std::__ostream_write(basic_ostream<_CharT, _Traits>&, const _CharT*, int)’:
/nix/gcc/include/c++/13.3.0/bits/ostream_insert.h:53:13: error: ‘streamsize’ does not name a type
53 | const streamsize __put = __out.rdbuf()->sputn(__s, __n);
| ^~~~~~~~~~
/nix/gcc/include/c++/13.3.0/bits/ostream_insert.h:54:11: error: ‘__put’ was not declared in this scope; did you mean ‘__out’?
54 | if (__put != __n)
| ^~~~~
| __out
/nix/gcc/include/c++/13.3.0/bits/ostream_insert.h: At global scope:
/nix/gcc/include/c++/13.3.0/bits/ostream_insert.h:60:59: error: ‘streamsize’ has not been declared
60 | __ostream_fill(basic_ostream<_CharT, _Traits>& __out, streamsize __n)
| ^~~~~~~~~~
/nix/gcc/include/c++/13.3.0/bits/ostream_insert.h:80:41: error: ‘streamsize’ has not been declared
80 | const _CharT* __s, streamsize __n)
| ^~~~~~~~~~
/nix/gcc/include/c++/13.3.0/bits/ostream_insert.h: In function ‘std::basic_ostream<_CharT, _Traits>& std::__ostream_insert(basic_ostream<_CharT, _Traits>&, const _CharT*, int)’:
/nix/gcc/include/c++/13.3.0/bits/ostream_insert.h:90:21: error: ‘streamsize’ does not name a type
90 | const streamsize __w = __out.width();
| ^~~~~~~~~~
/nix/gcc/include/c++/13.3.0/bits/ostream_insert.h:91:19: error: ‘__w’ was not declared in this scope; did you mean ‘__s’?
91 | if (__w > __n)
| ^~~
| __s
/nix/gcc/include/c++/13.3.0/bits/ostream_insert.h: At global scope:
/nix/gcc/include/c++/13.3.0/bits/ostream_insert.h:121:68: error: ‘streamsize’ has not been declared
121 | extern template ostream& __ostream_insert(ostream&, const char*, streamsize);
| ^~~~~~~~~~
/nix/gcc/include/c++/13.3.0/bits/ostream_insert.h:125:46: error: ‘streamsize’ has not been declared
125 | streamsize);
| ^~~~~~~~~~
In file included from /nix/gcc/include/c++/13.3.0/bits/stl_iterator.h:65,
from /nix/gcc/include/c++/13.3.0/string:48:
/nix/gcc/include/c++/13.3.0/ext/type_traits.h:164:35: error: ‘constexpr const bool __gnu_cxx::__is_null_pointer’ redeclared as different kind of entity
164 | __is_null_pointer(std::nullptr_t)
| ^
/nix/gcc/include/c++/13.3.0/ext/type_traits.h:159:5: note: previous declaration ‘template<class _Type> constexpr bool __gnu_cxx::__is_null_pointer(_Type)’
159 | __is_null_pointer(_Type)
| ^~~~~~~~~~~~~~~~~
/nix/gcc/include/c++/13.3.0/ext/type_traits.h:164:26: error: ‘nullptr_t’ is not a member of ‘std’; did you mean ‘nullptr_t’?
164 | __is_null_pointer(std::nullptr_t)
| ^~~~~~~~~
/nix/gcc/lib/gcc/x86_64-unknown-linux-gnu/13.3.0/include/stddef.h:443:29: note: ‘nullptr_t’ declared here
443 | typedef decltype(nullptr) nullptr_t;
| ^~~~~~~~~
In file included from /nix/gcc/include/c++/13.3.0/ext/alloc_traits.h:34,
from /nix/gcc/include/c++/13.3.0/bits/basic_string.h:39,
from /nix/gcc/include/c++/13.3.0/string:54:
/nix/gcc/include/c++/13.3.0/bits/alloc_traits.h:449:36: error: ‘ptrdiff_t’ in namespace ‘std’ does not name a type
449 | using difference_type = std::ptrdiff_t;
| ^~~~~~~~~
/nix/gcc/include/c++/13.3.0/bits/alloc_traits.h:452:30: error: ‘size_t’ in namespace ‘std’ does not name a type
452 | using size_type = std::size_t;
| ^~~~~~
/nix/gcc/include/c++/13.3.0/bits/alloc_traits.h:481:37: error: ‘size_type’ has not been declared
481 | allocate(allocator_type& __a, size_type __n)
| ^~~~~~~~~
/nix/gcc/include/c++/13.3.0/bits/alloc_traits.h:496:37: error: ‘size_type’ has not been declared
496 | allocate(allocator_type& __a, size_type __n,
| ^~~~~~~~~
/nix/gcc/include/c++/13.3.0/bits/alloc_traits.h:516:52: error: ‘size_type’ has not been declared
516 | deallocate(allocator_type& __a, pointer __p, size_type __n)
| ^~~~~~~~~
/nix/gcc/include/c++/13.3.0/bits/alloc_traits.h:570:35: error: ‘size_type’ does not name a type; did you mean ‘true_type’?
570 | static _GLIBCXX20_CONSTEXPR size_type
| ^~~~~~~~~
| true_type
/nix/gcc/include/c++/13.3.0/bits/alloc_traits.h:614:36: error: ‘ptrdiff_t’ in namespace ‘std’ does not name a type
614 | using difference_type = std::ptrdiff_t;
| ^~~~~~~~~
/nix/gcc/include/c++/13.3.0/bits/alloc_traits.h:617:30: error: ‘size_t’ in namespace ‘std’ does not name a type
617 | using size_type = std::size_t;
| ^~~~~~
/nix/gcc/include/c++/13.3.0/bits/alloc_traits.h:639:33: error: ‘size_type’ has not been declared
639 | allocate(allocator_type&, size_type, const void* = nullptr) = delete;
| ^~~~~~~~~
/nix/gcc/include/c++/13.3.0/bits/alloc_traits.h:643:42: error: ‘size_type’ has not been declared
643 | deallocate(allocator_type&, void*, size_type) = delete;
| ^~~~~~~~~
/nix/gcc/include/c++/13.3.0/bits/alloc_traits.h:678:14: error: ‘size_type’ does not name a type; did you mean ‘true_type’?
678 | static size_type
| ^~~~~~~~~
| true_type
In file included from /nix/gcc/include/c++/13.3.0/bits/basic_string.h:4109:
/nix/gcc/include/c++/13.3.0/ext/string_conversions.h:57:58: error: ‘std::size_t’ has not been declared
57 | const char* __name, const _CharT* __str, std::size_t* __idx,
| ^~~~~~
/nix/gcc/include/c++/13.3.0/ext/string_conversions.h:101:48: error: ‘std::size_t’ has not been declared
101 | __to_xstring(int (*__convf) (_CharT*, std::size_t, const _CharT*,
| ^~~~~~
/nix/gcc/include/c++/13.3.0/ext/string_conversions.h:102:59: error: ‘std::size_t’ has not been declared
102 | __builtin_va_list), std::size_t __n,
| ^~~~~~
/nix/gcc/include/c++/13.3.0/ext/alloc_traits.h: In instantiation of ‘struct __gnu_cxx::__alloc_traits<std::allocator<char>, char>’:
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:90:24: required from ‘class std::__cxx11::basic_string<char>’
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:4121:68: required from here
/nix/gcc/include/c++/13.3.0/ext/alloc_traits.h:56:53: error: no type named ‘size_type’ in ‘__gnu_cxx::__alloc_traits<std::allocator<char>, char>::_Base_type’ {aka ‘struct std::allocator_traits<std::allocator<char> >’}
56 | typedef typename _Base_type::size_type size_type;
| ^~~~~~~~~
/nix/gcc/include/c++/13.3.0/ext/alloc_traits.h:57:53: error: no type named ‘difference_type’ in ‘__gnu_cxx::__alloc_traits<std::allocator<char>, char>::_Base_type’ {aka ‘struct std::allocator_traits<std::allocator<char> >’}
57 | typedef typename _Base_type::difference_type difference_type;
| ^~~~~~~~~~~~~~~
/nix/gcc/include/c++/13.3.0/ext/alloc_traits.h:65:23: error: ‘max_size’ has not been declared in ‘__gnu_cxx::__alloc_traits<std::allocator<char>, char>::_Base_type’
65 | using _Base_type::max_size;
| ^~~~~~~~
/nix/gcc/include/c++/13.3.0/bits/basic_string.h: In function ‘int std::__cxx11::stoi(const std::string&, size_t*, int)’:
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:4121:40: error: no matching function for call to ‘__stoa<long int, int>(long int (*)(const char*, char**, int) noexcept, const char [5], const char*, size_t*&, int&)’
4121 | { return __gnu_cxx::__stoa<long, int>(&std::strtol, "stoi", __str.c_str(),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4122 | __idx, __base); }
| ~~~~~~~~~~~~~~
/nix/gcc/include/c++/13.3.0/ext/string_conversions.h:56:5: note: candidate: ‘template<class _TRet, class _Ret, class _CharT, class ... _Base> _Ret __gnu_cxx::__stoa(_TRet (*)(const _CharT*, _CharT**, _Base ...), const char*, const _CharT*, int*, _Base ...)’
56 | __stoa(_TRet (*__convf) (const _CharT*, _CharT**, _Base...),
| ^~~~~~
/nix/gcc/include/c++/13.3.0/ext/string_conversions.h:56:5: note: template argument deduction/substitution failed:
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:4122:41: note: cannot convert ‘__idx’ (type ‘size_t*’ {aka ‘long unsigned int*’}) to type ‘int*’
4122 | __idx, __base); }
| ^~~~~
/nix/gcc/include/c++/13.3.0/bits/basic_string.h: In function ‘long int std::__cxx11::stol(const std::string&, size_t*, int)’:
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:4126:29: error: no matching function for call to ‘__stoa(long int (*)(const char*, char**, int) noexcept, const char [5], const char*, size_t*&, int&)’
4126 | { return __gnu_cxx::__stoa(&std::strtol, "stol", __str.c_str(),
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4127 | __idx, __base); }
| ~~~~~~~~~~~~~~
/nix/gcc/include/c++/13.3.0/ext/string_conversions.h:56:5: note: candidate: ‘template<class _TRet, class _Ret, class _CharT, class ... _Base> _Ret __gnu_cxx::__stoa(_TRet (*)(const _CharT*, _CharT**, _Base ...), const char*, const _CharT*, int*, _Base ...)’
56 | __stoa(_TRet (*__convf) (const _CharT*, _CharT**, _Base...),
| ^~~~~~
/nix/gcc/include/c++/13.3.0/ext/string_conversions.h:56:5: note: template argument deduction/substitution failed:
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:4127:30: note: cannot convert ‘__idx’ (type ‘size_t*’ {aka ‘long unsigned int*’}) to type ‘int*’
4127 | __idx, __base); }
| ^~~~~
/nix/gcc/include/c++/13.3.0/bits/basic_string.h: In function ‘long unsigned int std::__cxx11::stoul(const std::string&, size_t*, int)’:
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:4131:29: error: no matching function for call to ‘__stoa(long unsigned int (*)(const char*, char**, int) noexcept, const char [6], const char*, size_t*&, int&)’
4131 | { return __gnu_cxx::__stoa(&std::strtoul, "stoul", __str.c_str(),
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4132 | __idx, __base); }
| ~~~~~~~~~~~~~~
/nix/gcc/include/c++/13.3.0/ext/string_conversions.h:56:5: note: candidate: ‘template<class _TRet, class _Ret, class _CharT, class ... _Base> _Ret __gnu_cxx::__stoa(_TRet (*)(const _CharT*, _CharT**, _Base ...), const char*, const _CharT*, int*, _Base ...)’
56 | __stoa(_TRet (*__convf) (const _CharT*, _CharT**, _Base...),
| ^~~~~~
/nix/gcc/include/c++/13.3.0/ext/string_conversions.h:56:5: note: template argument deduction/substitution failed:
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:4132:30: note: cannot convert ‘__idx’ (type ‘size_t*’ {aka ‘long unsigned int*’}) to type ‘int*’
4132 | __idx, __base); }
| ^~~~~
/nix/gcc/include/c++/13.3.0/bits/basic_string.h: In function ‘long long int std::__cxx11::stoll(const std::string&, size_t*, int)’:
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:4136:29: error: no matching function for call to ‘__stoa(long long int (*)(const char*, char**, int) noexcept, const char [6], const char*, size_t*&, int&)’
4136 | { return __gnu_cxx::__stoa(&std::strtoll, "stoll", __str.c_str(),
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4137 | __idx, __base); }
| ~~~~~~~~~~~~~~
/nix/gcc/include/c++/13.3.0/ext/string_conversions.h:56:5: note: candidate: ‘template<class _TRet, class _Ret, class _CharT, class ... _Base> _Ret __gnu_cxx::__stoa(_TRet (*)(const _CharT*, _CharT**, _Base ...), const char*, const _CharT*, int*, _Base ...)’
56 | __stoa(_TRet (*__convf) (const _CharT*, _CharT**, _Base...),
| ^~~~~~
/nix/gcc/include/c++/13.3.0/ext/string_conversions.h:56:5: note: template argument deduction/substitution failed:
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:4137:30: note: cannot convert ‘__idx’ (type ‘size_t*’ {aka ‘long unsigned int*’}) to type ‘int*’
4137 | __idx, __base); }
| ^~~~~
/nix/gcc/include/c++/13.3.0/bits/basic_string.h: In function ‘long long unsigned int std::__cxx11::stoull(const std::string&, size_t*, int)’:
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:4141:29: error: no matching function for call to ‘__stoa(long long unsigned int (*)(const char*, char**, int) noexcept, const char [7], const char*, size_t*&, int&)’
4141 | { return __gnu_cxx::__stoa(&std::strtoull, "stoull", __str.c_str(),
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4142 | __idx, __base); }
| ~~~~~~~~~~~~~~
/nix/gcc/include/c++/13.3.0/ext/string_conversions.h:56:5: note: candidate: ‘template<class _TRet, class _Ret, class _CharT, class ... _Base> _Ret __gnu_cxx::__stoa(_TRet (*)(const _CharT*, _CharT**, _Base ...), const char*, const _CharT*, int*, _Base ...)’
56 | __stoa(_TRet (*__convf) (const _CharT*, _CharT**, _Base...),
| ^~~~~~
/nix/gcc/include/c++/13.3.0/ext/string_conversions.h:56:5: note: template argument deduction/substitution failed:
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:4142:30: note: cannot convert ‘__idx’ (type ‘size_t*’ {aka ‘long unsigned int*’}) to type ‘int*’
4142 | __idx, __base); }
| ^~~~~
/nix/gcc/include/c++/13.3.0/bits/basic_string.h: In function ‘float std::__cxx11::stof(const std::string&, size_t*)’:
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:4147:29: error: no matching function for call to ‘__stoa(float (*)(const char*, char**) noexcept, const char [5], const char*, size_t*&)’
4147 | { return __gnu_cxx::__stoa(&std::strtof, "stof", __str.c_str(), __idx); }
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/nix/gcc/include/c++/13.3.0/ext/string_conversions.h:56:5: note: candidate: ‘template<class _TRet, class _Ret, class _CharT, class ... _Base> _Ret __gnu_cxx::__stoa(_TRet (*)(const _CharT*, _CharT**, _Base ...), const char*, const _CharT*, int*, _Base ...)’
56 | __stoa(_TRet (*__convf) (const _CharT*, _CharT**, _Base...),
| ^~~~~~
/nix/gcc/include/c++/13.3.0/ext/string_conversions.h:56:5: note: template argument deduction/substitution failed:
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:4147:67: note: cannot convert ‘__idx’ (type ‘size_t*’ {aka ‘long unsigned int*’}) to type ‘int*’
4147 | { return __gnu_cxx::__stoa(&std::strtof, "stof", __str.c_str(), __idx); }
| ^~~~~
/nix/gcc/include/c++/13.3.0/bits/basic_string.h: In function ‘double std::__cxx11::stod(const std::string&, size_t*)’:
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:4151:29: error: no matching function for call to ‘__stoa(double (*)(const char*, char**) noexcept, const char [5], const char*, size_t*&)’
4151 | { return __gnu_cxx::__stoa(&std::strtod, "stod", __str.c_str(), __idx); }
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/nix/gcc/include/c++/13.3.0/ext/string_conversions.h:56:5: note: candidate: ‘template<class _TRet, class _Ret, class _CharT, class ... _Base> _Ret __gnu_cxx::__stoa(_TRet (*)(const _CharT*, _CharT**, _Base ...), const char*, const _CharT*, int*, _Base ...)’
56 | __stoa(_TRet (*__convf) (const _CharT*, _CharT**, _Base...),
| ^~~~~~
/nix/gcc/include/c++/13.3.0/ext/string_conversions.h:56:5: note: template argument deduction/substitution failed:
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:4151:67: note: cannot convert ‘__idx’ (type ‘size_t*’ {aka ‘long unsigned int*’}) to type ‘int*’
4151 | { return __gnu_cxx::__stoa(&std::strtod, "stod", __str.c_str(), __idx); }
| ^~~~~
/nix/gcc/include/c++/13.3.0/bits/basic_string.h: In function ‘long double std::__cxx11::stold(const std::string&, size_t*)’:
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:4155:29: error: no matching function for call to ‘__stoa(long double (*)(const char*, char**) noexcept, const char [6], const char*, size_t*&)’
4155 | { return __gnu_cxx::__stoa(&std::strtold, "stold", __str.c_str(), __idx); }
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/nix/gcc/include/c++/13.3.0/ext/string_conversions.h:56:5: note: candidate: ‘template<class _TRet, class _Ret, class _CharT, class ... _Base> _Ret __gnu_cxx::__stoa(_TRet (*)(const _CharT*, _CharT**, _Base ...), const char*, const _CharT*, int*, _Base ...)’
56 | __stoa(_TRet (*__convf) (const _CharT*, _CharT**, _Base...),
| ^~~~~~
/nix/gcc/include/c++/13.3.0/ext/string_conversions.h:56:5: note: template argument deduction/substitution failed:
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:4155:69: note: cannot convert ‘__idx’ (type ‘size_t*’ {aka ‘long unsigned int*’}) to type ‘int*’
4155 | { return __gnu_cxx::__stoa(&std::strtold, "stold", __str.c_str(), __idx); }
| ^~~~~
/nix/gcc/include/c++/13.3.0/bits/basic_string.h: In function ‘std::string std::__cxx11::to_string(int)’:
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:4170:36: error: no matching function for call to ‘std::__cxx11::basic_string<char>::basic_string(unsigned int, char)’
4170 | string __str(__neg + __len, '-');
| ^
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:641:7: note: candidate: ‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]’
641 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc())
| ^~~~~~~~~~~~
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:641:53: note: no known conversion for argument 2 from ‘char’ to ‘const std::allocator<char>&’
641 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc())
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:760:9: note: candidate: ‘template<class _InputIterator, class> std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(_InputIterator, _InputIterator, const _Alloc&) [with <template-parameter-2-2> = _InputIterator; _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]’
760 | basic_string(_InputIterator __beg, _InputIterator __end,
| ^~~~~~~~~~~~
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:760:9: note: template argument deduction/substitution failed:
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:4170:36: note: deduced conflicting types for parameter ‘_InputIterator’ (‘unsigned int’ and ‘char’)
4170 | string __str(__neg + __len, '-');
| ^
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:716:7: note: candidate: ‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]’
716 | basic_string(basic_string&& __str, const _Alloc& __a)
| ^~~~~~~~~~~~
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:716:35: note: no known conversion for argument 1 from ‘unsigned int’ to ‘std::__cxx11::basic_string<char>&&’
716 | basic_string(basic_string&& __str, const _Alloc& __a)
| ~~~~~~~~~~~~~~~^~~~~
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:711:7: note: candidate: ‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]’
711 | basic_string(const basic_string& __str, const _Alloc& __a)
| ^~~~~~~~~~~~
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:711:40: note: no known conversion for argument 1 from ‘unsigned int’ to ‘const std::__cxx11::basic_string<char>&’
711 | basic_string(const basic_string& __str, const _Alloc& __a)
| ~~~~~~~~~~~~~~~~~~~~^~~~~
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:706:7: note: candidate: ‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::initializer_list<_Tp>, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]’
706 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc())
| ^~~~~~~~~~~~
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:706:45: note: no known conversion for argument 1 from ‘unsigned int’ to ‘std::initializer_list<char>’
706 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc())
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:677:7: note: candidate: ‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]’
677 | basic_string(basic_string&& __str) noexcept
| ^~~~~~~~~~~~
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:677:7: note: candidate expects 1 argument, 2 provided
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:547:7: note: candidate: ‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]’
547 | basic_string(const basic_string& __str)
| ^~~~~~~~~~~~
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:547:7: note: candidate expects 1 argument, 2 provided
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:535:7: note: candidate: ‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]’
535 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT
| ^~~~~~~~~~~~
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:535:7: note: candidate expects 1 argument, 2 provided
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:522:7: note: candidate: ‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string() [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]’
522 | basic_string()
| ^~~~~~~~~~~~
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:522:7: note: candidate expects 0 arguments, 2 provided
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:4171:40: error: no match for ‘operator[]’ (operand types are ‘std::string’ {aka ‘std::__cxx11::basic_string<char>’} and ‘const bool’)
4171 | __detail::__to_chars_10_impl(&__str[__neg], __len, __uval);
| ^
/nix/gcc/include/c++/13.3.0/bits/basic_string.h: In function ‘std::string std::__cxx11::to_string(unsigned int)’:
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:4182:55: error: no matching function for call to ‘std::__cxx11::basic_string<char>::basic_string(unsigned int, char)’
4182 | string __str(__detail::__to_chars_len(__val), '\0');
| ^
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:641:7: note: candidate: ‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]’
641 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc())
| ^~~~~~~~~~~~
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:641:53: note: no known conversion for argument 2 from ‘char’ to ‘const std::allocator<char>&’
641 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc())
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:760:9: note: candidate: ‘template<class _InputIterator, class> std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(_InputIterator, _InputIterator, const _Alloc&) [with <template-parameter-2-2> = _InputIterator; _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]’
760 | basic_string(_InputIterator __beg, _InputIterator __end,
| ^~~~~~~~~~~~
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:760:9: note: template argument deduction/substitution failed:
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:4182:55: note: deduced conflicting types for parameter ‘_InputIterator’ (‘unsigned int’ and ‘char’)
4182 | string __str(__detail::__to_chars_len(__val), '\0');
| ^
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:716:7: note: candidate: ‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]’
716 | basic_string(basic_string&& __str, const _Alloc& __a)
| ^~~~~~~~~~~~
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:716:35: note: no known conversion for argument 1 from ‘unsigned int’ to ‘std::__cxx11::basic_string<char>&&’
716 | basic_string(basic_string&& __str, const _Alloc& __a)
| ~~~~~~~~~~~~~~~^~~~~
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:711:7: note: candidate: ‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]’
711 | basic_string(const basic_string& __str, const _Alloc& __a)
| ^~~~~~~~~~~~
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:711:40: note: no known conversion for argument 1 from ‘unsigned int’ to ‘const std::__cxx11::basic_string<char>&’
711 | basic_string(const basic_string& __str, const _Alloc& __a)
| ~~~~~~~~~~~~~~~~~~~~^~~~~
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:706:7: note: candidate: ‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::initializer_list<_Tp>, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]’
706 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc())
| ^~~~~~~~~~~~
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:706:45: note: no known conversion for argument 1 from ‘unsigned int’ to ‘std::initializer_list<char>’
706 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc())
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:677:7: note: candidate: ‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]’
677 | basic_string(basic_string&& __str) noexcept
| ^~~~~~~~~~~~
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:677:7: note: candidate expects 1 argument, 2 provided
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:547:7: note: candidate: ‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]’
547 | basic_string(const basic_string& __str)
| ^~~~~~~~~~~~
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:547:7: note: candidate expects 1 argument, 2 provided
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:535:7: note: candidate: ‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]’
535 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT
| ^~~~~~~~~~~~
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:535:7: note: candidate expects 1 argument, 2 provided
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:522:7: note: candidate: ‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string() [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]’
522 | basic_string()
| ^~~~~~~~~~~~
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:522:7: note: candidate expects 0 arguments, 2 provided
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:4183:40: error: no match for ‘operator[]’ (operand types are ‘std::string’ {aka ‘std::__cxx11::basic_string<char>’} and ‘int’)
4183 | __detail::__to_chars_10_impl(&__str[0], __str.size(), __val);
| ^
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:4183:51: error: ‘std::string’ {aka ‘class std::__cxx11::basic_string<char>’} has no member named ‘size’
4183 | __detail::__to_chars_10_impl(&__str[0], __str.size(), __val);
| ^~~~
/nix/gcc/include/c++/13.3.0/bits/basic_string.h: In function ‘std::string std::__cxx11::to_string(long int)’:
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:4197:36: error: no matching function for call to ‘std::__cxx11::basic_string<char>::basic_string(unsigned int, char)’
4197 | string __str(__neg + __len, '-');
| ^
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:641:7: note: candidate: ‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]’
641 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc())
| ^~~~~~~~~~~~
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:641:53: note: no known conversion for argument 2 from ‘char’ to ‘const std::allocator<char>&’
641 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc())
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:760:9: note: candidate: ‘template<class _InputIterator, class> std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(_InputIterator, _InputIterator, const _Alloc&) [with <template-parameter-2-2> = _InputIterator; _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]’
760 | basic_string(_InputIterator __beg, _InputIterator __end,
| ^~~~~~~~~~~~
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:760:9: note: template argument deduction/substitution failed:
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:4197:36: note: deduced conflicting types for parameter ‘_InputIterator’ (‘unsigned int’ and ‘char’)
4197 | string __str(__neg + __len, '-');
| ^
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:716:7: note: candidate: ‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]’
716 | basic_string(basic_string&& __str, const _Alloc& __a)
| ^~~~~~~~~~~~
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:716:35: note: no known conversion for argument 1 from ‘unsigned int’ to ‘std::__cxx11::basic_string<char>&&’
716 | basic_string(basic_string&& __str, const _Alloc& __a)
| ~~~~~~~~~~~~~~~^~~~~
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:711:7: note: candidate: ‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]’
711 | basic_string(const basic_string& __str, const _Alloc& __a)
| ^~~~~~~~~~~~
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:711:40: note: no known conversion for argument 1 from ‘unsigned int’ to ‘const std::__cxx11::basic_string<char>&’
711 | basic_string(const basic_string& __str, const _Alloc& __a)
| ~~~~~~~~~~~~~~~~~~~~^~~~~
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:706:7: note: candidate: ‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::initializer_list<_Tp>, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]’
706 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc())
| ^~~~~~~~~~~~
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:706:45: note: no known conversion for argument 1 from ‘unsigned int’ to ‘std::initializer_list<char>’
706 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc())
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:677:7: note: candidate: ‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]’
677 | basic_string(basic_string&& __str) noexcept
| ^~~~~~~~~~~~
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:677:7: note: candidate expects 1 argument, 2 provided
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:547:7: note: candidate: ‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]’
547 | basic_string(const basic_string& __str)
| ^~~~~~~~~~~~
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:547:7: note: candidate expects 1 argument, 2 provided
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:535:7: note: candidate: ‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]’
535 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT
| ^~~~~~~~~~~~
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:535:7: note: candidate expects 1 argument, 2 provided
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:522:7: note: candidate: ‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string() [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]’
522 | basic_string()
| ^~~~~~~~~~~~
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:522:7: note: candidate expects 0 arguments, 2 provided
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:4198:40: error: no match for ‘operator[]’ (operand types are ‘std::string’ {aka ‘std::__cxx11::basic_string<char>’} and ‘const bool’)
4198 | __detail::__to_chars_10_impl(&__str[__neg], __len, __uval);
| ^
/nix/gcc/include/c++/13.3.0/bits/basic_string.h: In function ‘std::string std::__cxx11::to_string(long unsigned int)’:
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:4209:55: error: no matching function for call to ‘std::__cxx11::basic_string<char>::basic_string(unsigned int, char)’
4209 | string __str(__detail::__to_chars_len(__val), '\0');
| ^
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:641:7: note: candidate: ‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]’
641 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc())
| ^~~~~~~~~~~~
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:641:53: note: no known conversion for argument 2 from ‘char’ to ‘const std::allocator<char>&’
641 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc())
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:760:9: note: candidate: ‘template<class _InputIterator, class> std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(_InputIterator, _InputIterator, const _Alloc&) [with <template-parameter-2-2> = _InputIterator; _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]’
760 | basic_string(_InputIterator __beg, _InputIterator __end,
| ^~~~~~~~~~~~
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:760:9: note: template argument deduction/substitution failed:
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:4209:55: note: deduced conflicting types for parameter ‘_InputIterator’ (‘unsigned int’ and ‘char’)
4209 | string __str(__detail::__to_chars_len(__val), '\0');
| ^
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:716:7: note: candidate: ‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]’
716 | basic_string(basic_string&& __str, const _Alloc& __a)
| ^~~~~~~~~~~~
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:716:35: note: no known conversion for argument 1 from ‘unsigned int’ to ‘std::__cxx11::basic_string<char>&&’
716 | basic_string(basic_string&& __str, const _Alloc& __a)
| ~~~~~~~~~~~~~~~^~~~~
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:711:7: note: candidate: ‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]’
711 | basic_string(const basic_string& __str, const _Alloc& __a)
| ^~~~~~~~~~~~
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:711:40: note: no known conversion for argument 1 from ‘unsigned int’ to ‘const std::__cxx11::basic_string<char>&’
711 | basic_string(const basic_string& __str, const _Alloc& __a)
| ~~~~~~~~~~~~~~~~~~~~^~~~~
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:706:7: note: candidate: ‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::initializer_list<_Tp>, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]’
706 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc())
| ^~~~~~~~~~~~
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:706:45: note: no known conversion for argument 1 from ‘unsigned int’ to ‘std::initializer_list<char>’
706 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc())
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:677:7: note: candidate: ‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]’
677 | basic_string(basic_string&& __str) noexcept
| ^~~~~~~~~~~~
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:677:7: note: candidate expects 1 argument, 2 provided
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:547:7: note: candidate: ‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]’
547 | basic_string(const basic_string& __str)
| ^~~~~~~~~~~~
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:547:7: note: candidate expects 1 argument, 2 provided
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:535:7: note: candidate: ‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]’
535 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT
| ^~~~~~~~~~~~
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:535:7: note: candidate expects 1 argument, 2 provided
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:522:7: note: candidate: ‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string() [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]’
522 | basic_string()
| ^~~~~~~~~~~~
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:522:7: note: candidate expects 0 arguments, 2 provided
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:4210:40: error: no match for ‘operator[]’ (operand types are ‘std::string’ {aka ‘std::__cxx11::basic_string<char>’} and ‘int’)
4210 | __detail::__to_chars_10_impl(&__str[0], __str.size(), __val);
| ^
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:4210:51: error: ‘std::string’ {aka ‘class std::__cxx11::basic_string<char>’} has no member named ‘size’
4210 | __detail::__to_chars_10_impl(&__str[0], __str.size(), __val);
| ^~~~
/nix/gcc/include/c++/13.3.0/bits/basic_string.h: In function ‘std::string std::__cxx11::to_string(long long int)’:
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:4222:36: error: no matching function for call to ‘std::__cxx11::basic_string<char>::basic_string(unsigned int, char)’
4222 | string __str(__neg + __len, '-');
| ^
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:641:7: note: candidate: ‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]’
641 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc())
| ^~~~~~~~~~~~
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:641:53: note: no known conversion for argument 2 from ‘char’ to ‘const std::allocator<char>&’
641 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc())
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:760:9: note: candidate: ‘template<class _InputIterator, class> std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(_InputIterator, _InputIterator, const _Alloc&) [with <template-parameter-2-2> = _InputIterator; _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]’
760 | basic_string(_InputIterator __beg, _InputIterator __end,
| ^~~~~~~~~~~~
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:760:9: note: template argument deduction/substitution failed:
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:4222:36: note: deduced conflicting types for parameter ‘_InputIterator’ (‘unsigned int’ and ‘char’)
4222 | string __str(__neg + __len, '-');
| ^
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:716:7: note: candidate: ‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]’
716 | basic_string(basic_string&& __str, const _Alloc& __a)
| ^~~~~~~~~~~~
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:716:35: note: no known conversion for argument 1 from ‘unsigned int’ to ‘std::__cxx11::basic_string<char>&&’
716 | basic_string(basic_string&& __str, const _Alloc& __a)
| ~~~~~~~~~~~~~~~^~~~~
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:711:7: note: candidate: ‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]’
711 | basic_string(const basic_string& __str, const _Alloc& __a)
| ^~~~~~~~~~~~
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:711:40: note: no known conversion for argument 1 from ‘unsigned int’ to ‘const std::__cxx11::basic_string<char>&’
711 | basic_string(const basic_string& __str, const _Alloc& __a)
| ~~~~~~~~~~~~~~~~~~~~^~~~~
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:706:7: note: candidate: ‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::initializer_list<_Tp>, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]’
706 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc())
| ^~~~~~~~~~~~
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:706:45: note: no known conversion for argument 1 from ‘unsigned int’ to ‘std::initializer_list<char>’
706 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc())
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:677:7: note: candidate: ‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]’
677 | basic_string(basic_string&& __str) noexcept
| ^~~~~~~~~~~~
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:677:7: note: candidate expects 1 argument, 2 provided
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:547:7: note: candidate: ‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]’
547 | basic_string(const basic_string& __str)
| ^~~~~~~~~~~~
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:547:7: note: candidate expects 1 argument, 2 provided
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:535:7: note: candidate: ‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]’
535 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT
| ^~~~~~~~~~~~
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:535:7: note: candidate expects 1 argument, 2 provided
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:522:7: note: candidate: ‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string() [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]’
522 | basic_string()
| ^~~~~~~~~~~~
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:522:7: note: candidate expects 0 arguments, 2 provided
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:4223:40: error: no match for ‘operator[]’ (operand types are ‘std::string’ {aka ‘std::__cxx11::basic_string<char>’} and ‘const bool’)
4223 | __detail::__to_chars_10_impl(&__str[__neg], __len, __uval);
| ^
/nix/gcc/include/c++/13.3.0/bits/basic_string.h: In function ‘std::string std::__cxx11::to_string(long long unsigned int)’:
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:4231:55: error: no matching function for call to ‘std::__cxx11::basic_string<char>::basic_string(unsigned int, char)’
4231 | string __str(__detail::__to_chars_len(__val), '\0');
| ^
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:641:7: note: candidate: ‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]’
641 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc())
| ^~~~~~~~~~~~
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:641:53: note: no known conversion for argument 2 from ‘char’ to ‘const std::allocator<char>&’
641 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc())
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:760:9: note: candidate: ‘template<class _InputIterator, class> std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(_InputIterator, _InputIterator, const _Alloc&) [with <template-parameter-2-2> = _InputIterator; _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]’
760 | basic_string(_InputIterator __beg, _InputIterator __end,
| ^~~~~~~~~~~~
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:760:9: note: template argument deduction/substitution failed:
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:4231:55: note: deduced conflicting types for parameter ‘_InputIterator’ (‘unsigned int’ and ‘char’)
4231 | string __str(__detail::__to_chars_len(__val), '\0');
| ^
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:716:7: note: candidate: ‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]’
716 | basic_string(basic_string&& __str, const _Alloc& __a)
| ^~~~~~~~~~~~
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:716:35: note: no known conversion for argument 1 from ‘unsigned int’ to ‘std::__cxx11::basic_string<char>&&’
716 | basic_string(basic_string&& __str, const _Alloc& __a)
| ~~~~~~~~~~~~~~~^~~~~
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:711:7: note: candidate: ‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]’
711 | basic_string(const basic_string& __str, const _Alloc& __a)
| ^~~~~~~~~~~~
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:711:40: note: no known conversion for argument 1 from ‘unsigned int’ to ‘const std::__cxx11::basic_string<char>&’
711 | basic_string(const basic_string& __str, const _Alloc& __a)
| ~~~~~~~~~~~~~~~~~~~~^~~~~
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:706:7: note: candidate: ‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::initializer_list<_Tp>, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]’
706 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc())
| ^~~~~~~~~~~~
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:706:45: note: no known conversion for argument 1 from ‘unsigned int’ to ‘std::initializer_list<char>’
706 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc())
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:677:7: note: candidate: ‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]’
677 | basic_string(basic_string&& __str) noexcept
| ^~~~~~~~~~~~
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:677:7: note: candidate expects 1 argument, 2 provided
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:547:7: note: candidate: ‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]’
547 | basic_string(const basic_string& __str)
| ^~~~~~~~~~~~
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:547:7: note: candidate expects 1 argument, 2 provided
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:535:7: note: candidate: ‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]’
535 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT
| ^~~~~~~~~~~~
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:535:7: note: candidate expects 1 argument, 2 provided
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:522:7: note: candidate: ‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string() [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]’
522 | basic_string()
| ^~~~~~~~~~~~
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:522:7: note: candidate expects 0 arguments, 2 provided
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:4232:40: error: no match for ‘operator[]’ (operand types are ‘std::string’ {aka ‘std::__cxx11::basic_string<char>’} and ‘int’)
4232 | __detail::__to_chars_10_impl(&__str[0], __str.size(), __val);
| ^
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:4232:51: error: ‘std::string’ {aka ‘class std::__cxx11::basic_string<char>’} has no member named ‘size’
4232 | __detail::__to_chars_10_impl(&__str[0], __str.size(), __val);
| ^~~~
/nix/gcc/include/c++/13.3.0/bits/basic_string.h: In function ‘std::string std::__cxx11::to_string(float)’:
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:4245:43: error: no matching function for call to ‘__to_xstring<std::string>(int (*)(char*, size_t, const char*, __va_list_tag*) noexcept, const int&, const char [3], float&)’
4245 | return __gnu_cxx::__to_xstring<string>(&std::vsnprintf, __n,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
4246 | "%f", __val);
| ~~~~~~~~~~~~
/nix/gcc/include/c++/13.3.0/ext/string_conversions.h:101:5: note: candidate: ‘template<class _String, class _CharT> _String __gnu_cxx::__to_xstring(int (*)(_CharT*, int, const _CharT*, __va_list_tag*), int, const _CharT*, ...)’
101 | __to_xstring(int (*__convf) (_CharT*, std::size_t, const _CharT*,
| ^~~~~~~~~~~~
/nix/gcc/include/c++/13.3.0/ext/string_conversions.h:101:5: note: template argument deduction/substitution failed:
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:4245:43: note: mismatched types ‘int’ and ‘size_t’ {aka ‘long unsigned int’}
4245 | return __gnu_cxx::__to_xstring<string>(&std::vsnprintf, __n,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
4246 | "%f", __val);
| ~~~~~~~~~~~~
/nix/gcc/include/c++/13.3.0/bits/basic_string.h: In function ‘std::string std::__cxx11::to_string(double)’:
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:4255:43: error: no matching function for call to ‘__to_xstring<std::string>(int (*)(char*, size_t, const char*, __va_list_tag*) noexcept, const int&, const char [3], double&)’
4255 | return __gnu_cxx::__to_xstring<string>(&std::vsnprintf, __n,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
4256 | "%f", __val);
| ~~~~~~~~~~~~
/nix/gcc/include/c++/13.3.0/ext/string_conversions.h:101:5: note: candidate: ‘template<class _String, class _CharT> _String __gnu_cxx::__to_xstring(int (*)(_CharT*, int, const _CharT*, __va_list_tag*), int, const _CharT*, ...)’
101 | __to_xstring(int (*__convf) (_CharT*, std::size_t, const _CharT*,
| ^~~~~~~~~~~~
/nix/gcc/include/c++/13.3.0/ext/string_conversions.h:101:5: note: template argument deduction/substitution failed:
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:4255:43: note: mismatched types ‘int’ and ‘size_t’ {aka ‘long unsigned int’}
4255 | return __gnu_cxx::__to_xstring<string>(&std::vsnprintf, __n,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
4256 | "%f", __val);
| ~~~~~~~~~~~~
/nix/gcc/include/c++/13.3.0/bits/basic_string.h: In function ‘std::string std::__cxx11::to_string(long double)’:
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:4265:43: error: no matching function for call to ‘__to_xstring<std::string>(int (*)(char*, size_t, const char*, __va_list_tag*) noexcept, const int&, const char [4], long double&)’
4265 | return __gnu_cxx::__to_xstring<string>(&std::vsnprintf, __n,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
4266 | "%Lf", __val);
| ~~~~~~~~~~~~~
/nix/gcc/include/c++/13.3.0/ext/string_conversions.h:101:5: note: candidate: ‘template<class _String, class _CharT> _String __gnu_cxx::__to_xstring(int (*)(_CharT*, int, const _CharT*, __va_list_tag*), int, const _CharT*, ...)’
101 | __to_xstring(int (*__convf) (_CharT*, std::size_t, const _CharT*,
| ^~~~~~~~~~~~
/nix/gcc/include/c++/13.3.0/ext/string_conversions.h:101:5: note: template argument deduction/substitution failed:
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:4265:43: note: mismatched types ‘int’ and ‘size_t’ {aka ‘long unsigned int’}
4265 | return __gnu_cxx::__to_xstring<string>(&std::vsnprintf, __n,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
4266 | "%Lf", __val);
| ~~~~~~~~~~~~~
/nix/gcc/include/c++/13.3.0/ext/alloc_traits.h: In instantiation of ‘struct __gnu_cxx::__alloc_traits<std::allocator<wchar_t>, wchar_t>’:
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:90:24: required from ‘class std::__cxx11::basic_string<wchar_t>’
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:4273:68: required from here
/nix/gcc/include/c++/13.3.0/ext/alloc_traits.h:56:53: error: no type named ‘size_type’ in ‘__gnu_cxx::__alloc_traits<std::allocator<wchar_t>, wchar_t>::_Base_type’ {aka ‘struct std::allocator_traits<std::allocator<wchar_t> >’}
56 | typedef typename _Base_type::size_type size_type;
| ^~~~~~~~~
/nix/gcc/include/c++/13.3.0/ext/alloc_traits.h:57:53: error: no type named ‘difference_type’ in ‘__gnu_cxx::__alloc_traits<std::allocator<wchar_t>, wchar_t>::_Base_type’ {aka ‘struct std::allocator_traits<std::allocator<wchar_t> >’}
57 | typedef typename _Base_type::difference_type difference_type;
| ^~~~~~~~~~~~~~~
/nix/gcc/include/c++/13.3.0/ext/alloc_traits.h:65:23: error: ‘max_size’ has not been declared in ‘__gnu_cxx::__alloc_traits<std::allocator<wchar_t>, wchar_t>::_Base_type’
65 | using _Base_type::max_size;
| ^~~~~~~~
/nix/gcc/include/c++/13.3.0/bits/basic_string.h: In function ‘int std::__cxx11::stoi(const std::wstring&, size_t*, int)’:
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:4273:40: error: no matching function for call to ‘__stoa<long int, int>(long int (*)(const wchar_t*, wchar_t**, int) noexcept, const char [5], const wchar_t*, size_t*&, int&)’
4273 | { return __gnu_cxx::__stoa<long, int>(&std::wcstol, "stoi", __str.c_str(),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4274 | __idx, __base); }
| ~~~~~~~~~~~~~~
/nix/gcc/include/c++/13.3.0/ext/string_conversions.h:56:5: note: candidate: ‘template<class _TRet, class _Ret, class _CharT, class ... _Base> _Ret __gnu_cxx::__stoa(_TRet (*)(const _CharT*, _CharT**, _Base ...), const char*, const _CharT*, int*, _Base ...)’
56 | __stoa(_TRet (*__convf) (const _CharT*, _CharT**, _Base...),
| ^~~~~~
/nix/gcc/include/c++/13.3.0/ext/string_conversions.h:56:5: note: template argument deduction/substitution failed:
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:4274:41: note: cannot convert ‘__idx’ (type ‘size_t*’ {aka ‘long unsigned int*’}) to type ‘int*’
4274 | __idx, __base); }
| ^~~~~
/nix/gcc/include/c++/13.3.0/bits/basic_string.h: In function ‘long int std::__cxx11::stol(const std::wstring&, size_t*, int)’:
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:4278:29: error: no matching function for call to ‘__stoa(long int (*)(const wchar_t*, wchar_t**, int) noexcept, const char [5], const wchar_t*, size_t*&, int&)’
4278 | { return __gnu_cxx::__stoa(&std::wcstol, "stol", __str.c_str(),
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4279 | __idx, __base); }
| ~~~~~~~~~~~~~~
/nix/gcc/include/c++/13.3.0/ext/string_conversions.h:56:5: note: candidate: ‘template<class _TRet, class _Ret, class _CharT, class ... _Base> _Ret __gnu_cxx::__stoa(_TRet (*)(const _CharT*, _CharT**, _Base ...), const char*, const _CharT*, int*, _Base ...)’
56 | __stoa(_TRet (*__convf) (const _CharT*, _CharT**, _Base...),
| ^~~~~~
/nix/gcc/include/c++/13.3.0/ext/string_conversions.h:56:5: note: template argument deduction/substitution failed:
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:4279:30: note: cannot convert ‘__idx’ (type ‘size_t*’ {aka ‘long unsigned int*’}) to type ‘int*’
4279 | __idx, __base); }
| ^~~~~
/nix/gcc/include/c++/13.3.0/bits/basic_string.h: In function ‘long unsigned int std::__cxx11::stoul(const std::wstring&, size_t*, int)’:
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:4283:29: error: no matching function for call to ‘__stoa(long unsigned int (*)(const wchar_t*, wchar_t**, int) noexcept, const char [6], const wchar_t*, size_t*&, int&)’
4283 | { return __gnu_cxx::__stoa(&std::wcstoul, "stoul", __str.c_str(),
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4284 | __idx, __base); }
| ~~~~~~~~~~~~~~
/nix/gcc/include/c++/13.3.0/ext/string_conversions.h:56:5: note: candidate: ‘template<class _TRet, class _Ret, class _CharT, class ... _Base> _Ret __gnu_cxx::__stoa(_TRet (*)(const _CharT*, _CharT**, _Base ...), const char*, const _CharT*, int*, _Base ...)’
56 | __stoa(_TRet (*__convf) (const _CharT*, _CharT**, _Base...),
| ^~~~~~
/nix/gcc/include/c++/13.3.0/ext/string_conversions.h:56:5: note: template argument deduction/substitution failed:
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:4284:30: note: cannot convert ‘__idx’ (type ‘size_t*’ {aka ‘long unsigned int*’}) to type ‘int*’
4284 | __idx, __base); }
| ^~~~~
/nix/gcc/include/c++/13.3.0/bits/basic_string.h: In function ‘long long int std::__cxx11::stoll(const std::wstring&, size_t*, int)’:
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:4288:29: error: no matching function for call to ‘__stoa(long long int (*)(const wchar_t*, wchar_t**, int) noexcept, const char [6], const wchar_t*, size_t*&, int&)’
4288 | { return __gnu_cxx::__stoa(&std::wcstoll, "stoll", __str.c_str(),
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4289 | __idx, __base); }
| ~~~~~~~~~~~~~~
/nix/gcc/include/c++/13.3.0/ext/string_conversions.h:56:5: note: candidate: ‘template<class _TRet, class _Ret, class _CharT, class ... _Base> _Ret __gnu_cxx::__stoa(_TRet (*)(const _CharT*, _CharT**, _Base ...), const char*, const _CharT*, int*, _Base ...)’
56 | __stoa(_TRet (*__convf) (const _CharT*, _CharT**, _Base...),
| ^~~~~~
/nix/gcc/include/c++/13.3.0/ext/string_conversions.h:56:5: note: template argument deduction/substitution failed:
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:4289:30: note: cannot convert ‘__idx’ (type ‘size_t*’ {aka ‘long unsigned int*’}) to type ‘int*’
4289 | __idx, __base); }
| ^~~~~
/nix/gcc/include/c++/13.3.0/bits/basic_string.h: In function ‘long long unsigned int std::__cxx11::stoull(const std::wstring&, size_t*, int)’:
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:4293:29: error: no matching function for call to ‘__stoa(long long unsigned int (*)(const wchar_t*, wchar_t**, int) noexcept, const char [7], const wchar_t*, size_t*&, int&)’
4293 | { return __gnu_cxx::__stoa(&std::wcstoull, "stoull", __str.c_str(),
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4294 | __idx, __base); }
| ~~~~~~~~~~~~~~
/nix/gcc/include/c++/13.3.0/ext/string_conversions.h:56:5: note: candidate: ‘template<class _TRet, class _Ret, class _CharT, class ... _Base> _Ret __gnu_cxx::__stoa(_TRet (*)(const _CharT*, _CharT**, _Base ...), const char*, const _CharT*, int*, _Base ...)’
56 | __stoa(_TRet (*__convf) (const _CharT*, _CharT**, _Base...),
| ^~~~~~
/nix/gcc/include/c++/13.3.0/ext/string_conversions.h:56:5: note: template argument deduction/substitution failed:
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:4294:30: note: cannot convert ‘__idx’ (type ‘size_t*’ {aka ‘long unsigned int*’}) to type ‘int*’
4294 | __idx, __base); }
| ^~~~~
/nix/gcc/include/c++/13.3.0/bits/basic_string.h: In function ‘float std::__cxx11::stof(const std::wstring&, size_t*)’:
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:4299:29: error: no matching function for call to ‘__stoa(float (*)(const wchar_t*, wchar_t**) noexcept, const char [5], const wchar_t*, size_t*&)’
4299 | { return __gnu_cxx::__stoa(&std::wcstof, "stof", __str.c_str(), __idx); }
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/nix/gcc/include/c++/13.3.0/ext/string_conversions.h:56:5: note: candidate: ‘template<class _TRet, class _Ret, class _CharT, class ... _Base> _Ret __gnu_cxx::__stoa(_TRet (*)(const _CharT*, _CharT**, _Base ...), const char*, const _CharT*, int*, _Base ...)’
56 | __stoa(_TRet (*__convf) (const _CharT*, _CharT**, _Base...),
| ^~~~~~
/nix/gcc/include/c++/13.3.0/ext/string_conversions.h:56:5: note: template argument deduction/substitution failed:
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:4299:67: note: cannot convert ‘__idx’ (type ‘size_t*’ {aka ‘long unsigned int*’}) to type ‘int*’
4299 | { return __gnu_cxx::__stoa(&std::wcstof, "stof", __str.c_str(), __idx); }
| ^~~~~
/nix/gcc/include/c++/13.3.0/bits/basic_string.h: In function ‘double std::__cxx11::stod(const std::wstring&, size_t*)’:
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:4303:29: error: no matching function for call to ‘__stoa(double (*)(const wchar_t*, wchar_t**) noexcept, const char [5], const wchar_t*, size_t*&)’
4303 | { return __gnu_cxx::__stoa(&std::wcstod, "stod", __str.c_str(), __idx); }
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/nix/gcc/include/c++/13.3.0/ext/string_conversions.h:56:5: note: candidate: ‘template<class _TRet, class _Ret, class _CharT, class ... _Base> _Ret __gnu_cxx::__stoa(_TRet (*)(const _CharT*, _CharT**, _Base ...), const char*, const _CharT*, int*, _Base ...)’
56 | __stoa(_TRet (*__convf) (const _CharT*, _CharT**, _Base...),
| ^~~~~~
/nix/gcc/include/c++/13.3.0/ext/string_conversions.h:56:5: note: template argument deduction/substitution failed:
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:4303:67: note: cannot convert ‘__idx’ (type ‘size_t*’ {aka ‘long unsigned int*’}) to type ‘int*’
4303 | { return __gnu_cxx::__stoa(&std::wcstod, "stod", __str.c_str(), __idx); }
| ^~~~~
/nix/gcc/include/c++/13.3.0/bits/basic_string.h: In function ‘long double std::__cxx11::stold(const std::wstring&, size_t*)’:
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:4307:29: error: no matching function for call to ‘__stoa(long double (*)(const wchar_t*, wchar_t**) noexcept, const char [6], const wchar_t*, size_t*&)’
4307 | { return __gnu_cxx::__stoa(&std::wcstold, "stold", __str.c_str(), __idx); }
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/nix/gcc/include/c++/13.3.0/ext/string_conversions.h:56:5: note: candidate: ‘template<class _TRet, class _Ret, class _CharT, class ... _Base> _Ret __gnu_cxx::__stoa(_TRet (*)(const _CharT*, _CharT**, _Base ...), const char*, const _CharT*, int*, _Base ...)’
56 | __stoa(_TRet (*__convf) (const _CharT*, _CharT**, _Base...),
| ^~~~~~
/nix/gcc/include/c++/13.3.0/ext/string_conversions.h:56:5: note: template argument deduction/substitution failed:
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:4307:69: note: cannot convert ‘__idx’ (type ‘size_t*’ {aka ‘long unsigned int*’}) to type ‘int*’
4307 | { return __gnu_cxx::__stoa(&std::wcstold, "stold", __str.c_str(), __idx); }
| ^~~~~
/nix/gcc/include/c++/13.3.0/bits/basic_string.h: In function ‘std::wstring std::__cxx11::to_wstring(int)’:
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:4314:44: error: no matching function for call to ‘__to_xstring<std::wstring>(int (*)(wchar_t*, size_t, const wchar_t*, __va_list_tag*) noexcept, long unsigned int, const wchar_t [3], int&)’
4314 | { return __gnu_cxx::__to_xstring<wstring>(&std::vswprintf, 4 * sizeof(int),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4315 | L"%d", __val); }
| ~~~~~~~~~~~~~
/nix/gcc/include/c++/13.3.0/ext/string_conversions.h:101:5: note: candidate: ‘template<class _String, class _CharT> _String __gnu_cxx::__to_xstring(int (*)(_CharT*, int, const _CharT*, __va_list_tag*), int, const _CharT*, ...)’
101 | __to_xstring(int (*__convf) (_CharT*, std::size_t, const _CharT*,
| ^~~~~~~~~~~~
/nix/gcc/include/c++/13.3.0/ext/string_conversions.h:101:5: note: template argument deduction/substitution failed:
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:4314:44: note: mismatched types ‘int’ and ‘size_t’ {aka ‘long unsigned int’}
4314 | { return __gnu_cxx::__to_xstring<wstring>(&std::vswprintf, 4 * sizeof(int),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4315 | L"%d", __val); }
| ~~~~~~~~~~~~~
/nix/gcc/include/c++/13.3.0/bits/basic_string.h: In function ‘std::wstring std::__cxx11::to_wstring(unsigned int)’:
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:4320:44: error: no matching function for call to ‘__to_xstring<std::wstring>(int (*)(wchar_t*, size_t, const wchar_t*, __va_list_tag*) noexcept, long unsigned int, const wchar_t [3], unsigned int&)’
4320 | { return __gnu_cxx::__to_xstring<wstring>(&std::vswprintf,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
4321 | 4 * sizeof(unsigned),
| ~~~~~~~~~~~~~~~~~~~~~
4322 | L"%u", __val); }
| ~~~~~~~~~~~~~
/nix/gcc/include/c++/13.3.0/ext/string_conversions.h:101:5: note: candidate: ‘template<class _String, class _CharT> _String __gnu_cxx::__to_xstring(int (*)(_CharT*, int, const _CharT*, __va_list_tag*), int, const _CharT*, ...)’
101 | __to_xstring(int (*__convf) (_CharT*, std::size_t, const _CharT*,
| ^~~~~~~~~~~~
/nix/gcc/include/c++/13.3.0/ext/string_conversions.h:101:5: note: template argument deduction/substitution failed:
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:4320:44: note: mismatched types ‘int’ and ‘size_t’ {aka ‘long unsigned int’}
4320 | { return __gnu_cxx::__to_xstring<wstring>(&std::vswprintf,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
4321 | 4 * sizeof(unsigned),
| ~~~~~~~~~~~~~~~~~~~~~
4322 | L"%u", __val); }
| ~~~~~~~~~~~~~
/nix/gcc/include/c++/13.3.0/bits/basic_string.h: In function ‘std::wstring std::__cxx11::to_wstring(long int)’:
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:4327:44: error: no matching function for call to ‘__to_xstring<std::wstring>(int (*)(wchar_t*, size_t, const wchar_t*, __va_list_tag*) noexcept, long unsigned int, const wchar_t [4], long int&)’
4327 | { return __gnu_cxx::__to_xstring<wstring>(&std::vswprintf, 4 * sizeof(long),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4328 | L"%ld", __val); }
| ~~~~~~~~~~~~~~
/nix/gcc/include/c++/13.3.0/ext/string_conversions.h:101:5: note: candidate: ‘template<class _String, class _CharT> _String __gnu_cxx::__to_xstring(int (*)(_CharT*, int, const _CharT*, __va_list_tag*), int, const _CharT*, ...)’
101 | __to_xstring(int (*__convf) (_CharT*, std::size_t, const _CharT*,
| ^~~~~~~~~~~~
/nix/gcc/include/c++/13.3.0/ext/string_conversions.h:101:5: note: template argument deduction/substitution failed:
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:4327:44: note: mismatched types ‘int’ and ‘size_t’ {aka ‘long unsigned int’}
4327 | { return __gnu_cxx::__to_xstring<wstring>(&std::vswprintf, 4 * sizeof(long),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4328 | L"%ld", __val); }
| ~~~~~~~~~~~~~~
/nix/gcc/include/c++/13.3.0/bits/basic_string.h: In function ‘std::wstring std::__cxx11::to_wstring(long unsigned int)’:
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:4333:44: error: no matching function for call to ‘__to_xstring<std::wstring>(int (*)(wchar_t*, size_t, const wchar_t*, __va_list_tag*) noexcept, long unsigned int, const wchar_t [4], long unsigned int&)’
4333 | { return __gnu_cxx::__to_xstring<wstring>(&std::vswprintf,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
4334 | 4 * sizeof(unsigned long),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
4335 | L"%lu", __val); }
| ~~~~~~~~~~~~~~
/nix/gcc/include/c++/13.3.0/ext/string_conversions.h:101:5: note: candidate: ‘template<class _String, class _CharT> _String __gnu_cxx::__to_xstring(int (*)(_CharT*, int, const _CharT*, __va_list_tag*), int, const _CharT*, ...)’
101 | __to_xstring(int (*__convf) (_CharT*, std::size_t, const _CharT*,
| ^~~~~~~~~~~~
/nix/gcc/include/c++/13.3.0/ext/string_conversions.h:101:5: note: template argument deduction/substitution failed:
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:4333:44: note: mismatched types ‘int’ and ‘size_t’ {aka ‘long unsigned int’}
4333 | { return __gnu_cxx::__to_xstring<wstring>(&std::vswprintf,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
4334 | 4 * sizeof(unsigned long),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
4335 | L"%lu", __val); }
| ~~~~~~~~~~~~~~
/nix/gcc/include/c++/13.3.0/bits/basic_string.h: In function ‘std::wstring std::__cxx11::to_wstring(long long int)’:
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:4340:44: error: no matching function for call to ‘__to_xstring<std::wstring>(int (*)(wchar_t*, size_t, const wchar_t*, __va_list_tag*) noexcept, long unsigned int, const wchar_t [5], long long int&)’
4340 | { return __gnu_cxx::__to_xstring<wstring>(&std::vswprintf,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
4341 | 4 * sizeof(long long),
| ~~~~~~~~~~~~~~~~~~~~~~
4342 | L"%lld", __val); }
| ~~~~~~~~~~~~~~~
/nix/gcc/include/c++/13.3.0/ext/string_conversions.h:101:5: note: candidate: ‘template<class _String, class _CharT> _String __gnu_cxx::__to_xstring(int (*)(_CharT*, int, const _CharT*, __va_list_tag*), int, const _CharT*, ...)’
101 | __to_xstring(int (*__convf) (_CharT*, std::size_t, const _CharT*,
| ^~~~~~~~~~~~
/nix/gcc/include/c++/13.3.0/ext/string_conversions.h:101:5: note: template argument deduction/substitution failed:
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:4340:44: note: mismatched types ‘int’ and ‘size_t’ {aka ‘long unsigned int’}
4340 | { return __gnu_cxx::__to_xstring<wstring>(&std::vswprintf,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
4341 | 4 * sizeof(long long),
| ~~~~~~~~~~~~~~~~~~~~~~
4342 | L"%lld", __val); }
| ~~~~~~~~~~~~~~~
/nix/gcc/include/c++/13.3.0/bits/basic_string.h: In function ‘std::wstring std::__cxx11::to_wstring(long long unsigned int)’:
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:4347:44: error: no matching function for call to ‘__to_xstring<std::wstring>(int (*)(wchar_t*, size_t, const wchar_t*, __va_list_tag*) noexcept, long unsigned int, const wchar_t [5], long long unsigned int&)’
4347 | { return __gnu_cxx::__to_xstring<wstring>(&std::vswprintf,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
4348 | 4 * sizeof(unsigned long long),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4349 | L"%llu", __val); }
| ~~~~~~~~~~~~~~~
/nix/gcc/include/c++/13.3.0/ext/string_conversions.h:101:5: note: candidate: ‘template<class _String, class _CharT> _String __gnu_cxx::__to_xstring(int (*)(_CharT*, int, const _CharT*, __va_list_tag*), int, const _CharT*, ...)’
101 | __to_xstring(int (*__convf) (_CharT*, std::size_t, const _CharT*,
| ^~~~~~~~~~~~
/nix/gcc/include/c++/13.3.0/ext/string_conversions.h:101:5: note: template argument deduction/substitution failed:
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:4347:44: note: mismatched types ‘int’ and ‘size_t’ {aka ‘long unsigned int’}
4347 | { return __gnu_cxx::__to_xstring<wstring>(&std::vswprintf,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
4348 | 4 * sizeof(unsigned long long),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4349 | L"%llu", __val); }
| ~~~~~~~~~~~~~~~
/nix/gcc/include/c++/13.3.0/bits/basic_string.h: In function ‘std::wstring std::__cxx11::to_wstring(float)’:
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:4357:44: error: no matching function for call to ‘__to_xstring<std::wstring>(int (*)(wchar_t*, size_t, const wchar_t*, __va_list_tag*) noexcept, const int&, const wchar_t [3], float&)’
4357 | return __gnu_cxx::__to_xstring<wstring>(&std::vswprintf, __n,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
4358 | L"%f", __val);
| ~~~~~~~~~~~~~
/nix/gcc/include/c++/13.3.0/ext/string_conversions.h:101:5: note: candidate: ‘template<class _String, class _CharT> _String __gnu_cxx::__to_xstring(int (*)(_CharT*, int, const _CharT*, __va_list_tag*), int, const _CharT*, ...)’
101 | __to_xstring(int (*__convf) (_CharT*, std::size_t, const _CharT*,
| ^~~~~~~~~~~~
/nix/gcc/include/c++/13.3.0/ext/string_conversions.h:101:5: note: template argument deduction/substitution failed:
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:4357:44: note: mismatched types ‘int’ and ‘size_t’ {aka ‘long unsigned int’}
4357 | return __gnu_cxx::__to_xstring<wstring>(&std::vswprintf, __n,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
4358 | L"%f", __val);
| ~~~~~~~~~~~~~
/nix/gcc/include/c++/13.3.0/bits/basic_string.h: In function ‘std::wstring std::__cxx11::to_wstring(double)’:
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:4367:44: error: no matching function for call to ‘__to_xstring<std::wstring>(int (*)(wchar_t*, size_t, const wchar_t*, __va_list_tag*) noexcept, const int&, const wchar_t [3], double&)’
4367 | return __gnu_cxx::__to_xstring<wstring>(&std::vswprintf, __n,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
4368 | L"%f", __val);
| ~~~~~~~~~~~~~
/nix/gcc/include/c++/13.3.0/ext/string_conversions.h:101:5: note: candidate: ‘template<class _String, class _CharT> _String __gnu_cxx::__to_xstring(int (*)(_CharT*, int, const _CharT*, __va_list_tag*), int, const _CharT*, ...)’
101 | __to_xstring(int (*__convf) (_CharT*, std::size_t, const _CharT*,
| ^~~~~~~~~~~~
/nix/gcc/include/c++/13.3.0/ext/string_conversions.h:101:5: note: template argument deduction/substitution failed:
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:4367:44: note: mismatched types ‘int’ and ‘size_t’ {aka ‘long unsigned int’}
4367 | return __gnu_cxx::__to_xstring<wstring>(&std::vswprintf, __n,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
4368 | L"%f", __val);
| ~~~~~~~~~~~~~
/nix/gcc/include/c++/13.3.0/bits/basic_string.h: In function ‘std::wstring std::__cxx11::to_wstring(long double)’:
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:4377:44: error: no matching function for call to ‘__to_xstring<std::wstring>(int (*)(wchar_t*, size_t, const wchar_t*, __va_list_tag*) noexcept, const int&, const wchar_t [4], long double&)’
4377 | return __gnu_cxx::__to_xstring<wstring>(&std::vswprintf, __n,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
4378 | L"%Lf", __val);
| ~~~~~~~~~~~~~~
/nix/gcc/include/c++/13.3.0/ext/string_conversions.h:101:5: note: candidate: ‘template<class _String, class _CharT> _String __gnu_cxx::__to_xstring(int (*)(_CharT*, int, const _CharT*, __va_list_tag*), int, const _CharT*, ...)’
101 | __to_xstring(int (*__convf) (_CharT*, std::size_t, const _CharT*,
| ^~~~~~~~~~~~
/nix/gcc/include/c++/13.3.0/ext/string_conversions.h:101:5: note: template argument deduction/substitution failed:
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:4377:44: note: mismatched types ‘int’ and ‘size_t’ {aka ‘long unsigned int’}
4377 | return __gnu_cxx::__to_xstring<wstring>(&std::vswprintf, __n,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
4378 | L"%Lf", __val);
| ~~~~~~~~~~~~~~
In file included from /nix/gcc/include/c++/13.3.0/string:55:
/nix/gcc/include/c++/13.3.0/bits/basic_string.tcc: In function ‘std::basic_istream<_CharT, _Traits>& std::operator>>(basic_istream<_CharT, _Traits>&, __cxx11::basic_string<_CharT, _Traits, _Alloc>&)’:
/nix/gcc/include/c++/13.3.0/bits/basic_string.tcc:849:21: error: ‘streamsize’ does not name a type
849 | const streamsize __w = __in.width();
| ^~~~~~~~~~
/nix/gcc/include/c++/13.3.0/bits/basic_string.tcc:850:39: error: ‘__w’ was not declared in this scope; did you mean ‘__n’?
850 | const __size_type __n = __w > 0 ? static_cast<__size_type>(__w)
| ^~~
| __n
/nix/gcc/include/c++/13.3.0/bits/ios_base.h: At global scope:
/nix/gcc/include/c++/13.3.0/bits/ios_base.h:558:5: error: ‘streamsize’ does not name a type
558 | streamsize _M_precision;
| ^~~~~~~~~~
/nix/gcc/include/c++/13.3.0/bits/ios_base.h:559:5: error: ‘streamsize’ does not name a type
559 | streamsize _M_width;
| ^~~~~~~~~~
/nix/gcc/include/c++/13.3.0/bits/ios_base.h:731:5: error: ‘streamsize’ does not name a type
731 | streamsize
| ^~~~~~~~~~
/nix/gcc/include/c++/13.3.0/bits/ios_base.h:740:5: error: ‘streamsize’ does not name a type
740 | streamsize
| ^~~~~~~~~~
/nix/gcc/include/c++/13.3.0/bits/ios_base.h:754:5: error: ‘streamsize’ does not name a type
754 | streamsize
| ^~~~~~~~~~
/nix/gcc/include/c++/13.3.0/bits/ios_base.h:763:5: error: ‘streamsize’ does not name a type
763 | streamsize
| ^~~~~~~~~~
In file included from /nix/gcc/include/c++/13.3.0/ios:45:
/nix/gcc/include/c++/13.3.0/streambuf:54:5: error: ‘streamsize’ does not name a type
54 | streamsize
| ^~~~~~~~~~
/nix/gcc/include/c++/13.3.0/streambuf:151:14: error: ‘streamsize’ does not name a type
151 | friend streamsize
| ^~~~~~~~~~
/nix/gcc/include/c++/13.3.0/streambuf:171:54: error: ‘streamsize’ has not been declared
171 | friend void __istream_extract(istream&, char*, streamsize);
| ^~~~~~~~~~
/nix/gcc/include/c++/13.3.0/streambuf:246:33: error: ‘streamsize’ has not been declared
246 | pubsetbuf(char_type* __s, streamsize __n)
| ^~~~~~~~~~
/nix/gcc/include/c++/13.3.0/streambuf:290:7: error: ‘streamsize’ does not name a type
290 | streamsize
| ^~~~~~~~~~
/nix/gcc/include/c++/13.3.0/streambuf:363:7: error: ‘streamsize’ does not name a type
363 | streamsize
| ^~~~~~~~~~
/nix/gcc/include/c++/13.3.0/streambuf:456:7: error: ‘streamsize’ does not name a type
456 | streamsize
| ^~~~~~~~~~
/nix/gcc/include/c++/13.3.0/streambuf:598:26: error: ‘streamsize’ has not been declared
598 | setbuf(char_type*, streamsize)
| ^~~~~~~~~~
/nix/gcc/include/c++/13.3.0/streambuf:655:15: error: ‘streamsize’ does not name a type
655 | virtual streamsize
| ^~~~~~~~~~
/nix/gcc/include/c++/13.3.0/streambuf:671:15: error: ‘streamsize’ does not name a type
671 | virtual streamsize
| ^~~~~~~~~~
/nix/gcc/include/c++/13.3.0/streambuf:748:15: error: ‘streamsize’ does not name a type
748 | virtual streamsize
| ^~~~~~~~~~
/nix/gcc/include/c++/13.3.0/streambuf:802:20: error: ‘streamsize’ has not been declared
802 | __safe_gbump(streamsize __n) { _M_in_cur += __n; }
| ^~~~~~~~~~
/nix/gcc/include/c++/13.3.0/streambuf:805:20: error: ‘streamsize’ has not been declared
805 | __safe_pbump(streamsize __n) { _M_out_cur += __n; }
| ^~~~~~~~~~
/nix/gcc/include/c++/13.3.0/streambuf:845:5: error: ‘streamsize’ does not name a type
845 | streamsize
| ^~~~~~~~~~
/nix/gcc/include/c++/13.3.0/streambuf:850:5: error: ‘streamsize’ does not name a type
850 | streamsize
| ^~~~~~~~~~
In file included from /nix/gcc/include/c++/13.3.0/streambuf:860:
/nix/gcc/include/c++/13.3.0/bits/streambuf.tcc:44:5: error: ‘streamsize’ does not name a type
44 | streamsize
| ^~~~~~~~~~
/nix/gcc/include/c++/13.3.0/bits/streambuf.tcc:78:5: error: ‘streamsize’ does not name a type
78 | streamsize
| ^~~~~~~~~~
/nix/gcc/include/c++/13.3.0/bits/streambuf.tcc:115:5: error: ‘streamsize’ does not name a type
115 | streamsize
| ^~~~~~~~~~
/nix/gcc/include/c++/13.3.0/bits/streambuf.tcc:138:12: error: ‘streamsize’ does not name a type
138 | inline streamsize
| ^~~~~~~~~~
/nix/gcc/include/c++/13.3.0/bits/streambuf.tcc:152:5: error: ‘streamsize’ is not a template function
152 | streamsize
| ^~~~~~~~~~
/nix/gcc/include/c++/13.3.0/bits/streambuf.tcc:152:15: error: expected ‘;’ before ‘__copy_streambufs’
152 | streamsize
| ^
| ;
153 | __copy_streambufs(basic_streambuf<char>*,
| ~~~~~~~~~~~~~~~~~
/nix/gcc/include/c++/13.3.0/bits/streambuf.tcc:160:5: error: ‘streamsize’ is not a template function
160 | streamsize
| ^~~~~~~~~~
/nix/gcc/include/c++/13.3.0/bits/streambuf.tcc:160:15: error: expected ‘;’ before ‘__copy_streambufs’
160 | streamsize
| ^
| ;
161 | __copy_streambufs(basic_streambuf<wchar_t>*,
| ~~~~~~~~~~~~~~~~~
In file included from /nix/gcc/include/c++/13.3.0/bits/locale_facets.h:48,
from /nix/gcc/include/c++/13.3.0/bits/basic_ios.h:37,
from /nix/gcc/include/c++/13.3.0/ios:46:
/nix/gcc/include/c++/13.3.0/bits/streambuf_iterator.h:324:34: error: ‘streamsize’ has not been declared
324 | _M_put(const _CharT* __ws, streamsize __len)
| ^~~~~~~~~~
/nix/gcc/include/c++/13.3.0/bits/streambuf_iterator.h: In function ‘typename __gnu_cxx::__enable_if<std::__is_char<_CharT>::__value, std::ostreambuf_iterator<_CharT, std::char_traits<_CharT> > >::__type std::__copy_move_a2(_CharT*, _CharT*, ostreambuf_iterator<_CharT, char_traits<_CharT> >)’:
/nix/gcc/include/c++/13.3.0/bits/streambuf_iterator.h:359:13: error: ‘streamsize’ does not name a type
359 | const streamsize __num = __last - __first;
| ^~~~~~~~~~
/nix/gcc/include/c++/13.3.0/bits/streambuf_iterator.h:360:11: error: ‘__num’ was not declared in this scope
360 | if (__num > 0)
| ^~~~~
/nix/gcc/include/c++/13.3.0/bits/streambuf_iterator.h: In function ‘typename __gnu_cxx::__enable_if<std::__is_char<_CharT>::__value, std::ostreambuf_iterator<_CharT, std::char_traits<_CharT> > >::__type std::__copy_move_a2(const _CharT*, const _CharT*, ostreambuf_iterator<_CharT, char_traits<_CharT> >)’:
/nix/gcc/include/c++/13.3.0/bits/streambuf_iterator.h:371:13: error: ‘streamsize’ does not name a type
371 | const streamsize __num = __last - __first;
| ^~~~~~~~~~
/nix/gcc/include/c++/13.3.0/bits/streambuf_iterator.h:372:11: error: ‘__num’ was not declared in this scope
372 | if (__num > 0)
| ^~~~~
/nix/gcc/include/c++/13.3.0/bits/streambuf_iterator.h: In function ‘typename __gnu_cxx::__enable_if<std::__is_char<_CharT>::__value, _CharT*>::__type std::__copy_move_a2(istreambuf_iterator<_CharT, char_traits<_CharT> >, istreambuf_iterator<_CharT, char_traits<_CharT> >, _CharT*)’:
/nix/gcc/include/c++/13.3.0/bits/streambuf_iterator.h:394:21: error: ‘streamsize’ does not name a type
394 | const streamsize __n = __sb->egptr() - __sb->gptr();
| ^~~~~~~~~~
/nix/gcc/include/c++/13.3.0/bits/streambuf_iterator.h:395:19: error: ‘__n’ was not declared in this scope; did you mean ‘__c’?
395 | if (__n > 1)
| ^~~
| __c
/nix/gcc/include/c++/13.3.0/bits/streambuf_iterator.h: In function ‘typename __gnu_cxx::__enable_if<std::__is_char<_CharT2>::__value, std::istreambuf_iterator<_CharT> >::__type std::find(istreambuf_iterator<_CharT>, istreambuf_iterator<_CharT>, const _CharT2&)’:
/nix/gcc/include/c++/13.3.0/bits/streambuf_iterator.h:452:15: error: ‘streamsize’ was not declared in this scope
452 | streamsize __n = __sb->egptr() - __sb->gptr();
| ^~~~~~~~~~
/nix/gcc/include/c++/13.3.0/bits/streambuf_iterator.h:453:19: error: ‘__n’ was not declared in this scope; did you mean ‘__c’?
453 | if (__n > 1)
| ^~~
| __c
/nix/gcc/include/c++/13.3.0/bits/streambuf_iterator.h: In function ‘typename __gnu_cxx::__enable_if<std::__is_char<_CharT2>::__value, void>::__type std::advance(istreambuf_iterator<_CharT>&, _Distance)’:
/nix/gcc/include/c++/13.3.0/bits/streambuf_iterator.h:494:11: error: ‘streamsize’ was not declared in this scope
494 | streamsize __size = __sb->egptr() - __sb->gptr();
| ^~~~~~~~~~
/nix/gcc/include/c++/13.3.0/bits/streambuf_iterator.h:495:15: error: ‘__size’ was not declared in this scope; did you mean ‘dysize’?
495 | if (__size > __n)
| ^~~~~~
| dysize
/nix/gcc/include/c++/13.3.0/bits/streambuf_iterator.h:501:30: error: ‘__size’ was not declared in this scope; did you mean ‘dysize’?
501 | __sb->__safe_gbump(__size);
| ^~~~~~
| dysize
/nix/gcc/include/c++/13.3.0/bits/locale_facets.h: At global scope:
/nix/gcc/include/c++/13.3.0/bits/locale_facets.h:102:36: error: ‘streamsize’ has not been declared
102 | const _CharT* __olds, streamsize __newlen, streamsize __oldlen);
| ^~~~~~~~~~
/nix/gcc/include/c++/13.3.0/bits/locale_facets.h:102:57: error: ‘streamsize’ has not been declared
102 | const _CharT* __olds, streamsize __newlen, streamsize __oldlen);
| ^~~~~~~~~~
/nix/gcc/include/c++/13.3.0/bits/locale_facets.h:2513:32: error: ‘streamsize’ has not been declared
2513 | _M_pad(char_type __fill, streamsize __w, ios_base& __io,
| ^~~~~~~~~~
In file included from /nix/gcc/include/c++/13.3.0/bits/locale_facets.h:2687:
/nix/gcc/include/c++/13.3.0/bits/locale_facets.tcc: In member function ‘void std::__numpunct_cache<_CharT>::_M_cache(const std::locale&)’:
/nix/gcc/include/c++/13.3.0/bits/locale_facets.tcc:88:34: error: ‘const std::string’ {aka ‘const class std::__cxx11::basic_string<char>’} has no member named ‘size’
88 | _M_grouping_size = __g.size();
| ^~~~
/nix/gcc/include/c++/13.3.0/bits/locale_facets.tcc:90:15: error: ‘const std::string’ {aka ‘const class std::__cxx11::basic_string<char>’} has no member named ‘copy’
90 | __g.copy(__grouping, _M_grouping_size);
| ^~~~
/nix/gcc/include/c++/13.3.0/bits/locale_facets.tcc: In member function ‘_InIter std::num_get<_CharT, _InIter>::_M_extract_float(_InIter, _InIter, std::ios_base&, std::ios_base::iostate&, std::string&) const’:
/nix/gcc/include/c++/13.3.0/bits/locale_facets.tcc:211:33: error: no matching function for call to ‘std::__cxx11::basic_string<char>::reserve(int)’
211 | __found_grouping.reserve(32);
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:1204:7: note: candidate: ‘void std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::reserve() [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]’
1204 | reserve();
| ^~~~~~~
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:1204:7: note: candidate expects 0 arguments, 1 provided
/nix/gcc/include/c++/13.3.0/bits/locale_facets.tcc:296:42: error: ‘std::string’ {aka ‘class std::__cxx11::basic_string<char>’} has no member named ‘size’
296 | if (__found_grouping.size())
| ^~~~
/nix/gcc/include/c++/13.3.0/bits/locale_facets.tcc:319:42: error: ‘std::string’ {aka ‘class std::__cxx11::basic_string<char>’} has no member named ‘size’
319 | if (__found_grouping.size() && !__found_dec)
| ^~~~
/nix/gcc/include/c++/13.3.0/bits/locale_facets.tcc:355:28: error: ‘std::string’ {aka ‘class std::__cxx11::basic_string<char>’} has no member named ‘size’
355 | if (__found_grouping.size())
| ^~~~
/nix/gcc/include/c++/13.3.0/bits/locale_facets.tcc: In member function ‘_InIter std::num_get<_CharT, _InIter>::_M_extract_int(_InIter, _InIter, std::ios_base&, std::ios_base::iostate&, _ValueT&) const’:
/nix/gcc/include/c++/13.3.0/bits/locale_facets.tcc:469:35: error: no matching function for call to ‘std::__cxx11::basic_string<char>::reserve(int)’
469 | __found_grouping.reserve(32);
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:1204:7: note: candidate: ‘void std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::reserve() [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]’
1204 | reserve();
| ^~~~~~~
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:1204:7: note: candidate expects 0 arguments, 1 provided
/nix/gcc/include/c++/13.3.0/bits/locale_facets.tcc:555:30: error: ‘std::string’ {aka ‘class std::__cxx11::basic_string<char>’} has no member named ‘size’
555 | if (__found_grouping.size())
| ^~~~
/nix/gcc/include/c++/13.3.0/bits/locale_facets.tcc:568:63: error: ‘std::string’ {aka ‘class std::__cxx11::basic_string<char>’} has no member named ‘size’
568 | if ((!__sep_pos && !__found_zero && !__found_grouping.size())
| ^~~~
/nix/gcc/include/c++/13.3.0/bits/locale_facets.tcc: In member function ‘virtual _InIter std::num_get<_CharT, _InIter>::do_get(iter_type, iter_type, std::ios_base&, std::ios_base::iostate&, float&) const’:
/nix/gcc/include/c++/13.3.0/bits/locale_facets.tcc:695:21: error: no matching function for call to ‘std::__cxx11::basic_string<char>::reserve(int)’
695 | __xtrc.reserve(32);
| ~~~~~~~~~~~~~~^~~~
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:1204:7: note: candidate: ‘void std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::reserve() [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]’
1204 | reserve();
| ^~~~~~~
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:1204:7: note: candidate expects 0 arguments, 1 provided
/nix/gcc/include/c++/13.3.0/bits/locale_facets.tcc: In member function ‘virtual _InIter std::num_get<_CharT, _InIter>::do_get(iter_type, iter_type, std::ios_base&, std::ios_base::iostate&, double&) const’:
/nix/gcc/include/c++/13.3.0/bits/locale_facets.tcc:710:21: error: no matching function for call to ‘std::__cxx11::basic_string<char>::reserve(int)’
710 | __xtrc.reserve(32);
| ~~~~~~~~~~~~~~^~~~
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:1204:7: note: candidate: ‘void std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::reserve() [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]’
1204 | reserve();
| ^~~~~~~
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:1204:7: note: candidate expects 0 arguments, 1 provided
/nix/gcc/include/c++/13.3.0/bits/locale_facets.tcc: In member function ‘virtual _InIter std::num_get<_CharT, _InIter>::do_get(iter_type, iter_type, std::ios_base&, std::ios_base::iostate&, long double&) const’:
/nix/gcc/include/c++/13.3.0/bits/locale_facets.tcc:742:21: error: no matching function for call to ‘std::__cxx11::basic_string<char>::reserve(int)’
742 | __xtrc.reserve(32);
| ~~~~~~~~~~~~~~^~~~
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:1204:7: note: candidate: ‘void std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::reserve() [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]’
1204 | reserve();
| ^~~~~~~
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:1204:7: note: candidate expects 0 arguments, 1 provided
/nix/gcc/include/c++/13.3.0/bits/locale_facets.tcc: At global scope:
/nix/gcc/include/c++/13.3.0/bits/locale_facets.tcc:798:27: error: ‘streamsize’ has not been declared
798 | _M_pad(_CharT __fill, streamsize __w, ios_base& __io,
| ^~~~~~~~~~
/nix/gcc/include/c++/13.3.0/bits/locale_facets.tcc: In member function ‘_OutIter std::num_put<_CharT, _OutIter>::_M_insert_int(_OutIter, std::ios_base&, _CharT, _ValueT) const’:
/nix/gcc/include/c++/13.3.0/bits/locale_facets.tcc:939:15: error: ‘streamsize’ does not name a type
939 | const streamsize __w = __io.width();
| ^~~~~~~~~~
/nix/gcc/include/c++/13.3.0/bits/locale_facets.tcc:940:13: error: ‘__w’ was not declared in this scope; did you mean ‘__u’?
940 | if (__w > static_cast<streamsize>(__len))
| ^~~
| __u
/nix/gcc/include/c++/13.3.0/bits/locale_facets.tcc:940:31: error: ‘streamsize’ does not name a type
940 | if (__w > static_cast<streamsize>(__len))
| ^~~~~~~~~~
/nix/gcc/include/c++/13.3.0/bits/locale_facets.tcc:947:14: error: ‘class std::ios_base’ has no member named ‘width’
947 | __io.width(0);
| ^~~~~
/nix/gcc/include/c++/13.3.0/bits/locale_facets.tcc: In member function ‘_OutIter std::num_put<_CharT, _OutIter>::_M_insert_float(_OutIter, std::ios_base&, _CharT, char, _ValueT) const’:
/nix/gcc/include/c++/13.3.0/bits/locale_facets.tcc:1002:15: error: ‘streamsize’ does not name a type
1002 | const streamsize __prec = __io.precision() < 0 ? 6 : __io.precision();
| ^~~~~~~~~~
/nix/gcc/include/c++/13.3.0/bits/locale_facets.tcc:1024:49: error: ‘__prec’ was not declared in this scope
1024 | __fbuf, __prec, __v);
| ^~~~~~
/nix/gcc/include/c++/13.3.0/bits/locale_facets.tcc:1036:53: error: ‘__prec’ was not declared in this scope
1036 | __fbuf, __prec, __v);
| ^~~~~~
/nix/gcc/include/c++/13.3.0/bits/locale_facets.tcc:1089:13: error: ‘streamsize’ was not declared in this scope
1089 | streamsize __off = 0;
| ^~~~~~~~~~
/nix/gcc/include/c++/13.3.0/bits/locale_facets.tcc:1092:17: error: ‘__off’ was not declared in this scope
1092 | __off = 1;
| ^~~~~
/nix/gcc/include/c++/13.3.0/bits/locale_facets.tcc:1098:66: error: ‘__off’ was not declared in this scope
1098 | __lc->_M_thousands_sep, __wp, __ws2 + __off,
| ^~~~~
/nix/gcc/include/c++/13.3.0/bits/locale_facets.tcc:1106:15: error: ‘streamsize’ does not name a type
1106 | const streamsize __w = __io.width();
| ^~~~~~~~~~
/nix/gcc/include/c++/13.3.0/bits/locale_facets.tcc:1107:13: error: ‘__w’ was not declared in this scope; did you mean ‘__p’?
1107 | if (__w > static_cast<streamsize>(__len))
| ^~~
| __p
/nix/gcc/include/c++/13.3.0/bits/locale_facets.tcc:1107:31: error: ‘streamsize’ does not name a type
1107 | if (__w > static_cast<streamsize>(__len))
| ^~~~~~~~~~
/nix/gcc/include/c++/13.3.0/bits/locale_facets.tcc:1114:14: error: ‘class std::ios_base’ has no member named ‘width’
1114 | __io.width(0);
| ^~~~~
/nix/gcc/include/c++/13.3.0/bits/locale_facets.tcc: In member function ‘virtual _OutIter std::num_put<_CharT, _OutIter>::do_put(iter_type, std::ios_base&, char_type, bool) const’:
/nix/gcc/include/c++/13.3.0/bits/locale_facets.tcc:1144:17: error: ‘streamsize’ does not name a type
1144 | const streamsize __w = __io.width();
| ^~~~~~~~~~
/nix/gcc/include/c++/13.3.0/bits/locale_facets.tcc:1145:15: error: ‘__w’ was not declared in this scope; did you mean ‘__s’?
1145 | if (__w > static_cast<streamsize>(__len))
| ^~~
| __s
/nix/gcc/include/c++/13.3.0/bits/locale_facets.tcc:1145:33: error: ‘streamsize’ does not name a type
1145 | if (__w > static_cast<streamsize>(__len))
| ^~~~~~~~~~
/nix/gcc/include/c++/13.3.0/bits/locale_facets.tcc:1147:21: error: ‘streamsize’ does not name a type
1147 | const streamsize __plen = __w - __len;
| ^~~~~~~~~~
/nix/gcc/include/c++/13.3.0/bits/locale_facets.tcc:1150:59: error: ‘__plen’ was not declared in this scope; did you mean ‘__len’?
1150 | * __plen));
| ^~~~~~
| __len
/nix/gcc/include/c++/13.3.0/bits/locale_facets.tcc:1153:20: error: ‘class std::ios_base’ has no member named ‘width’
1153 | __io.width(0);
| ^~~~~
/nix/gcc/include/c++/13.3.0/bits/locale_facets.tcc:1167:16: error: ‘class std::ios_base’ has no member named ‘width’
1167 | __io.width(0);
| ^~~~~
/nix/gcc/include/c++/13.3.0/bits/locale_facets.tcc: At global scope:
/nix/gcc/include/c++/13.3.0/bits/locale_facets.tcc:1237:36: error: ‘streamsize’ has not been declared
1237 | streamsize __newlen, streamsize __oldlen)
| ^~~~~~~~~~
/nix/gcc/include/c++/13.3.0/bits/locale_facets.tcc:1237:57: error: ‘streamsize’ has not been declared
1237 | streamsize __newlen, streamsize __oldlen)
| ^~~~~~~~~~
/nix/gcc/include/c++/13.3.0/ostream:382:35: error: ‘streamsize’ has not been declared
382 | write(const char_type* __s, streamsize __n);
| ^~~~~~~~~~
/nix/gcc/include/c++/13.3.0/ostream:467:38: error: ‘streamsize’ has not been declared
467 | _M_write(const char_type* __s, streamsize __n)
| ^~~~~~~~~~
/nix/gcc/include/c++/13.3.0/ostream: In function ‘std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const _CharT*)’:
/nix/gcc/include/c++/13.3.0/ostream:651:38: error: ‘streamsize’ does not name a type
651 | static_cast<streamsize>(_Traits::length(__s)));
| ^~~~~~~~~~
/nix/gcc/include/c++/13.3.0/ostream: In function ‘std::basic_ostream<char, _Traits>& std::operator<<(basic_ostream<char, _Traits>&, const char*)’:
/nix/gcc/include/c++/13.3.0/ostream:668:38: error: ‘streamsize’ does not name a type
668 | static_cast<streamsize>(_Traits::length(__s)));
| ^~~~~~~~~~
In file included from /nix/gcc/include/c++/13.3.0/ostream:880:
/nix/gcc/include/c++/13.3.0/bits/ostream.tcc: At global scope:
/nix/gcc/include/c++/13.3.0/bits/ostream.tcc:188:30: error: ‘streamsize’ has not been declared
188 | write(const _CharT* __s, streamsize __n)
| ^~~~~~~~~~
In file included from /nix/gcc/include/c++/13.3.0/iostream:42:
/nix/gcc/include/c++/13.3.0/istream:84:7: error: ‘streamsize’ does not name a type
84 | streamsize _M_gcount;
| ^~~~~~~~~~
/nix/gcc/include/c++/13.3.0/istream:358:7: error: ‘streamsize’ does not name a type
358 | streamsize
| ^~~~~~~~~~
/nix/gcc/include/c++/13.3.0/istream:433:27: error: ‘streamsize’ has not been declared
433 | get(char_type* __s, streamsize __n, char_type __delim);
| ^~~~~~~~~~
/nix/gcc/include/c++/13.3.0/istream:444:27: error: ‘streamsize’ has not been declared
444 | get(char_type* __s, streamsize __n)
| ^~~~~~~~~~
/nix/gcc/include/c++/13.3.0/istream:506:31: error: ‘streamsize’ has not been declared
506 | getline(char_type* __s, streamsize __n, char_type __delim);
| ^~~~~~~~~~
/nix/gcc/include/c++/13.3.0/istream:517:31: error: ‘streamsize’ has not been declared
517 | getline(char_type* __s, streamsize __n)
| ^~~~~~~~~~
/nix/gcc/include/c++/13.3.0/istream:541:14: error: ‘streamsize’ has not been declared
541 | ignore(streamsize __n, int_type __delim);
| ^~~~~~~~~~
/nix/gcc/include/c++/13.3.0/istream:544:14: error: ‘streamsize’ has not been declared
544 | ignore(streamsize __n);
| ^~~~~~~~~~
/nix/gcc/include/c++/13.3.0/istream:576:28: error: ‘streamsize’ has not been declared
576 | read(char_type* __s, streamsize __n);
| ^~~~~~~~~~
/nix/gcc/include/c++/13.3.0/istream:594:7: error: ‘streamsize’ does not name a type
594 | streamsize
| ^~~~~~~~~~
/nix/gcc/include/c++/13.3.0/istream: In constructor ‘std::basic_istream<_CharT, _Traits>::basic_istream(__streambuf_type*)’:
/nix/gcc/include/c++/13.3.0/istream:96:9: error: class ‘std::basic_istream<_CharT, _Traits>’ does not have any field named ‘_M_gcount’
96 | : _M_gcount(streamsize(0))
| ^~~~~~~~~
/nix/gcc/include/c++/13.3.0/istream:96:19: error: there are no arguments to ‘streamsize’ that depend on a template parameter, so a declaration of ‘streamsize’ must be available [-fpermissive]
96 | : _M_gcount(streamsize(0))
| ^~~~~~~~~~
/nix/gcc/include/c++/13.3.0/istream:96:19: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
/nix/gcc/include/c++/13.3.0/istream: In destructor ‘virtual std::basic_istream<_CharT, _Traits>::~basic_istream()’:
/nix/gcc/include/c++/13.3.0/istream:106:9: error: ‘_M_gcount’ was not declared in this scope
106 | { _M_gcount = streamsize(0); }
| ^~~~~~~~~
/nix/gcc/include/c++/13.3.0/istream:106:21: error: there are no arguments to ‘streamsize’ that depend on a template parameter, so a declaration of ‘streamsize’ must be available [-fpermissive]
106 | { _M_gcount = streamsize(0); }
| ^~~~~~~~~~
/nix/gcc/include/c++/13.3.0/istream: In constructor ‘std::basic_istream<_CharT, _Traits>::basic_istream()’:
/nix/gcc/include/c++/13.3.0/istream:697:9: error: class ‘std::basic_istream<_CharT, _Traits>’ does not have any field named ‘_M_gcount’
697 | : _M_gcount(streamsize(0))
| ^~~~~~~~~
/nix/gcc/include/c++/13.3.0/istream:697:19: error: there are no arguments to ‘streamsize’ that depend on a template parameter, so a declaration of ‘streamsize’ must be available [-fpermissive]
697 | : _M_gcount(streamsize(0))
| ^~~~~~~~~~
/nix/gcc/include/c++/13.3.0/istream: In constructor ‘std::basic_istream<_CharT, _Traits>::basic_istream(std::basic_istream<_CharT, _Traits>&&)’:
/nix/gcc/include/c++/13.3.0/istream:704:23: error: class ‘std::basic_istream<_CharT, _Traits>’ does not have any field named ‘_M_gcount’
704 | : __ios_type(), _M_gcount(__rhs._M_gcount)
| ^~~~~~~~~
/nix/gcc/include/c++/13.3.0/istream: In member function ‘void std::basic_istream<_CharT, _Traits>::swap(std::basic_istream<_CharT, _Traits>&)’:
/nix/gcc/include/c++/13.3.0/istream:725:19: error: ‘_M_gcount’ was not declared in this scope
725 | std::swap(_M_gcount, __rhs._M_gcount);
| ^~~~~~~~~
/nix/gcc/include/c++/13.3.0/istream: At global scope:
/nix/gcc/include/c++/13.3.0/istream:738:29: error: ‘streamsize’ has not been declared
738 | getline(char_type* __s, streamsize __n, char_type __delim);
| ^~~~~~~~~~
/nix/gcc/include/c++/13.3.0/istream:742:5: error: ‘std::basic_istream<char>& std::basic_istream<char>::ignore’ is not a static data member of ‘class std::basic_istream<char>’
742 | basic_istream<char>::
| ^~~~~~~~~~~~~~~~~~~
/nix/gcc/include/c++/13.3.0/istream:743:12: error: ‘streamsize’ was not declared in this scope
743 | ignore(streamsize __n);
| ^~~~~~~~~~
/nix/gcc/include/c++/13.3.0/istream:747:5: error: ‘std::basic_istream<char>& std::basic_istream<char>::ignore’ is not a static data member of ‘class std::basic_istream<char>’
747 | basic_istream<char>::
| ^~~~~~~~~~~~~~~~~~~
/nix/gcc/include/c++/13.3.0/istream:748:12: error: ‘streamsize’ was not declared in this scope
748 | ignore(streamsize __n, int_type __delim);
| ^~~~~~~~~~
/nix/gcc/include/c++/13.3.0/istream:748:37: error: expected primary-expression before ‘__delim’
748 | ignore(streamsize __n, int_type __delim);
| ^~~~~~~
/nix/gcc/include/c++/13.3.0/istream:748:44: error: expression list treated as compound expression in initializer [-fpermissive]
748 | ignore(streamsize __n, int_type __delim);
| ^
/nix/gcc/include/c++/13.3.0/istream:754:29: error: ‘streamsize’ has not been declared
754 | getline(char_type* __s, streamsize __n, char_type __delim);
| ^~~~~~~~~~
/nix/gcc/include/c++/13.3.0/istream:758:5: error: ‘std::basic_istream<wchar_t>& std::basic_istream<wchar_t>::ignore’ is not a static data member of ‘class std::basic_istream<wchar_t>’
758 | basic_istream<wchar_t>::
| ^~~~~~~~~~~~~~~~~~~~~~
/nix/gcc/include/c++/13.3.0/istream:759:12: error: ‘streamsize’ was not declared in this scope
759 | ignore(streamsize __n);
| ^~~~~~~~~~
/nix/gcc/include/c++/13.3.0/istream:763:5: error: ‘std::basic_istream<wchar_t>& std::basic_istream<wchar_t>::ignore’ is not a static data member of ‘class std::basic_istream<wchar_t>’
763 | basic_istream<wchar_t>::
| ^~~~~~~~~~~~~~~~~~~~~~
/nix/gcc/include/c++/13.3.0/istream:764:12: error: ‘streamsize’ was not declared in this scope
764 | ignore(streamsize __n, int_type __delim);
| ^~~~~~~~~~
/nix/gcc/include/c++/13.3.0/istream:764:37: error: expected primary-expression before ‘__delim’
764 | ignore(streamsize __n, int_type __delim);
| ^~~~~~~
/nix/gcc/include/c++/13.3.0/istream:764:44: error: expression list treated as compound expression in initializer [-fpermissive]
764 | ignore(streamsize __n, int_type __delim);
| ^
/nix/gcc/include/c++/13.3.0/istream:858:65: error: ‘streamsize’ has not been declared
858 | __istream_extract(basic_istream<_CharT, _Traits>&, _CharT*, streamsize);
| ^~~~~~~~~~
/nix/gcc/include/c++/13.3.0/istream:860:43: error: ‘streamsize’ has not been declared
860 | void __istream_extract(istream&, char*, streamsize);
| ^~~~~~~~~~
/nix/gcc/include/c++/13.3.0/istream: In function ‘std::basic_istream<_CharT, _Traits>& std::operator>>(basic_istream<_CharT, _Traits>&, _CharT*)’:
/nix/gcc/include/c++/13.3.0/istream:910:11: error: ‘streamsize’ was not declared in this scope
910 | streamsize __w = __in.width();
| ^~~~~~~~~~
/nix/gcc/include/c++/13.3.0/istream:912:31: error: ‘__w’ was not declared in this scope; did you mean ‘__n’?
912 | if (__in.good() && (__w <= 0 || __n < __w))
| ^~~
| __n
/nix/gcc/include/c++/13.3.0/istream:926:11: error: ‘streamsize’ was not declared in this scope
926 | streamsize __n = __gnu_cxx::__numeric_traits<streamsize>::__max;
| ^~~~~~~~~~
In file included from /nix/gcc/include/c++/13.3.0/istream:1106:
/nix/gcc/include/c++/13.3.0/bits/istream.tcc: In member function ‘std::basic_istream<_CharT, _Traits>::int_type std::basic_istream<_CharT, _Traits>::get()’:
/nix/gcc/include/c++/13.3.0/bits/istream.tcc:265:7: error: ‘_M_gcount’ was not declared in this scope
265 | _M_gcount = 0;
| ^~~~~~~~~
/nix/gcc/include/c++/13.3.0/bits/istream.tcc: In member function ‘std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::get(char_type&)’:
/nix/gcc/include/c++/13.3.0/bits/istream.tcc:299:7: error: ‘_M_gcount’ was not declared in this scope
299 | _M_gcount = 0;
| ^~~~~~~~~
/nix/gcc/include/c++/13.3.0/bits/istream.tcc: At global scope:
/nix/gcc/include/c++/13.3.0/bits/istream.tcc:334:25: error: ‘streamsize’ has not been declared
334 | get(char_type* __s, streamsize __n, char_type __delim)
| ^~~~~~~~~~
/nix/gcc/include/c++/13.3.0/bits/istream.tcc: In member function ‘std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::get(char_type*, int, char_type)’:
/nix/gcc/include/c++/13.3.0/bits/istream.tcc:336:7: error: ‘_M_gcount’ was not declared in this scope
336 | _M_gcount = 0;
| ^~~~~~~~~
/nix/gcc/include/c++/13.3.0/bits/istream.tcc: In member function ‘std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::get(__streambuf_type&, char_type)’:
/nix/gcc/include/c++/13.3.0/bits/istream.tcc:383:7: error: ‘_M_gcount’ was not declared in this scope
383 | _M_gcount = 0;
| ^~~~~~~~~
/nix/gcc/include/c++/13.3.0/bits/istream.tcc:409:59: error: ‘streamsize’ was not declared in this scope
409 | if (__gcount <= __gnu_cxx::__numeric_traits<streamsize>::__max)
| ^~~~~~~~~~
/nix/gcc/include/c++/13.3.0/bits/istream.tcc:409:69: error: template argument 1 is invalid
409 | if (__gcount <= __gnu_cxx::__numeric_traits<streamsize>::__max)
| ^
/nix/gcc/include/c++/13.3.0/bits/istream.tcc: At global scope:
/nix/gcc/include/c++/13.3.0/bits/istream.tcc:432:29: error: ‘streamsize’ has not been declared
432 | getline(char_type* __s, streamsize __n, char_type __delim)
| ^~~~~~~~~~
/nix/gcc/include/c++/13.3.0/bits/istream.tcc: In member function ‘std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::getline(char_type*, int, char_type)’:
/nix/gcc/include/c++/13.3.0/bits/istream.tcc:434:7: error: ‘_M_gcount’ was not declared in this scope
434 | _M_gcount = 0;
| ^~~~~~~~~
/nix/gcc/include/c++/13.3.0/bits/istream.tcc: In member function ‘std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::ignore()’:
/nix/gcc/include/c++/13.3.0/bits/istream.tcc:494:7: error: ‘_M_gcount’ was not declared in this scope
494 | _M_gcount = 0;
| ^~~~~~~~~
/nix/gcc/include/c++/13.3.0/bits/istream.tcc: At global scope:
/nix/gcc/include/c++/13.3.0/bits/istream.tcc:524:5: error: ‘std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::ignore’ is not a static data member of ‘class std::basic_istream<_CharT, _Traits>’
524 | basic_istream<_CharT, _Traits>::
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/nix/gcc/include/c++/13.3.0/bits/istream.tcc:525:12: error: template definition of non-template ‘std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::ignore’
525 | ignore(streamsize __n)
| ^~~~~~~~~~
/nix/gcc/include/c++/13.3.0/bits/istream.tcc:525:12: error: ‘streamsize’ was not declared in this scope
/nix/gcc/include/c++/13.3.0/bits/istream.tcc:594:5: error: ‘std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::ignore’ is not a static data member of ‘class std::basic_istream<_CharT, _Traits>’
594 | basic_istream<_CharT, _Traits>::
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/nix/gcc/include/c++/13.3.0/bits/istream.tcc:595:12: error: template definition of non-template ‘std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::ignore’
595 | ignore(streamsize __n, int_type __delim)
| ^~~~~~~~~~
/nix/gcc/include/c++/13.3.0/bits/istream.tcc:595:12: error: ‘streamsize’ was not declared in this scope
/nix/gcc/include/c++/13.3.0/bits/istream.tcc:595:37: error: expected primary-expression before ‘__delim’
595 | ignore(streamsize __n, int_type __delim)
| ^~~~~~~
/nix/gcc/include/c++/13.3.0/bits/istream.tcc: In member function ‘std::basic_istream<_CharT, _Traits>::int_type std::basic_istream<_CharT, _Traits>::peek()’:
/nix/gcc/include/c++/13.3.0/bits/istream.tcc:675:7: error: ‘_M_gcount’ was not declared in this scope
675 | _M_gcount = 0;
| ^~~~~~~~~
/nix/gcc/include/c++/13.3.0/bits/istream.tcc: At global scope:
/nix/gcc/include/c++/13.3.0/bits/istream.tcc:702:26: error: ‘streamsize’ has not been declared
702 | read(char_type* __s, streamsize __n)
| ^~~~~~~~~~
/nix/gcc/include/c++/13.3.0/bits/istream.tcc: In member function ‘std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::read(char_type*, int)’:
/nix/gcc/include/c++/13.3.0/bits/istream.tcc:704:7: error: ‘_M_gcount’ was not declared in this scope
704 | _M_gcount = 0;
| ^~~~~~~~~
/nix/gcc/include/c++/13.3.0/bits/istream.tcc: At global scope:
/nix/gcc/include/c++/13.3.0/bits/istream.tcc:729:5: error: ‘streamsize’ does not name a type
729 | streamsize
| ^~~~~~~~~~
/nix/gcc/include/c++/13.3.0/bits/istream.tcc: In member function ‘std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::putback(char_type)’:
/nix/gcc/include/c++/13.3.0/bits/istream.tcc:767:7: error: ‘_M_gcount’ was not declared in this scope
767 | _M_gcount = 0;
| ^~~~~~~~~
/nix/gcc/include/c++/13.3.0/bits/istream.tcc: In member function ‘std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::unget()’:
/nix/gcc/include/c++/13.3.0/bits/istream.tcc:802:7: error: ‘_M_gcount’ was not declared in this scope
802 | _M_gcount = 0;
| ^~~~~~~~~
/nix/gcc/include/c++/13.3.0/bits/istream.tcc: At global scope:
/nix/gcc/include/c++/13.3.0/bits/istream.tcc:1008:23: error: ‘streamsize’ has not been declared
1008 | streamsize __num)
| ^~~~~~~~~~
/nix/gcc/include/c++/13.3.0/bits/istream.tcc: In function ‘void std::__istream_extract(basic_istream<_CharT, _Traits>&, _CharT*, int)’:
/nix/gcc/include/c++/13.3.0/bits/istream.tcc:1016:7: error: ‘streamsize’ was not declared in this scope
1016 | streamsize __extracted = 0;
| ^~~~~~~~~~
/nix/gcc/include/c++/13.3.0/bits/istream.tcc:1024:25: error: expected ‘;’ before ‘__width’
1024 | streamsize __width = __in.width();
| ^~~~~~~~
| ;
/nix/gcc/include/c++/13.3.0/bits/istream.tcc:1025:23: error: ‘__width’ was not declared in this scope; did you mean ‘wcwidth’?
1025 | if (0 < __width && __width < __num)
| ^~~~~~~
| wcwidth
/nix/gcc/include/c++/13.3.0/bits/istream.tcc:1034:22: error: ‘__extracted’ was not declared in this scope
1034 | while (__extracted < __num - 1
| ^~~~~~~~~~~
/nix/gcc/include/c++/13.3.0/bits/istream.tcc:1044:19: error: ‘__extracted’ was not declared in this scope
1044 | if (__extracted < __num - 1
| ^~~~~~~~~~~
/nix/gcc/include/c++/13.3.0/bits/istream.tcc:1061:12: error: ‘__extracted’ was not declared in this scope
1061 | if (!__extracted)
| ^~~~~~~~~~~
/nix/gcc/include/c++/13.3.0/bits/istream.tcc: At global scope:
/nix/gcc/include/c++/13.3.0/bits/istream.tcc:1146:63: error: ‘streamsize’ has not been declared
1146 | extern template void __istream_extract(wistream&, wchar_t*, streamsize);
| ^~~~~~~~~~
/nix/gcc/include/c++/13.3.0/bits/basic_string.h: In instantiation of ‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc> std::operator+(const _CharT*, __cxx11::basic_string<_CharT, _Traits, _Alloc>&&) [with _CharT = char; _Traits = char_traits<char>; _Alloc = allocator<char>]’:
/nix/gcc/include/c++/13.3.0/system_error:566:51: required from here
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:3676:36: error: no matching function for call to ‘std::__cxx11::basic_string<char>::insert(int, const char*&)’
3676 | { return std::move(__rhs.insert(0, __lhs)); }
| ~~~~~~~~~~~~^~~~~~~~~~
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:1831:9: note: candidate: ‘template<class _InputIterator, class> std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::iterator std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::insert(const_iterator, _InputIterator, _InputIterator) [with <template-parameter-2-2> = _InputIterator; _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]’
1831 | insert(const_iterator __p, _InputIterator __beg, _InputIterator __end)
| ^~~~~~
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:1831:9: note: template argument deduction/substitution failed:
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:3676:36: note: candidate expects 3 arguments, 2 provided
3676 | { return std::move(__rhs.insert(0, __lhs)); }
| ~~~~~~~~~~~~^~~~~~~~~~
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:1866:7: note: candidate: ‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::iterator std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::insert(const_iterator, std::initializer_list<_Tp>) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; iterator = std::__cxx11::basic_string<char>::iterator; const_iterator = std::__cxx11::basic_string<char>::const_iterator]’
1866 | insert(const_iterator __p, initializer_list<_CharT> __l)
| ^~~~~~
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:1866:29: note: no known conversion for argument 1 from ‘int’ to ‘std::__cxx11::basic_string<char>::const_iterator’
1866 | insert(const_iterator __p, initializer_list<_CharT> __l)
| ~~~~~~~~~~~~~~~^~~
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:2006:7: note: candidate: ‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::iterator std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::insert(__const_iterator, _CharT) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; iterator = std::__cxx11::basic_string<char>::iterator; __const_iterator = std::__cxx11::basic_string<char>::const_iterator]’
2006 | insert(__const_iterator __p, _CharT __c)
| ^~~~~~
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:2006:31: note: no known conversion for argument 1 from ‘int’ to ‘std::__cxx11::basic_string<char>::__const_iterator’ {aka ‘std::__cxx11::basic_string<char>::const_iterator’}
2006 | insert(__const_iterator __p, _CharT __c)
| ~~~~~~~~~~~~~~~~~^~~
/nix/gcc/include/c++/13.3.0/bits/basic_string.h: In instantiation of ‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc> std::operator+(const __cxx11::basic_string<_CharT, _Traits, _Alloc>&, __cxx11::basic_string<_CharT, _Traits, _Alloc>&&) [with _CharT = char; _Traits = char_traits<char>; _Alloc = allocator<char>]’:
/nix/gcc/include/c++/13.3.0/system_error:566:52: required from here
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:3646:36: error: no matching function for call to ‘std::__cxx11::basic_string<char>::insert(int, const std::__cxx11::basic_string<char>&)’
3646 | { return std::move(__rhs.insert(0, __lhs)); }
| ~~~~~~~~~~~~^~~~~~~~~~
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:1831:9: note: candidate: ‘template<class _InputIterator, class> std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::iterator std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::insert(const_iterator, _InputIterator, _InputIterator) [with <template-parameter-2-2> = _InputIterator; _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]’
1831 | insert(const_iterator __p, _InputIterator __beg, _InputIterator __end)
| ^~~~~~
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:1831:9: note: template argument deduction/substitution failed:
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:3646:36: note: candidate expects 3 arguments, 2 provided
3646 | { return std::move(__rhs.insert(0, __lhs)); }
| ~~~~~~~~~~~~^~~~~~~~~~
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:1866:7: note: candidate: ‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::iterator std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::insert(const_iterator, std::initializer_list<_Tp>) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; iterator = std::__cxx11::basic_string<char>::iterator; const_iterator = std::__cxx11::basic_string<char>::const_iterator]’
1866 | insert(const_iterator __p, initializer_list<_CharT> __l)
| ^~~~~~
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:1866:29: note: no known conversion for argument 1 from ‘int’ to ‘std::__cxx11::basic_string<char>::const_iterator’
1866 | insert(const_iterator __p, initializer_list<_CharT> __l)
| ~~~~~~~~~~~~~~~^~~
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:2006:7: note: candidate: ‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::iterator std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::insert(__const_iterator, _CharT) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; iterator = std::__cxx11::basic_string<char>::iterator; __const_iterator = std::__cxx11::basic_string<char>::const_iterator]’
2006 | insert(__const_iterator __p, _CharT __c)
| ^~~~~~
/nix/gcc/include/c++/13.3.0/bits/basic_string.h:2006:31: note: no known conversion for argument 1 from ‘int’ to ‘std::__cxx11::basic_string<char>::__const_iterator’ {aka ‘std::__cxx11::basic_string<char>::const_iterator’}
2006 | insert(__const_iterator __p, _CharT __c)
| ~~~~~~~~~~~~~~~~~^~~