G++, Clang++
の環境
dockerにclang
で、コンパイル実験
5.13.5 String literals [lex.string] C++N4910 (3) p26.cpp
のソースコード
p26.cpp
#include <iostream>
#include <cstdlib>
#include <cassert>
#include <cstring>
// C++N4910 Committee Draft, Standard for Programming Language C++
// http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2022/n4910.pdf
const msg = "C++N4910(3)p26.cpp 5.13.5 String literals [lex.string] ";
// Edited by Dr. Ogawa Kiyoshi. Compile procedure and results record.
using namespace std;
#define R "x"
//const char* s = R"y";// ill-formed raw string, not "x" "y"
int main() {
const char* p = R"(a\
b
c)";
assert(std::strcmp(p, "a\\\nb\nc") == 0);
std::cout << "p"<<p<< std::endl;
std::cout <<
R"a(
)\
a"
)a"
<< std::endl;
std::cout <<
R"(x = "\"y\"")"
<< std::endl;
std::cout <<
"\xA" "B"
<< std::endl;
std::cout <<
R"(\u00)" "41"
<< std::endl;
cout<< msg << endl;
return EXIT_SUCCESS;
}
をスクリプトでコンパイルした。
clgc.sh
#!/bin/sh
echo "$ clang++ $1.cpp -std=2b -o $1l -I. -Wall"
clang++ $1.cpp -std=c++2b -o $1l -I. -Wall
if [ -e $1l ]; then
./$1l
fi
echo "\r"
echo "$ g++ $1.cpp -std=2b -o $1g -I. -Wall"
g++ $1.cpp -std=c++2b -o $1g -I. -Wall
if [ -e $1g ]; then
./$1g
fi
コンパイル2回目
bash
./clgc.sh p26
$ clang++ p26.cpp -std=2b -o p26l -I. -Wall
p26.cpp:3:7: error: C++ requires a type specifier for all declarations
const msg = "C++N4910(3)p26.cpp 5.13.5 String literals [lex.string] ";
~~~~~ ^
1 error generated.
$ g++ p26.cpp -std=2b -o p26g -I. -Wall
p26.cpp:3:7: error: 'msg' does not name a type
3 | const msg = "C++N4910(3)p26.cpp 5.13.5 String literals [lex.string] ";
| ^~~
p26.cpp: In function 'int main()':
p26.cpp:45:10: error: 'msg' was not declared in this scope
45 | cout<< msg << endl;
| ^~~
コンパイル1回目
= がなく、;がないとこんなんいなる。
bash
# ./clgc.sh p26
$ clang++ p26.cpp -std=2b -o p26l -I. -Wall
p26.cpp:3:7: error: unknown type name 'msg'
const msg "C++N4910(3)p26.cpp 5.13.5 String literals [lex.string] "
^
p26.cpp:3:11: error: expected unqualified-id
const msg "C++N4910(3)p26.cpp 5.13.5 String literals [lex.string] "
^
p26.cpp:45:10: error: use of undeclared identifier 'msg'
cout<< msg << endl;
^
3 errors generated.
$ g++ p26.cpp -std=2b -o p26g -I. -Wall
p26.cpp:3:7: error: 'msg' does not name a type
3 | const msg "C++N4910(3)p26.cpp 5.13.5 String literals [lex.string] "
| ^~~
In file included from /usr/local/include/c++/12.1.0/iosfwd:40,
from /usr/local/include/c++/12.1.0/ios:38,
from /usr/local/include/c++/12.1.0/ostream:38,
from /usr/local/include/c++/12.1.0/iostream:39,
from p26.cpp:6:
/usr/local/include/c++/12.1.0/bits/postypes.h:68:11: error: 'ptrdiff_t' does not name a type
68 | typedef ptrdiff_t streamsize; // Signed integral type
| ^~~~~~~~~
/usr/local/include/c++/12.1.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 /usr/local/include/c++/12.1.0/bits/exception_ptr.h:40,
from /usr/local/include/c++/12.1.0/exception:168,
from /usr/local/include/c++/12.1.0/ios:39:
/usr/local/include/c++/12.1.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)
| ^~~~~~~~
/usr/local/include/c++/12.1.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 /usr/include/wchar.h:35,
from /usr/local/include/c++/12.1.0/cwchar:44,
from /usr/local/include/c++/12.1.0/bits/postypes.h:40:
/usr/local/lib/gcc/x86_64-linux-gnu/12.1.0/include/stddef.h:214:23: note: 'size_t' declared here
214 | typedef __SIZE_TYPE__ size_t;
| ^~~~~~
/usr/local/include/c++/12.1.0/new:127:41: error: attributes after parenthesized initializer ignored [-fpermissive]
127 | __attribute__((__externally_visible__));
| ^
/usr/local/include/c++/12.1.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)
| ^~~~~~~~
/usr/local/include/c++/12.1.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)
| ^~~~~~
/usr/local/lib/gcc/x86_64-linux-gnu/12.1.0/include/stddef.h:214:23: note: 'size_t' declared here
214 | typedef __SIZE_TYPE__ size_t;
| ^~~~~~
/usr/local/include/c++/12.1.0/new:129:41: error: attributes after parenthesized initializer ignored [-fpermissive]
129 | __attribute__((__externally_visible__));
| ^
/usr/local/include/c++/12.1.0/new:135:29: error: 'std::size_t' has not been declared
135 | void operator delete(void*, std::size_t) _GLIBCXX_USE_NOEXCEPT
| ^~~
/usr/local/include/c++/12.1.0/new:137:31: error: 'std::size_t' has not been declared
137 | void operator delete[](void*, std::size_t) _GLIBCXX_USE_NOEXCEPT
| ^~~
/usr/local/include/c++/12.1.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
| ^~~~~~~~
/usr/local/include/c++/12.1.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
| ^~~~~~
/usr/local/lib/gcc/x86_64-linux-gnu/12.1.0/include/stddef.h:214:23: note: 'size_t' declared here
214 | typedef __SIZE_TYPE__ size_t;
| ^~~~~~
/usr/local/include/c++/12.1.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
| ^~~~~
/usr/local/include/c++/12.1.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
| ^~~~~~~~
/usr/local/include/c++/12.1.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
| ^~~~~~
/usr/local/lib/gcc/x86_64-linux-gnu/12.1.0/include/stddef.h:214:23: note: 'size_t' declared here
214 | typedef __SIZE_TYPE__ size_t;
| ^~~~~~
/usr/local/include/c++/12.1.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
| ^~~~~
/usr/local/include/c++/12.1.0/new:149:26: error: declaration of 'operator new' as non-function
149 | _GLIBCXX_NODISCARD void* operator new(std::size_t, std::align_val_t)
| ^~~~~~~~
/usr/local/include/c++/12.1.0/new:149:44: error: 'size_t' is not a member of 'std'; did you mean 'size_t'?
149 | _GLIBCXX_NODISCARD void* operator new(std::size_t, std::align_val_t)
| ^~~~~~
/usr/local/lib/gcc/x86_64-linux-gnu/12.1.0/include/stddef.h:214:23: note: 'size_t' declared here
214 | typedef __SIZE_TYPE__ size_t;
| ^~~~~~
/usr/local/include/c++/12.1.0/new:149:68: error: expected primary-expression before ')' token
149 | _GLIBCXX_NODISCARD void* operator new(std::size_t, std::align_val_t)
| ^
/usr/local/include/c++/12.1.0/new:150:73: error: attributes after parenthesized initializer ignored [-fpermissive]
150 | __attribute__((__externally_visible__, __alloc_size__ (1), __malloc__));
| ^
/usr/local/include/c++/12.1.0/new:151:26: error: declaration of 'operator new' as non-function
151 | _GLIBCXX_NODISCARD void* operator new(std::size_t, std::align_val_t, const std::nothrow_t&)
| ^~~~~~~~
/usr/local/include/c++/12.1.0/new:151:44: error: 'size_t' is not a member of 'std'; did you mean 'size_t'?
151 | _GLIBCXX_NODISCARD void* operator new(std::size_t, std::align_val_t, const std::nothrow_t&)
| ^~~~~~
/usr/local/lib/gcc/x86_64-linux-gnu/12.1.0/include/stddef.h:214:23: note: 'size_t' declared here
214 | typedef __SIZE_TYPE__ size_t;
| ^~~~~~
/usr/local/include/c++/12.1.0/new:151:68: error: expected primary-expression before ',' token
151 | _GLIBCXX_NODISCARD void* operator new(std::size_t, std::align_val_t, const std::nothrow_t&)
| ^
/usr/local/include/c++/12.1.0/new:151:70: error: expected primary-expression before 'const'
151 | _GLIBCXX_NODISCARD void* operator new(std::size_t, std::align_val_t, const std::nothrow_t&)
| ^~~~~
/usr/local/include/c++/12.1.0/new:157:26: error: declaration of 'operator new []' as non-function
157 | _GLIBCXX_NODISCARD void* operator new[](std::size_t, std::align_val_t)
| ^~~~~~~~
/usr/local/include/c++/12.1.0/new:157:46: error: 'size_t' is not a member of 'std'; did you mean 'size_t'?
157 | _GLIBCXX_NODISCARD void* operator new[](std::size_t, std::align_val_t)
| ^~~~~~
/usr/local/lib/gcc/x86_64-linux-gnu/12.1.0/include/stddef.h:214:23: note: 'size_t' declared here
214 | typedef __SIZE_TYPE__ size_t;
| ^~~~~~
/usr/local/include/c++/12.1.0/new:157:70: error: expected primary-expression before ')' token
157 | _GLIBCXX_NODISCARD void* operator new[](std::size_t, std::align_val_t)
| ^
/usr/local/include/c++/12.1.0/new:158:73: error: attributes after parenthesized initializer ignored [-fpermissive]
158 | __attribute__((__externally_visible__, __alloc_size__ (1), __malloc__));
| ^
/usr/local/include/c++/12.1.0/new:159:26: error: declaration of 'operator new []' as non-function
159 | _GLIBCXX_NODISCARD void* operator new[](std::size_t, std::align_val_t, const std::nothrow_t&)
| ^~~~~~~~
/usr/local/include/c++/12.1.0/new:159:46: error: 'size_t' is not a member of 'std'; did you mean 'size_t'?
159 | _GLIBCXX_NODISCARD void* operator new[](std::size_t, std::align_val_t, const std::nothrow_t&)
| ^~~~~~
/usr/local/lib/gcc/x86_64-linux-gnu/12.1.0/include/stddef.h:214:23: note: 'size_t' declared here
214 | typedef __SIZE_TYPE__ size_t;
| ^~~~~~
/usr/local/include/c++/12.1.0/new:159:70: error: expected primary-expression before ',' token
159 | _GLIBCXX_NODISCARD void* operator new[](std::size_t, std::align_val_t, const std::nothrow_t&)
| ^
/usr/local/include/c++/12.1.0/new:159:72: error: expected primary-expression before 'const'
159 | _GLIBCXX_NODISCARD void* operator new[](std::size_t, std::align_val_t, const std::nothrow_t&)
| ^~~~~
/usr/local/include/c++/12.1.0/new:166:29: error: 'std::size_t' has not been declared
166 | void operator delete(void*, std::size_t, std::align_val_t)
| ^~~
/usr/local/include/c++/12.1.0/new:168:31: error: 'std::size_t' has not been declared
168 | void operator delete[](void*, std::size_t, std::align_val_t)
| ^~~
/usr/local/include/c++/12.1.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
| ^~~~~~~~
/usr/local/include/c++/12.1.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
| ^~~~~~
/usr/local/lib/gcc/x86_64-linux-gnu/12.1.0/include/stddef.h:214:23: note: 'size_t' declared here
214 | typedef __SIZE_TYPE__ size_t;
| ^~~~~~
/usr/local/include/c++/12.1.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
| ^~~~
/usr/local/include/c++/12.1.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
| ^~~~~~~~
/usr/local/include/c++/12.1.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
| ^~~~~~
/usr/local/lib/gcc/x86_64-linux-gnu/12.1.0/include/stddef.h:214:23: note: 'size_t' declared here
214 | typedef __SIZE_TYPE__ size_t;
| ^~~~~~
/usr/local/include/c++/12.1.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 /usr/local/include/c++/12.1.0/bits/move.h:57,
from /usr/local/include/c++/12.1.0/bits/exception_ptr.h:43:
/usr/local/include/c++/12.1.0/type_traits:452:26: error: 'std::size_t' has not been declared
452 | template<typename _Tp, std::size_t _Size>
| ^~~
/usr/local/include/c++/12.1.0/type_traits:453:25: error: '_Size' was not declared in this scope
453 | struct is_array<_Tp[_Size]>
| ^~~~~
/usr/local/include/c++/12.1.0/type_traits:453:31: error: template argument 1 is invalid
453 | struct is_array<_Tp[_Size]>
| ^
/usr/local/include/c++/12.1.0/type_traits:558:42: error: 'nullptr_t' is not a member of 'std'; did you mean 'nullptr_t'?
558 | struct __is_null_pointer_helper<std::nullptr_t>
| ^~~~~~~~~
In file included from /usr/local/include/c++/12.1.0/bits/cxxabi_init_exception.h:38,
from /usr/local/include/c++/12.1.0/bits/exception_ptr.h:38:
/usr/local/lib/gcc/x86_64-linux-gnu/12.1.0/include/stddef.h:442:29: note: 'nullptr_t' declared here
442 | typedef decltype(nullptr) nullptr_t;
| ^~~~~~~~~
/usr/local/include/c++/12.1.0/type_traits:558:51: error: template argument 1 is invalid
558 | struct __is_null_pointer_helper<std::nullptr_t>
| ^
/usr/local/include/c++/12.1.0/type_traits:1386:37: error: 'size_t' is not a member of 'std'; did you mean 'size_t'?
1386 | : public integral_constant<std::size_t, alignof(_Tp)>
| ^~~~~~
/usr/local/lib/gcc/x86_64-linux-gnu/12.1.0/include/stddef.h:214:23: note: 'size_t' declared here
214 | typedef __SIZE_TYPE__ size_t;
| ^~~~~~
/usr/local/include/c++/12.1.0/type_traits:1386:57: error: template argument 1 is invalid
1386 | : public integral_constant<std::size_t, alignof(_Tp)>
| ^
/usr/local/include/c++/12.1.0/type_traits:1395:37: error: 'size_t' is not a member of 'std'; did you mean 'size_t'?
1395 | : public integral_constant<std::size_t, 0> { };
| ^~~~~~
/usr/local/lib/gcc/x86_64-linux-gnu/12.1.0/include/stddef.h:214:23: note: 'size_t' declared here
214 | typedef __SIZE_TYPE__ size_t;
| ^~~~~~
/usr/local/include/c++/12.1.0/type_traits:1395:46: error: template argument 1 is invalid
1395 | : public integral_constant<std::size_t, 0> { };
| ^
/usr/local/include/c++/12.1.0/type_traits:1397:26: error: 'std::size_t' has not been declared
1397 | template<typename _Tp, std::size_t _Size>
| ^~~
/usr/local/include/c++/12.1.0/type_traits:1398:21: error: '_Size' was not declared in this scope
1398 | struct rank<_Tp[_Size]>
| ^~~~~
/usr/local/include/c++/12.1.0/type_traits:1398:27: error: template argument 1 is invalid
1398 | struct rank<_Tp[_Size]>
| ^
/usr/local/include/c++/12.1.0/type_traits:1399:37: error: 'size_t' is not a member of 'std'; did you mean 'size_t'?
1399 | : public integral_constant<std::size_t, 1 + rank<_Tp>::value> { };
| ^~~~~~
/usr/local/lib/gcc/x86_64-linux-gnu/12.1.0/include/stddef.h:214:23: note: 'size_t' declared here
214 | typedef __SIZE_TYPE__ size_t;
| ^~~~~~
/usr/local/include/c++/12.1.0/type_traits:1399:65: error: template argument 1 is invalid
1399 | : public integral_constant<std::size_t, 1 + rank<_Tp>::value> { };
| ^
/usr/local/include/c++/12.1.0/type_traits:1403:37: error: 'size_t' is not a member of 'std'; did you mean 'size_t'?
1403 | : public integral_constant<std::size_t, 1 + rank<_Tp>::value> { };
| ^~~~~~
/usr/local/lib/gcc/x86_64-linux-gnu/12.1.0/include/stddef.h:214:23: note: 'size_t' declared here
214 | typedef __SIZE_TYPE__ size_t;
| ^~~~~~
/usr/local/include/c++/12.1.0/type_traits:1403:65: error: template argument 1 is invalid
1403 | : public integral_constant<std::size_t, 1 + rank<_Tp>::value> { };
| ^
/usr/local/include/c++/12.1.0/type_traits:1408:37: error: 'size_t' is not a member of 'std'; did you mean 'size_t'?
1408 | : public integral_constant<std::size_t, 0> { };
| ^~~~~~
/usr/local/lib/gcc/x86_64-linux-gnu/12.1.0/include/stddef.h:214:23: note: 'size_t' declared here
214 | typedef __SIZE_TYPE__ size_t;
| ^~~~~~
/usr/local/include/c++/12.1.0/type_traits:1408:46: error: template argument 1 is invalid
1408 | : public integral_constant<std::size_t, 0> { };
| ^
/usr/local/include/c++/12.1.0/type_traits:1410:42: error: 'std::size_t' has not been declared
1410 | template<typename _Tp, unsigned _Uint, std::size_t _Size>
| ^~~
/usr/local/include/c++/12.1.0/type_traits:1411:23: error: '_Size' was not declared in this scope
1411 | struct extent<_Tp[_Size], _Uint>
| ^~~~~
/usr/local/include/c++/12.1.0/type_traits:1411:36: error: template argument 1 is invalid
1411 | struct extent<_Tp[_Size], _Uint>
| ^
/usr/local/include/c++/12.1.0/type_traits:1412:37: error: 'size_t' is not a member of 'std'; did you mean 'size_t'?
1412 | : public integral_constant<std::size_t,
| ^~~~~~
/usr/local/lib/gcc/x86_64-linux-gnu/12.1.0/include/stddef.h:214:23: note: 'size_t' declared here
214 | typedef __SIZE_TYPE__ size_t;
| ^~~~~~
/usr/local/include/c++/12.1.0/type_traits:1413:45: error: '_Size' was not declared in this scope
1413 | _Uint == 0 ? _Size : extent<_Tp,
| ^~~~~
/usr/local/include/c++/12.1.0/type_traits:1414:77: error: template argument 1 is invalid
1414 | _Uint - 1>::value>
| ^
/usr/local/include/c++/12.1.0/type_traits:1419:37: error: 'size_t' is not a member of 'std'; did you mean 'size_t'?
1419 | : public integral_constant<std::size_t,
| ^~~~~~
/usr/local/lib/gcc/x86_64-linux-gnu/12.1.0/include/stddef.h:214:23: note: 'size_t' declared here
214 | typedef __SIZE_TYPE__ size_t;
| ^~~~~~
/usr/local/include/c++/12.1.0/type_traits:1421:73: error: template argument 1 is invalid
1421 | _Uint - 1>::value>
| ^
/usr/local/include/c++/12.1.0/type_traits:2019:26: error: 'std::size_t' has not been declared
2019 | template<typename _Tp, std::size_t _Size>
| ^~~
/usr/local/include/c++/12.1.0/type_traits:2020:30: error: '_Size' was not declared in this scope
2020 | struct remove_extent<_Tp[_Size]>
| ^~~~~
/usr/local/include/c++/12.1.0/type_traits:2020:36: error: template argument 1 is invalid
2020 | struct remove_extent<_Tp[_Size]>
| ^
/usr/local/include/c++/12.1.0/type_traits:2032:26: error: 'std::size_t' has not been declared
2032 | template<typename _Tp, std::size_t _Size>
| ^~~
/usr/local/include/c++/12.1.0/type_traits:2033:35: error: '_Size' was not declared in this scope
2033 | struct remove_all_extents<_Tp[_Size]>
| ^~~~~
/usr/local/include/c++/12.1.0/type_traits:2033:41: error: template argument 1 is invalid
2033 | struct remove_all_extents<_Tp[_Size]>
| ^
/usr/local/include/c++/12.1.0/type_traits:2091:12: error: 'std::size_t' has not been declared
2091 | template<std::size_t _Len>
| ^~~
/usr/local/include/c++/12.1.0/type_traits:2096:30: error: '_Len' was not declared in this scope
2096 | unsigned char __data[_Len];
| ^~~~
/usr/local/include/c++/12.1.0/type_traits:2111:12: error: 'std::size_t' has not been declared
2111 | template<std::size_t _Len, std::size_t _Align =
| ^~~
/usr/local/include/c++/12.1.0/type_traits:2111:30: error: 'std::size_t' has not been declared
2111 | template<std::size_t _Len, std::size_t _Align =
| ^~~
/usr/local/include/c++/12.1.0/type_traits:2112:55: error: '_Len' was not declared in this scope
2112 | __alignof__(typename __aligned_storage_msa<_Len>::__type)>
| ^~~~
/usr/local/include/c++/12.1.0/type_traits:2112:59: error: template argument 1 is invalid
2112 | __alignof__(typename __aligned_storage_msa<_Len>::__type)>
| ^
/usr/local/include/c++/12.1.0/type_traits:2117:30: error: '_Len' was not declared in this scope
2117 | unsigned char __data[_Len];
| ^~~~
/usr/local/include/c++/12.1.0/type_traits:2118:44: error: '_Align' was not declared in this scope
2118 | struct __attribute__((__aligned__((_Align)))) { } __align;
| ^~~~~~
In file included from /usr/local/include/c++/12.1.0/ios:40:
/usr/local/include/c++/12.1.0/bits/char_traits.h:129:61: error: 'std::size_t' has not been declared
129 | compare(const char_type* __s1, const char_type* __s2, std::size_t __n);
| ^~~
/usr/local/include/c++/12.1.0/bits/char_traits.h:131:40: error: 'size_t' in namespace 'std' does not name a type
131 | static _GLIBCXX14_CONSTEXPR std::size_t
| ^~~~~~
/usr/local/include/c++/12.1.0/bits/char_traits.h:135:34: error: 'std::size_t' has not been declared
135 | find(const char_type* __s, std::size_t __n, const char_type& __a);
| ^~~
/usr/local/include/c++/12.1.0/bits/char_traits.h:138:52: error: 'std::size_t' has not been declared
138 | move(char_type* __s1, const char_type* __s2, std::size_t __n);
| ^~~
/usr/local/include/c++/12.1.0/bits/char_traits.h:141:52: error: 'std::size_t' has not been declared
141 | copy(char_type* __s1, const char_type* __s2, std::size_t __n);
| ^~~
/usr/local/include/c++/12.1.0/bits/char_traits.h:144:30: error: 'std::size_t' has not been declared
144 | assign(char_type* __s, std::size_t __n, char_type __a);
| ^~~
/usr/local/include/c++/12.1.0/bits/char_traits.h:170:59: error: 'std::size_t' has not been declared
170 | compare(const char_type* __s1, const char_type* __s2, std::size_t __n)
| ^~~
/usr/local/include/c++/12.1.0/bits/char_traits.h: In static member function 'static constexpr int __gnu_cxx::char_traits<_CharT>::compare(const char_type*, const char_type*, int)':
/usr/local/include/c++/12.1.0/bits/char_traits.h:172:17: error: 'size_t' is not a member of 'std'; did you mean 'size_t'?
172 | for (std::size_t __i = 0; __i < __n; ++__i)
| ^~~~~~
/usr/local/lib/gcc/x86_64-linux-gnu/12.1.0/include/stddef.h:214:23: note: 'size_t' declared here
214 | typedef __SIZE_TYPE__ size_t;
| ^~~~~~
/usr/local/include/c++/12.1.0/bits/char_traits.h:172:33: error: '__i' was not declared in this scope; did you mean '__n'?
172 | for (std::size_t __i = 0; __i < __n; ++__i)
| ^~~
| __n
/usr/local/include/c++/12.1.0/bits/char_traits.h: At global scope:
/usr/local/include/c++/12.1.0/bits/char_traits.h:181:31: error: 'size_t' in namespace 'std' does not name a type
181 | _GLIBCXX14_CONSTEXPR std::size_t
| ^~~~~~
/usr/local/include/c++/12.1.0/bits/char_traits.h:194:32: error: 'std::size_t' has not been declared
194 | find(const char_type* __s, std::size_t __n, const char_type& __a)
| ^~~
/usr/local/include/c++/12.1.0/bits/char_traits.h: In static member function 'static constexpr const __gnu_cxx::char_traits<_CharT>::char_type* __gnu_cxx::char_traits<_CharT>::find(const char_type*, int, const char_type&)':
/usr/local/include/c++/12.1.0/bits/char_traits.h:196:17: error: 'size_t' is not a member of 'std'; did you mean 'size_t'?
196 | for (std::size_t __i = 0; __i < __n; ++__i)
| ^~~~~~
/usr/local/lib/gcc/x86_64-linux-gnu/12.1.0/include/stddef.h:214:23: note: 'size_t' declared here
214 | typedef __SIZE_TYPE__ size_t;
| ^~~~~~
/usr/local/include/c++/12.1.0/bits/char_traits.h:196:33: error: '__i' was not declared in this scope; did you mean '__s'?
196 | for (std::size_t __i = 0; __i < __n; ++__i)
| ^~~
| __s
/usr/local/include/c++/12.1.0/bits/char_traits.h: At global scope:
/usr/local/include/c++/12.1.0/bits/char_traits.h:206:50: error: 'std::size_t' has not been declared
206 | move(char_type* __s1, const char_type* __s2, std::size_t __n)
| ^~~
/usr/local/include/c++/12.1.0/bits/char_traits.h:256:50: error: 'std::size_t' has not been declared
256 | copy(char_type* __s1, const char_type* __s2, std::size_t __n)
| ^~~
/usr/local/include/c++/12.1.0/bits/char_traits.h: In static member function 'static constexpr __gnu_cxx::char_traits<_CharT>::char_type* __gnu_cxx::char_traits<_CharT>::copy(char_type*, const char_type*, int)':
/usr/local/include/c++/12.1.0/bits/char_traits.h:261:21: error: 'size_t' is not a member of 'std'; did you mean 'size_t'?
261 | for (std::size_t __i = 0; __i < __n; ++__i)
| ^~~~~~
/usr/local/lib/gcc/x86_64-linux-gnu/12.1.0/include/stddef.h:214:23: note: 'size_t' declared here
214 | typedef __SIZE_TYPE__ size_t;
| ^~~~~~
/usr/local/include/c++/12.1.0/bits/char_traits.h:261:37: error: '__i' was not declared in this scope; did you mean '__n'?
261 | for (std::size_t __i = 0; __i < __n; ++__i)
| ^~~
| __n
/usr/local/include/c++/12.1.0/bits/char_traits.h: At global scope:
/usr/local/include/c++/12.1.0/bits/char_traits.h:275:28: error: 'std::size_t' has not been declared
275 | assign(char_type* __s, std::size_t __n, char_type __a)
| ^~~
/usr/local/include/c++/12.1.0/bits/char_traits.h: In static member function 'static constexpr __gnu_cxx::char_traits<_CharT>::char_type* __gnu_cxx::char_traits<_CharT>::assign(char_type*, int, char_type)':
/usr/local/include/c++/12.1.0/bits/char_traits.h:280:21: error: 'size_t' is not a member of 'std'; did you mean 'size_t'?
280 | for (std::size_t __i = 0; __i < __n; ++__i)
| ^~~~~~
/usr/local/lib/gcc/x86_64-linux-gnu/12.1.0/include/stddef.h:214:23: note: 'size_t' declared here
214 | typedef __SIZE_TYPE__ size_t;
| ^~~~~~
/usr/local/include/c++/12.1.0/bits/char_traits.h:280:37: error: '__i' was not declared in this scope; did you mean '__s'?
280 | for (std::size_t __i = 0; __i < __n; ++__i)
| ^~~
| __s
/usr/local/include/c++/12.1.0/bits/char_traits.h:294:21: error: 'size_t' is not a member of 'std'; did you mean 'size_t'?
294 | for (std::size_t __i = 0; __i < __n; ++__i)
| ^~~~~~
/usr/local/lib/gcc/x86_64-linux-gnu/12.1.0/include/stddef.h:214:23: note: 'size_t' declared here
214 | typedef __SIZE_TYPE__ size_t;
| ^~~~~~
/usr/local/include/c++/12.1.0/bits/char_traits.h:294:37: error: '__i' was not declared in this scope; did you mean '__s'?
294 | for (std::size_t __i = 0; __i < __n; ++__i)
| ^~~
| __s
/usr/local/include/c++/12.1.0/bits/char_traits.h: In static member function 'static constexpr void std::char_traits<char>::assign(char_type&, const char_type&)':
/usr/local/include/c++/12.1.0/bits/char_traits.h:351:28: error: no matching function for call to 'construct_at(std::char_traits<char>::char_type*, const std::char_traits<char>::char_type&)'
351 | std::construct_at(__builtin_addressof(__c1), __c2);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/c++/12.1.0/bits/char_traits.h:46:
/usr/local/include/c++/12.1.0/bits/stl_construct.h:94:5: note: candidate: 'template<class _Tp, class ... _Args> constexpr decltype (::new(void*(0)) _Tp) std::construct_at(_Tp*, _Args&& ...)'
94 | construct_at(_Tp* __location, _Args&&... __args)
| ^~~~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/stl_construct.h:94:5: note: template argument deduction/substitution failed:
/usr/local/include/c++/12.1.0/bits/stl_construct.h: In substitution of 'template<class _Tp, class ... _Args> constexpr decltype (::new(void*(0)) _Tp) std::construct_at(_Tp*, _Args&& ...) [with _Tp = char; _Args = {const char&}]':
/usr/local/include/c++/12.1.0/bits/char_traits.h:351:21: required from here
/usr/local/include/c++/12.1.0/bits/stl_construct.h:96:17: error: no matching function for call to 'operator new(sizetype, void*)'
96 | -> decltype(::new((void*)0) _Tp(std::declval<_Args>()...))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<built-in>: note: candidate: 'void* operator new(long unsigned int)'
<built-in>: note: candidate expects 1 argument, 2 provided
<built-in>: note: candidate: 'void* operator new(long unsigned int, std::align_val_t)'
<built-in>: note: no known conversion for argument 2 from 'void*' to 'std::align_val_t'
/usr/local/include/c++/12.1.0/bits/char_traits.h: In static member function 'static constexpr size_t std::char_traits<char>::length(const char_type*)':
/usr/local/include/c++/12.1.0/bits/char_traits.h:393:53: error: 'length' is not a member of '__gnu_cxx::char_traits<char>'
393 | return __gnu_cxx::char_traits<char_type>::length(__s);
| ^~~~~~
/usr/local/include/c++/12.1.0/bits/char_traits.h: In static member function 'static constexpr void std::char_traits<wchar_t>::assign(char_type&, const char_type&)':
/usr/local/include/c++/12.1.0/bits/char_traits.h:489:28: error: no matching function for call to 'construct_at(std::char_traits<wchar_t>::char_type*, const std::char_traits<wchar_t>::char_type&)'
489 | std::construct_at(__builtin_addressof(__c1), __c2);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/stl_construct.h:94:5: note: candidate: 'template<class _Tp, class ... _Args> constexpr decltype (::new(void*(0)) _Tp) std::construct_at(_Tp*, _Args&& ...)'
94 | construct_at(_Tp* __location, _Args&&... __args)
| ^~~~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/stl_construct.h:94:5: note: template argument deduction/substitution failed:
/usr/local/include/c++/12.1.0/bits/stl_construct.h: In substitution of 'template<class _Tp, class ... _Args> constexpr decltype (::new(void*(0)) _Tp) std::construct_at(_Tp*, _Args&& ...) [with _Tp = wchar_t; _Args = {const wchar_t&}]':
/usr/local/include/c++/12.1.0/bits/char_traits.h:489:21: required from here
/usr/local/include/c++/12.1.0/bits/stl_construct.h:96:17: error: no matching function for call to 'operator new(sizetype, void*)'
96 | -> decltype(::new((void*)0) _Tp(std::declval<_Args>()...))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<built-in>: note: candidate: 'void* operator new(long unsigned int)'
<built-in>: note: candidate expects 1 argument, 2 provided
<built-in>: note: candidate: 'void* operator new(long unsigned int, std::align_val_t)'
<built-in>: note: no known conversion for argument 2 from 'void*' to 'std::align_val_t'
/usr/local/include/c++/12.1.0/bits/char_traits.h: In static member function 'static constexpr size_t std::char_traits<wchar_t>::length(const char_type*)':
/usr/local/include/c++/12.1.0/bits/char_traits.h:520:53: error: 'length' is not a member of '__gnu_cxx::char_traits<wchar_t>'
520 | return __gnu_cxx::char_traits<char_type>::length(__s);
| ^~~~~~
/usr/local/include/c++/12.1.0/bits/char_traits.h:522:22: error: call to non-'constexpr' function 'size_t wcslen(const wchar_t*)'
522 | return wcslen(__s);
| ~~~~~~^~~~~
/usr/include/wchar.h:222:15: note: 'size_t wcslen(const wchar_t*)' declared here
222 | extern size_t wcslen (const wchar_t *__s) __THROW __attribute_pure__;
| ^~~~~~
/usr/local/include/c++/12.1.0/bits/char_traits.h: In static member function 'static constexpr void std::char_traits<char8_t>::assign(char_type&, const char_type&)':
/usr/local/include/c++/12.1.0/bits/char_traits.h:617:28: error: no matching function for call to 'construct_at(std::char_traits<char8_t>::char_type*, const std::char_traits<char8_t>::char_type&)'
617 | std::construct_at(__builtin_addressof(__c1), __c2);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/stl_construct.h:94:5: note: candidate: 'template<class _Tp, class ... _Args> constexpr decltype (::new(void*(0)) _Tp) std::construct_at(_Tp*, _Args&& ...)'
94 | construct_at(_Tp* __location, _Args&&... __args)
| ^~~~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/stl_construct.h:94:5: note: template argument deduction/substitution failed:
/usr/local/include/c++/12.1.0/bits/stl_construct.h: In substitution of 'template<class _Tp, class ... _Args> constexpr decltype (::new(void*(0)) _Tp) std::construct_at(_Tp*, _Args&& ...) [with _Tp = char8_t; _Args = {const char8_t&}]':
/usr/local/include/c++/12.1.0/bits/char_traits.h:617:21: required from here
/usr/local/include/c++/12.1.0/bits/stl_construct.h:96:17: error: no matching function for call to 'operator new(sizetype, void*)'
96 | -> decltype(::new((void*)0) _Tp(std::declval<_Args>()...))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<built-in>: note: candidate: 'void* operator new(long unsigned int)'
<built-in>: note: candidate expects 1 argument, 2 provided
<built-in>: note: candidate: 'void* operator new(long unsigned int, std::align_val_t)'
<built-in>: note: no known conversion for argument 2 from 'void*' to 'std::align_val_t'
/usr/local/include/c++/12.1.0/bits/char_traits.h: In static member function 'static constexpr size_t std::char_traits<char8_t>::length(const char_type*)':
/usr/local/include/c++/12.1.0/bits/char_traits.h:648:53: error: 'length' is not a member of '__gnu_cxx::char_traits<char8_t>'
648 | return __gnu_cxx::char_traits<char_type>::length(__s);
| ^~~~~~
/usr/local/include/c++/12.1.0/bits/char_traits.h: In static member function 'static constexpr void std::char_traits<char16_t>::assign(char_type&, const char_type&)':
/usr/local/include/c++/12.1.0/bits/char_traits.h:760:28: error: no matching function for call to 'construct_at(std::char_traits<char16_t>::char_type*, const std::char_traits<char16_t>::char_type&)'
760 | std::construct_at(__builtin_addressof(__c1), __c2);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/stl_construct.h:94:5: note: candidate: 'template<class _Tp, class ... _Args> constexpr decltype (::new(void*(0)) _Tp) std::construct_at(_Tp*, _Args&& ...)'
94 | construct_at(_Tp* __location, _Args&&... __args)
| ^~~~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/stl_construct.h:94:5: note: template argument deduction/substitution failed:
/usr/local/include/c++/12.1.0/bits/stl_construct.h: In substitution of 'template<class _Tp, class ... _Args> constexpr decltype (::new(void*(0)) _Tp) std::construct_at(_Tp*, _Args&& ...) [with _Tp = char16_t; _Args = {const char16_t&}]':
/usr/local/include/c++/12.1.0/bits/char_traits.h:760:21: required from here
/usr/local/include/c++/12.1.0/bits/stl_construct.h:96:17: error: no matching function for call to 'operator new(sizetype, void*)'
96 | -> decltype(::new((void*)0) _Tp(std::declval<_Args>()...))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<built-in>: note: candidate: 'void* operator new(long unsigned int)'
<built-in>: note: candidate expects 1 argument, 2 provided
<built-in>: note: candidate: 'void* operator new(long unsigned int, std::align_val_t)'
<built-in>: note: no known conversion for argument 2 from 'void*' to 'std::align_val_t'
/usr/local/include/c++/12.1.0/bits/char_traits.h: In static member function 'static constexpr void std::char_traits<char32_t>::assign(char_type&, const char_type&)':
/usr/local/include/c++/12.1.0/bits/char_traits.h:881:28: error: no matching function for call to 'construct_at(std::char_traits<char32_t>::char_type*, const std::char_traits<char32_t>::char_type&)'
881 | std::construct_at(__builtin_addressof(__c1), __c2);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/stl_construct.h:94:5: note: candidate: 'template<class _Tp, class ... _Args> constexpr decltype (::new(void*(0)) _Tp) std::construct_at(_Tp*, _Args&& ...)'
94 | construct_at(_Tp* __location, _Args&&... __args)
| ^~~~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/stl_construct.h:94:5: note: template argument deduction/substitution failed:
/usr/local/include/c++/12.1.0/bits/stl_construct.h: In substitution of 'template<class _Tp, class ... _Args> constexpr decltype (::new(void*(0)) _Tp) std::construct_at(_Tp*, _Args&& ...) [with _Tp = char32_t; _Args = {const char32_t&}]':
/usr/local/include/c++/12.1.0/bits/char_traits.h:881:21: required from here
/usr/local/include/c++/12.1.0/bits/stl_construct.h:96:17: error: no matching function for call to 'operator new(sizetype, void*)'
96 | -> decltype(::new((void*)0) _Tp(std::declval<_Args>()...))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<built-in>: note: candidate: 'void* operator new(long unsigned int)'
<built-in>: note: candidate expects 1 argument, 2 provided
<built-in>: note: candidate: 'void* operator new(long unsigned int, std::align_val_t)'
<built-in>: note: no known conversion for argument 2 from 'void*' to 'std::align_val_t'
In file included from /usr/local/include/c++/12.1.0/x86_64-linux-gnu/bits/c++allocator.h:33,
from /usr/local/include/c++/12.1.0/bits/allocator.h:46,
from /usr/local/include/c++/12.1.0/string:41,
from /usr/local/include/c++/12.1.0/bits/locale_classes.h:40,
from /usr/local/include/c++/12.1.0/bits/ios_base.h:41,
from /usr/local/include/c++/12.1.0/ios:42:
/usr/local/include/c++/12.1.0/bits/new_allocator.h: At global scope:
/usr/local/include/c++/12.1.0/bits/new_allocator.h:60:20: error: 'size_t' in namespace 'std' does not name a type
60 | typedef std::size_t size_type;
| ^~~~~~
/usr/local/include/c++/12.1.0/bits/new_allocator.h:61:20: error: 'ptrdiff_t' in namespace 'std' does not name a type
61 | typedef std::ptrdiff_t difference_type;
| ^~~~~~~~~
/usr/local/include/c++/12.1.0/bits/new_allocator.h:112:16: error: 'size_type' has not been declared
112 | allocate(size_type __n, const void* = static_cast<const void*>(0))
| ^~~~~~~~~
/usr/local/include/c++/12.1.0/bits/new_allocator.h:142:28: error: 'size_type' has not been declared
142 | deallocate(_Tp* __p, size_type __n __attribute__ ((__unused__)))
| ^~~~~~~~~
/usr/local/include/c++/12.1.0/bits/new_allocator.h:209:26: error: 'size_type' does not name a type; did you mean 'true_type'?
209 | _GLIBCXX_CONSTEXPR size_type
| ^~~~~~~~~
| true_type
/usr/local/include/c++/12.1.0/bits/new_allocator.h: In member function '_Tp* std::__new_allocator<_Tp>::allocate(int, const void*)':
/usr/local/include/c++/12.1.0/bits/new_allocator.h:124:29: error: 'size_t' is not a member of 'std'; did you mean 'size_t'?
124 | if (__n > (std::size_t(-1) / sizeof(_Tp)))
| ^~~~~~
/usr/local/lib/gcc/x86_64-linux-gnu/12.1.0/include/stddef.h:214:23: note: 'size_t' declared here
214 | typedef __SIZE_TYPE__ size_t;
| ^~~~~~
In file included from /usr/local/include/c++/12.1.0/string:44:
/usr/local/include/c++/12.1.0/bits/ostream_insert.h: At global scope:
/usr/local/include/c++/12.1.0/bits/ostream_insert.h:46:40: error: 'streamsize' has not been declared
46 | const _CharT* __s, streamsize __n)
| ^~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/ostream_insert.h: In function 'void std::__ostream_write(basic_ostream<_CharT, _Traits>&, const _CharT*, int)':
/usr/local/include/c++/12.1.0/bits/ostream_insert.h:51:13: error: 'streamsize' does not name a type
51 | const streamsize __put = __out.rdbuf()->sputn(__s, __n);
| ^~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/ostream_insert.h:52:11: error: '__put' was not declared in this scope; did you mean '__out'?
52 | if (__put != __n)
| ^~~~~
| __out
/usr/local/include/c++/12.1.0/bits/ostream_insert.h: At global scope:
/usr/local/include/c++/12.1.0/bits/ostream_insert.h:58:59: error: 'streamsize' has not been declared
58 | __ostream_fill(basic_ostream<_CharT, _Traits>& __out, streamsize __n)
| ^~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/ostream_insert.h:78:41: error: 'streamsize' has not been declared
78 | const _CharT* __s, streamsize __n)
| ^~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/ostream_insert.h: In function 'std::basic_ostream<_CharT, _Traits>& std::__ostream_insert(basic_ostream<_CharT, _Traits>&, const _CharT*, int)':
/usr/local/include/c++/12.1.0/bits/ostream_insert.h:88:21: error: 'streamsize' does not name a type
88 | const streamsize __w = __out.width();
| ^~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/ostream_insert.h:89:19: error: '__w' was not declared in this scope; did you mean '__s'?
89 | if (__w > __n)
| ^~~
| __s
/usr/local/include/c++/12.1.0/bits/ostream_insert.h: At global scope:
/usr/local/include/c++/12.1.0/bits/ostream_insert.h:119:68: error: 'streamsize' has not been declared
119 | extern template ostream& __ostream_insert(ostream&, const char*, streamsize);
| ^~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/ostream_insert.h:123:46: error: 'streamsize' has not been declared
123 | streamsize);
| ^~~~~~~~~~
In file included from /usr/local/include/c++/12.1.0/bits/stl_iterator.h:65,
from /usr/local/include/c++/12.1.0/string:47:
/usr/local/include/c++/12.1.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)
| ^
/usr/local/include/c++/12.1.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)
| ^~~~~~~~~~~~~~~~~
/usr/local/include/c++/12.1.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)
| ^~~~~~~~~
/usr/local/lib/gcc/x86_64-linux-gnu/12.1.0/include/stddef.h:442:29: note: 'nullptr_t' declared here
442 | typedef decltype(nullptr) nullptr_t;
| ^~~~~~~~~
In file included from /usr/local/include/c++/12.1.0/ext/alloc_traits.h:34,
from /usr/local/include/c++/12.1.0/bits/basic_string.h:40,
from /usr/local/include/c++/12.1.0/string:53:
/usr/local/include/c++/12.1.0/bits/alloc_traits.h:432:36: error: 'ptrdiff_t' in namespace 'std' does not name a type
432 | using difference_type = std::ptrdiff_t;
| ^~~~~~~~~
/usr/local/include/c++/12.1.0/bits/alloc_traits.h:435:30: error: 'size_t' in namespace 'std' does not name a type; did you mean 'size'?
435 | using size_type = std::size_t;
| ^~~~~~
| size
/usr/local/include/c++/12.1.0/bits/alloc_traits.h:463:37: error: 'size_type' has not been declared
463 | allocate(allocator_type& __a, size_type __n)
| ^~~~~~~~~
/usr/local/include/c++/12.1.0/bits/alloc_traits.h:477:37: error: 'size_type' has not been declared
477 | allocate(allocator_type& __a, size_type __n, const_void_pointer __hint)
| ^~~~~~~~~
/usr/local/include/c++/12.1.0/bits/alloc_traits.h:495:52: error: 'size_type' has not been declared
495 | deallocate(allocator_type& __a, pointer __p, size_type __n)
| ^~~~~~~~~
/usr/local/include/c++/12.1.0/bits/alloc_traits.h:546:35: error: 'size_type' does not name a type; did you mean 'true_type'?
546 | static _GLIBCXX20_CONSTEXPR size_type
| ^~~~~~~~~
| true_type
/usr/local/include/c++/12.1.0/bits/alloc_traits.h:589:36: error: 'ptrdiff_t' in namespace 'std' does not name a type
589 | using difference_type = std::ptrdiff_t;
| ^~~~~~~~~
/usr/local/include/c++/12.1.0/bits/alloc_traits.h:592:30: error: 'size_t' in namespace 'std' does not name a type; did you mean 'size'?
592 | using size_type = std::size_t;
| ^~~~~~
| size
/usr/local/include/c++/12.1.0/bits/alloc_traits.h:614:33: error: 'size_type' has not been declared
614 | allocate(allocator_type&, size_type, const void* = nullptr) = delete;
| ^~~~~~~~~
/usr/local/include/c++/12.1.0/bits/alloc_traits.h:618:42: error: 'size_type' has not been declared
618 | deallocate(allocator_type&, void*, size_type) = delete;
| ^~~~~~~~~
/usr/local/include/c++/12.1.0/bits/alloc_traits.h:651:14: error: 'size_type' does not name a type; did you mean 'true_type'?
651 | static size_type
| ^~~~~~~~~
| true_type
In file included from /usr/local/include/c++/12.1.0/bits/basic_string.h:3960:
/usr/local/include/c++/12.1.0/ext/string_conversions.h:55:53: error: 'std::size_t' has not been declared
55 | const char* __name, const _CharT* __str, std::size_t* __idx,
| ^~~
/usr/local/include/c++/12.1.0/ext/string_conversions.h:99:43: error: 'std::size_t' has not been declared
99 | __to_xstring(int (*__convf) (_CharT*, std::size_t, const _CharT*,
| ^~~
/usr/local/include/c++/12.1.0/ext/string_conversions.h:100:54: error: 'std::size_t' has not been declared
100 | __builtin_va_list), std::size_t __n,
| ^~~
/usr/local/include/c++/12.1.0/ext/alloc_traits.h: In instantiation of 'struct __gnu_cxx::__alloc_traits<std::allocator<char>, char>':
/usr/local/include/c++/12.1.0/bits/basic_string.h:89:24: required from 'class std::__cxx11::basic_string<char>'
/usr/local/include/c++/12.1.0/bits/basic_string.h:3972:68: required from here
/usr/local/include/c++/12.1.0/ext/alloc_traits.h:59:53: error: no type named 'size_type' in 'struct std::allocator_traits<std::allocator<char> >'
59 | typedef typename _Base_type::size_type size_type;
| ^~~~~~~~~
/usr/local/include/c++/12.1.0/ext/alloc_traits.h:60:53: error: no type named 'difference_type' in 'struct std::allocator_traits<std::allocator<char> >'
60 | typedef typename _Base_type::difference_type difference_type;
| ^~~~~~~~~~~~~~~
/usr/local/include/c++/12.1.0/ext/alloc_traits.h:68:23: error: 'max_size' has not been declared in '__gnu_cxx::__alloc_traits<std::allocator<char>, char>::_Base_type'
68 | using _Base_type::max_size;
| ^~~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h: In function 'int std::__cxx11::stoi(const std::string&, size_t*, int)':
/usr/local/include/c++/12.1.0/bits/basic_string.h:3972: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&)'
3972 | { return __gnu_cxx::__stoa<long, int>(&std::strtol, "stoi", __str.c_str(),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3973 | __idx, __base); }
| ~~~~~~~~~~~~~~
/usr/local/include/c++/12.1.0/ext/string_conversions.h:54: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 ...)'
54 | __stoa(_TRet (*__convf) (const _CharT*, _CharT**, _Base...),
| ^~~~~~
/usr/local/include/c++/12.1.0/ext/string_conversions.h:54:5: note: template argument deduction/substitution failed:
/usr/local/include/c++/12.1.0/bits/basic_string.h:3973:41: note: cannot convert '__idx' (type 'size_t*' {aka 'long unsigned int*'}) to type 'int*'
3973 | __idx, __base); }
| ^~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h: In function 'long int std::__cxx11::stol(const std::string&, size_t*, int)':
/usr/local/include/c++/12.1.0/bits/basic_string.h:3977:29: error: no matching function for call to '__stoa(long int (*)(const char*, char**, int) noexcept, const char [5], const char*, size_t*&, int&)'
3977 | { return __gnu_cxx::__stoa(&std::strtol, "stol", __str.c_str(),
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3978 | __idx, __base); }
| ~~~~~~~~~~~~~~
/usr/local/include/c++/12.1.0/ext/string_conversions.h:54: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 ...)'
54 | __stoa(_TRet (*__convf) (const _CharT*, _CharT**, _Base...),
| ^~~~~~
/usr/local/include/c++/12.1.0/ext/string_conversions.h:54:5: note: template argument deduction/substitution failed:
/usr/local/include/c++/12.1.0/bits/basic_string.h:3978:30: note: cannot convert '__idx' (type 'size_t*' {aka 'long unsigned int*'}) to type 'int*'
3978 | __idx, __base); }
| ^~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h: In function 'long unsigned int std::__cxx11::stoul(const std::string&, size_t*, int)':
/usr/local/include/c++/12.1.0/bits/basic_string.h:3982: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&)'
3982 | { return __gnu_cxx::__stoa(&std::strtoul, "stoul", __str.c_str(),
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3983 | __idx, __base); }
| ~~~~~~~~~~~~~~
/usr/local/include/c++/12.1.0/ext/string_conversions.h:54: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 ...)'
54 | __stoa(_TRet (*__convf) (const _CharT*, _CharT**, _Base...),
| ^~~~~~
/usr/local/include/c++/12.1.0/ext/string_conversions.h:54:5: note: template argument deduction/substitution failed:
/usr/local/include/c++/12.1.0/bits/basic_string.h:3983:30: note: cannot convert '__idx' (type 'size_t*' {aka 'long unsigned int*'}) to type 'int*'
3983 | __idx, __base); }
| ^~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h: In function 'long long int std::__cxx11::stoll(const std::string&, size_t*, int)':
/usr/local/include/c++/12.1.0/bits/basic_string.h:3987: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&)'
3987 | { return __gnu_cxx::__stoa(&std::strtoll, "stoll", __str.c_str(),
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3988 | __idx, __base); }
| ~~~~~~~~~~~~~~
/usr/local/include/c++/12.1.0/ext/string_conversions.h:54: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 ...)'
54 | __stoa(_TRet (*__convf) (const _CharT*, _CharT**, _Base...),
| ^~~~~~
/usr/local/include/c++/12.1.0/ext/string_conversions.h:54:5: note: template argument deduction/substitution failed:
/usr/local/include/c++/12.1.0/bits/basic_string.h:3988:30: note: cannot convert '__idx' (type 'size_t*' {aka 'long unsigned int*'}) to type 'int*'
3988 | __idx, __base); }
| ^~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h: In function 'long long unsigned int std::__cxx11::stoull(const std::string&, size_t*, int)':
/usr/local/include/c++/12.1.0/bits/basic_string.h:3992: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&)'
3992 | { return __gnu_cxx::__stoa(&std::strtoull, "stoull", __str.c_str(),
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3993 | __idx, __base); }
| ~~~~~~~~~~~~~~
/usr/local/include/c++/12.1.0/ext/string_conversions.h:54: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 ...)'
54 | __stoa(_TRet (*__convf) (const _CharT*, _CharT**, _Base...),
| ^~~~~~
/usr/local/include/c++/12.1.0/ext/string_conversions.h:54:5: note: template argument deduction/substitution failed:
/usr/local/include/c++/12.1.0/bits/basic_string.h:3993:30: note: cannot convert '__idx' (type 'size_t*' {aka 'long unsigned int*'}) to type 'int*'
3993 | __idx, __base); }
| ^~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h: In function 'float std::__cxx11::stof(const std::string&, size_t*)':
/usr/local/include/c++/12.1.0/bits/basic_string.h:3998:29: error: no matching function for call to '__stoa(float (*)(const char*, char**) noexcept, const char [5], const char*, size_t*&)'
3998 | { return __gnu_cxx::__stoa(&std::strtof, "stof", __str.c_str(), __idx); }
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/c++/12.1.0/ext/string_conversions.h:54: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 ...)'
54 | __stoa(_TRet (*__convf) (const _CharT*, _CharT**, _Base...),
| ^~~~~~
/usr/local/include/c++/12.1.0/ext/string_conversions.h:54:5: note: template argument deduction/substitution failed:
/usr/local/include/c++/12.1.0/bits/basic_string.h:3998:67: note: cannot convert '__idx' (type 'size_t*' {aka 'long unsigned int*'}) to type 'int*'
3998 | { return __gnu_cxx::__stoa(&std::strtof, "stof", __str.c_str(), __idx); }
| ^~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h: In function 'double std::__cxx11::stod(const std::string&, size_t*)':
/usr/local/include/c++/12.1.0/bits/basic_string.h:4002:29: error: no matching function for call to '__stoa(double (*)(const char*, char**) noexcept, const char [5], const char*, size_t*&'
4002 | { return __gnu_cxx::__stoa(&std::strtod, "stod", __str.c_str(), __idx); }
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/c++/12.1.0/ext/string_conversions.h:54: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 ...)'
54 | __stoa(_TRet (*__convf) (const _CharT*, _CharT**, _Base...),
| ^~~~~~
/usr/local/include/c++/12.1.0/ext/string_conversions.h:54:5: note: template argument deduction/substitution failed:
/usr/local/include/c++/12.1.0/bits/basic_string.h:4002:67: note: cannot convert '__idx' (type 'size_t*' {aka 'long unsigned int*'}) to type 'int*'
4002 | { return __gnu_cxx::__stoa(&std::strtod, "stod", __str.c_str(), __idx); }
| ^~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h: In function 'long double std::__cxx11::stold(const std::string&, size_t*)':
/usr/local/include/c++/12.1.0/bits/basic_string.h:4006:29: error: no matching function for call to '__stoa(long double (*)(const char*, char**) noexcept, const char [6], const char*, size_t*&)'
4006 | { return __gnu_cxx::__stoa(&std::strtold, "stold", __str.c_str(), __idx); }
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/c++/12.1.0/ext/string_conversions.h:54: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 ...)'
54 | __stoa(_TRet (*__convf) (const _CharT*, _CharT**, _Base...),
| ^~~~~~
/usr/local/include/c++/12.1.0/ext/string_conversions.h:54:5: note: template argument deduction/substitution failed:
/usr/local/include/c++/12.1.0/bits/basic_string.h:4006:69: note: cannot convert '__idx' (type 'size_t*' {aka 'long unsigned int*'}) to type 'int*'
4006 | { return __gnu_cxx::__stoa(&std::strtold, "stold", __str.c_str(), __idx); }
| ^~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h: In function 'std::string std::__cxx11::to_string(int)':
/usr/local/include/c++/12.1.0/bits/basic_string.h:4020:36: error: no matching function for call to 'std::__cxx11::basic_string<char>::basic_string(unsigned int, char)'
4020 | string __str(__neg + __len, '-');
| ^
/usr/local/include/c++/12.1.0/bits/basic_string.h:786:9: note: candidate: 'template<class _Tp, class> constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Tp&, const _Alloc&) [with <template-parameter-2-2> = _Tp; _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
786 | basic_string(const _Tp& __t, const _Alloc& __a = _Alloc())
| ^~~~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:786:9: note: template argument deduction/substitution failed:
/usr/local/include/c++/12.1.0/type_traits: In substitution of 'template<bool _Cond, class _Tp> using enable_if_t = typename std::enable_if::type [with bool _Cond = false; _Tp = void]':
/usr/local/include/c++/12.1.0/bits/basic_string.h:156:8: required by substitution of 'template<class _CharT, class _Traits, class _Alloc> template<class _Tp, class _Res> using _If_sv = std::enable_if_t<std::__and_<std::is_convertible<const _Tp&, std::basic_string_view<_CharT, _Traits> >, std::__not_<std::is_convertible<const _Tp*, const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>*> >, std::__not_<std::is_convertible<const _Tp&, const _CharT*> > >::value, _Res> [with _Tp = unsigned int; _Res = void; _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
/usr/local/include/c++/12.1.0/bits/basic_string.h:783:30: required from here
/usr/local/include/c++/12.1.0/type_traits:2614:11: error: no type named 'type' in 'struct std::enable_if<false, void>'
2614 | using enable_if_t = typename enable_if<_Cond, _Tp>::type;
| ^~~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:751:9: note: candidate: 'template<class _InputIterator, class> constexpr 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>]'
751 | basic_string(_InputIterator __beg, _InputIterator __end,
| ^~~~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:751:9: note: template argument deduction/substitution failed:
/usr/local/include/c++/12.1.0/bits/basic_string.h:4020:36: note: deduced conflicting types for parameter '_InputIterator' ('unsigned int' and 'char')
4020 | string __str(__neg + __len, '-');
| ^
/usr/local/include/c++/12.1.0/bits/basic_string.h:634:7: note: candidate: 'template<class> constexpr 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>]'
634 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc())
| ^~~~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:634:7: note: template argument deduction/substitution failed:
/usr/local/include/c++/12.1.0/bits/basic_string.h:4020:24: note: cannot convert '(((unsigned int)((int)__neg)) + ((unsigned int)__len))' (type 'unsigned int') to type 'const char*'
4020 | string __str(__neg + __len, '-');
| ~~~~~~^~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:708:7: note: candidate: 'constexpr 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>]'
708 | basic_string(basic_string&& __str, const _Alloc& __a)
| ^~~~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:708:35: note: no known conversion for argument 1 from 'unsigned int' to 'std::__cxx11::basic_string<char>&&'
708 | basic_string(basic_string&& __str, const _Alloc& __a)
| ~~~~~~~~~~~~~~~^~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:703:7: note: candidate: 'constexpr 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>]'
703 | basic_string(const basic_string& __str, const _Alloc& __a)
| ^~~~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:703:40: note: no known conversion for argument 1 from 'unsigned int' to 'const std::__cxx11::basic_string<char>&'
703 | basic_string(const basic_string& __str, const _Alloc& __a)
| ~~~~~~~~~~~~~~~~~~~~^~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:698:7: note: candidate: 'constexpr 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>]'
698 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc())
| ^~~~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:698:45: note: no known conversion for argument 1 from 'unsigned int' to 'std::initializer_list<char>'
698 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc())
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:670:7: note: candidate: 'constexpr 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>]'
670 | basic_string(basic_string&& __str) noexcept
| ^~~~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:670:7: note: candidate expects 1 argument, 2 provided
/usr/local/include/c++/12.1.0/bits/basic_string.h:540:7: note: candidate: 'constexpr 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>]'
540 | basic_string(const basic_string& __str)
| ^~~~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:540:7: note: candidate expects 1 argument, 2 provided
/usr/local/include/c++/12.1.0/bits/basic_string.h:528:7: note: candidate: 'constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
528 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT
| ^~~~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:528:7: note: candidate expects 1 argument, 2 provided
/usr/local/include/c++/12.1.0/bits/basic_string.h:515:7: note: candidate: 'constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string() [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
515 | basic_string()
| ^~~~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:515:7: note: candidate expects 0 arguments, 2 provided
/usr/local/include/c++/12.1.0/bits/basic_string.h:188:7: note: candidate: 'constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(__sv_wrapper, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
188 | basic_string(__sv_wrapper __svw, const _Alloc& __a)
| ^~~~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:188:33: note: no known conversion for argument 1 from 'unsigned int' to 'std::__cxx11::basic_string<char>::__sv_wrapper'
188 | basic_string(__sv_wrapper __svw, const _Alloc& __a)
| ~~~~~~~~~~~~~^~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:4021:40: error: no match for 'operator[]' (operand types are 'std::string' {aka 'std::__cxx11::basic_string<char>'} and 'const bool')
4021 | __detail::__to_chars_10_impl(&__str[__neg], __len, __uval);
| ^
/usr/local/include/c++/12.1.0/bits/basic_string.h: In function 'std::string std::__cxx11::to_string(unsigned int)':
/usr/local/include/c++/12.1.0/bits/basic_string.h:4031:55: error: no matching function for call to 'std::__cxx11::basic_string<char>::basic_string(unsigned int, char)'
4031 | string __str(__detail::__to_chars_len(__val), '\0');
| ^
/usr/local/include/c++/12.1.0/bits/basic_string.h:786:9: note: candidate: 'template<class _Tp, class> constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Tp&, const _Alloc&) [with <template-parameter-2-2> = _Tp; _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
786 | basic_string(const _Tp& __t, const _Alloc& __a = _Alloc())
| ^~~~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:786:9: note: template argument deduction/substitution failed:
/usr/local/include/c++/12.1.0/bits/basic_string.h:751:9: note: candidate: 'template<class _InputIterator, class> constexpr 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>]'
751 | basic_string(_InputIterator __beg, _InputIterator __end,
| ^~~~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:751:9: note: template argument deduction/substitution failed:
/usr/local/include/c++/12.1.0/bits/basic_string.h:4031:55: note: deduced conflicting types for parameter '_InputIterator' ('unsigned int' and 'char')
4031 | string __str(__detail::__to_chars_len(__val), '\0');
| ^
/usr/local/include/c++/12.1.0/bits/basic_string.h:634:7: note: candidate: 'template<class> constexpr 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>]'
634 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc())
| ^~~~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:634:7: note: template argument deduction/substitution failed:
/usr/local/include/c++/12.1.0/bits/basic_string.h:4031:42: note: cannot convert 'std::__detail::__to_chars_len<unsigned int>(__val, 10)' (type 'unsigned int') to type 'const char*'
4031 | string __str(__detail::__to_chars_len(__val), '\0');
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:708:7: note: candidate: 'constexpr 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>]'
708 | basic_string(basic_string&& __str, const _Alloc& __a)
| ^~~~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:708:35: note: no known conversion for argument 1 from 'unsigned int' to 'std::__cxx11::basic_string<char>&&'
708 | basic_string(basic_string&& __str, const _Alloc& __a)
| ~~~~~~~~~~~~~~~^~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:703:7: note: candidate: 'constexpr 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>]'
703 | basic_string(const basic_string& __str, const _Alloc& __a)
| ^~~~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:703:40: note: no known conversion for argument 1 from 'unsigned int' to 'const std::__cxx11::basic_string<char>&'
703 | basic_string(const basic_string& __str, const _Alloc& __a)
| ~~~~~~~~~~~~~~~~~~~~^~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:698:7: note: candidate: 'constexpr 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>]'
698 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc())
| ^~~~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:698:45: note: no known conversion for argument 1 from 'unsigned int' to 'std::initializer_list<char>'
698 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc())
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:670:7: note: candidate: 'constexpr 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>]'
670 | basic_string(basic_string&& __str) noexcept
| ^~~~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:670:7: note: candidate expects 1 argument, 2 provided
/usr/local/include/c++/12.1.0/bits/basic_string.h:540:7: note: candidate: 'constexpr 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>]'
540 | basic_string(const basic_string& __str)
| ^~~~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:540:7: note: candidate expects 1 argument, 2 provided
/usr/local/include/c++/12.1.0/bits/basic_string.h:528:7: note: candidate: 'constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
528 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT
| ^~~~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:528:7: note: candidate expects 1 argument, 2 provided
/usr/local/include/c++/12.1.0/bits/basic_string.h:515:7: note: candidate: 'constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string() [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
515 | basic_string()
| ^~~~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:515:7: note: candidate expects 0 arguments, 2 provided
/usr/local/include/c++/12.1.0/bits/basic_string.h:188:7: note: candidate: 'constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(__sv_wrapper, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
188 | basic_string(__sv_wrapper __svw, const _Alloc& __a)
| ^~~~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:188:33: note: no known conversion for argument 1 from 'unsigned int' to 'std::__cxx11::basic_string<char>::__sv_wrapper'
188 | basic_string(__sv_wrapper __svw, const _Alloc& __a)
| ~~~~~~~~~~~~~^~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:4032:40: error: no match for 'operator[]' (operand types are 'std::string' {aka 'std::__cxx11::basic_string<char>'} and 'int')
4032 | __detail::__to_chars_10_impl(&__str[0], __str.size(), __val);
| ^
/usr/local/include/c++/12.1.0/bits/basic_string.h:4032:51: error: 'std::string' {aka 'class std::__cxx11::basic_string<char>'} has no member named 'size'
4032 | __detail::__to_chars_10_impl(&__str[0], __str.size(), __val);
| ^~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h: In function 'std::string std::__cxx11::to_string(long int)':
/usr/local/include/c++/12.1.0/bits/basic_string.h:4045:36: error: no matching function for call to 'std::__cxx11::basic_string<char>::basic_string(unsigned int, char)'
4045 | string __str(__neg + __len, '-');
| ^
/usr/local/include/c++/12.1.0/bits/basic_string.h:786:9: note: candidate: 'template<class _Tp, class> constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Tp&, const _Alloc&) [with <template-parameter-2-2> = _Tp; _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
786 | basic_string(const _Tp& __t, const _Alloc& __a = _Alloc())
| ^~~~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:786:9: note: template argument deduction/substitution failed:
/usr/local/include/c++/12.1.0/bits/basic_string.h:751:9: note: candidate: 'template<class _InputIterator, class> constexpr 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>]'
751 | basic_string(_InputIterator __beg, _InputIterator __end,
| ^~~~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:751:9: note: template argument deduction/substitution failed:
/usr/local/include/c++/12.1.0/bits/basic_string.h:4045:36: note: deduced conflicting types for parameter '_InputIterator' ('unsigned int' and 'char')
4045 | string __str(__neg + __len, '-');
| ^
/usr/local/include/c++/12.1.0/bits/basic_string.h:634:7: note: candidate: 'template<class> constexpr 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>]'
634 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc())
| ^~~~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:634:7: note: template argument deduction/substitution failed:
/usr/local/include/c++/12.1.0/bits/basic_string.h:4045:24: note: cannot convert '(((unsigned int)((int)__neg)) + ((unsigned int)__len))' (type 'unsigned int') to type 'const char*'
4045 | string __str(__neg + __len, '-');
| ~~~~~~^~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:708:7: note: candidate: 'constexpr 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>]'
708 | basic_string(basic_string&& __str, const _Alloc& __a)
| ^~~~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:708:35: note: no known conversion for argument 1 from 'unsigned int' to 'std::__cxx11::basic_string<char>&&'
708 | basic_string(basic_string&& __str, const _Alloc& __a)
| ~~~~~~~~~~~~~~~^~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:703:7: note: candidate: 'constexpr 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>]'
703 | basic_string(const basic_string& __str, const _Alloc& __a)
| ^~~~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:703:40: note: no known conversion for argument 1 from 'unsigned int' to 'const std::__cxx11::basic_string<char>&'
703 | basic_string(const basic_string& __str, const _Alloc& __a)
| ~~~~~~~~~~~~~~~~~~~~^~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:698:7: note: candidate: 'constexpr 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>]'
698 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc())
| ^~~~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:698:45: note: no known conversion for argument 1 from 'unsigned int' to 'std::initializer_list<char>'
698 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc())
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:670:7: note: candidate: 'constexpr 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>]'
670 | basic_string(basic_string&& __str) noexcept
| ^~~~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:670:7: note: candidate expects 1 argument, 2 provided
/usr/local/include/c++/12.1.0/bits/basic_string.h:540:7: note: candidate: 'constexpr 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>]'
540 | basic_string(const basic_string& __str)
| ^~~~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:540:7: note: candidate expects 1 argument, 2 provided
/usr/local/include/c++/12.1.0/bits/basic_string.h:528:7: note: candidate: 'constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
528 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT
| ^~~~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:528:7: note: candidate expects 1 argument, 2 provided
/usr/local/include/c++/12.1.0/bits/basic_string.h:515:7: note: candidate: 'constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string() [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
515 | basic_string()
| ^~~~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:515:7: note: candidate expects 0 arguments, 2 provided
/usr/local/include/c++/12.1.0/bits/basic_string.h:188:7: note: candidate: 'constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(__sv_wrapper, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
188 | basic_string(__sv_wrapper __svw, const _Alloc& __a)
| ^~~~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:188:33: note: no known conversion for argument 1 from 'unsigned int' to 'std::__cxx11::basic_string<char>::__sv_wrapper'
188 | basic_string(__sv_wrapper __svw, const _Alloc& __a)
| ~~~~~~~~~~~~~^~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:4046:40: error: no match for 'operator[]' (operand types are 'std::string' {aka 'std::__cxx11::basic_string<char>'} and 'const bool')
4046 | __detail::__to_chars_10_impl(&__str[__neg], __len, __uval);
| ^
/usr/local/include/c++/12.1.0/bits/basic_string.h: In function 'std::string std::__cxx11::to_string(long unsigned int)':
/usr/local/include/c++/12.1.0/bits/basic_string.h:4056:55: error: no matching function for call to 'std::__cxx11::basic_string<char>::basic_string(unsigned int, char)'
4056 | string __str(__detail::__to_chars_len(__val), '\0');
| ^
/usr/local/include/c++/12.1.0/bits/basic_string.h:786:9: note: candidate: 'template<class _Tp, class> constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Tp&, const _Alloc&) [with <template-parameter-2-2> = _Tp; _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
786 | basic_string(const _Tp& __t, const _Alloc& __a = _Alloc())
| ^~~~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:786:9: note: template argument deduction/substitution failed:
/usr/local/include/c++/12.1.0/bits/basic_string.h:751:9: note: candidate: 'template<class _InputIterator, class> constexpr 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>]'
751 | basic_string(_InputIterator __beg, _InputIterator __end,
| ^~~~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:751:9: note: template argument deduction/substitution failed:
/usr/local/include/c++/12.1.0/bits/basic_string.h:4056:55: note: deduced conflicting types for parameter '_InputIterator' ('unsigned int' and 'char')
4056 | string __str(__detail::__to_chars_len(__val), '\0');
| ^
/usr/local/include/c++/12.1.0/bits/basic_string.h:634:7: note: candidate: 'template<class> constexpr 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>]'
634 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc())
| ^~~~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:634:7: note: template argument deduction/substitution failed:
/usr/local/include/c++/12.1.0/bits/basic_string.h:4056:42: note: cannot convert 'std::__detail::__to_chars_len<long unsigned int>(__val, 10)' (type 'unsigned int') to type 'const char*'
4056 | string __str(__detail::__to_chars_len(__val), '\0');
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:708:7: note: candidate: 'constexpr 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>]'
708 | basic_string(basic_string&& __str, const _Alloc& __a)
| ^~~~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:708:35: note: no known conversion for argument 1 from 'unsigned int' to 'std::__cxx11::basic_string<char>&&'
708 | basic_string(basic_string&& __str, const _Alloc& __a)
| ~~~~~~~~~~~~~~~^~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:703:7: note: candidate: 'constexpr 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>]'
703 | basic_string(const basic_string& __str, const _Alloc& __a)
| ^~~~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:703:40: note: no known conversion for argument 1 from 'unsigned int' to 'const std::__cxx11::basic_string<char>&'
703 | basic_string(const basic_string& __str, const _Alloc& __a)
| ~~~~~~~~~~~~~~~~~~~~^~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:698:7: note: candidate: 'constexpr 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>]'
698 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc())
| ^~~~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:698:45: note: no known conversion for argument 1 from 'unsigned int' to 'std::initializer_list<char>'
698 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc())
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:670:7: note: candidate: 'constexpr 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>]'
670 | basic_string(basic_string&& __str) noexcept
| ^~~~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:670:7: note: candidate expects 1 argument, 2 provided
/usr/local/include/c++/12.1.0/bits/basic_string.h:540:7: note: candidate: 'constexpr 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>]'
540 | basic_string(const basic_string& __str)
| ^~~~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:540:7: note: candidate expects 1 argument, 2 provided
/usr/local/include/c++/12.1.0/bits/basic_string.h:528:7: note: candidate: 'constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
528 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT
| ^~~~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:528:7: note: candidate expects 1 argument, 2 provided
/usr/local/include/c++/12.1.0/bits/basic_string.h:515:7: note: candidate: 'constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string() [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
515 | basic_string()
| ^~~~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:515:7: note: candidate expects 0 arguments, 2 provided
/usr/local/include/c++/12.1.0/bits/basic_string.h:188:7: note: candidate: 'constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(__sv_wrapper, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
188 | basic_string(__sv_wrapper __svw, const _Alloc& __a)
| ^~~~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:188:33: note: no known conversion for argument 1 from 'unsigned int' to 'std::__cxx11::basic_string<char>::__sv_wrapper'
188 | basic_string(__sv_wrapper __svw, const _Alloc& __a)
| ~~~~~~~~~~~~~^~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:4057:40: error: no match for 'operator[]' (operand types are 'std::string' {aka 'std::__cxx11::basic_string<char>'} and 'int')
4057 | __detail::__to_chars_10_impl(&__str[0], __str.size(), __val);
| ^
/usr/local/include/c++/12.1.0/bits/basic_string.h:4057:51: error: 'std::string' {aka 'class std::__cxx11::basic_string<char>'} has no member named 'size'
4057 | __detail::__to_chars_10_impl(&__str[0], __str.size(), __val);
| ^~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h: In function 'std::string std::__cxx11::to_string(long long int)':
/usr/local/include/c++/12.1.0/bits/basic_string.h:4068:36: error: no matching function for call to 'std::__cxx11::basic_string<char>::basic_string(unsigned int, char)'
4068 | string __str(__neg + __len, '-');
| ^
/usr/local/include/c++/12.1.0/bits/basic_string.h:786:9: note: candidate: 'template<class _Tp, class> constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Tp&, const _Alloc&) [with <template-parameter-2-2> = _Tp; _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
786 | basic_string(const _Tp& __t, const _Alloc& __a = _Alloc())
| ^~~~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:786:9: note: template argument deduction/substitution failed:
/usr/local/include/c++/12.1.0/bits/basic_string.h:751:9: note: candidate: 'template<class _InputIterator, class> constexpr 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>]'
751 | basic_string(_InputIterator __beg, _InputIterator __end,
| ^~~~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:751:9: note: template argument deduction/substitution failed:
/usr/local/include/c++/12.1.0/bits/basic_string.h:4068:36: note: deduced conflicting types for parameter '_InputIterator' ('unsigned int' and 'char')
4068 | string __str(__neg + __len, '-');
| ^
/usr/local/include/c++/12.1.0/bits/basic_string.h:634:7: note: candidate: 'template<class> constexpr 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>]'
634 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc())
| ^~~~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:634:7: note: template argument deduction/substitution failed:
/usr/local/include/c++/12.1.0/bits/basic_string.h:4068:24: note: cannot convert '(((unsigned int)((int)__neg)) + ((unsigned int)__len))' (type 'unsigned int') to type 'const char*'
4068 | string __str(__neg + __len, '-');
| ~~~~~~^~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:708:7: note: candidate: 'constexpr 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>]'
708 | basic_string(basic_string&& __str, const _Alloc& __a)
| ^~~~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:708:35: note: no known conversion for argument 1 from 'unsigned int' to 'std::__cxx11::basic_string<char>&&'
708 | basic_string(basic_string&& __str, const _Alloc& __a)
| ~~~~~~~~~~~~~~~^~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:703:7: note: candidate: 'constexpr 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>]'
703 | basic_string(const basic_string& __str, const _Alloc& __a)
| ^~~~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:703:40: note: no known conversion for argument 1 from 'unsigned int' to 'const std::__cxx11::basic_string<char>&'
703 | basic_string(const basic_string& __str, const _Alloc& __a)
| ~~~~~~~~~~~~~~~~~~~~^~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:698:7: note: candidate: 'constexpr 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>]'
698 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc())
| ^~~~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:698:45: note: no known conversion for argument 1 from 'unsigned int' to 'std::initializer_list<char>'
698 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc())
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:670:7: note: candidate: 'constexpr 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>]'
670 | basic_string(basic_string&& __str) noexcept
| ^~~~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:670:7: note: candidate expects 1 argument, 2 provided
/usr/local/include/c++/12.1.0/bits/basic_string.h:540:7: note: candidate: 'constexpr 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>]'
540 | basic_string(const basic_string& __str)
| ^~~~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:540:7: note: candidate expects 1 argument, 2 provided
/usr/local/include/c++/12.1.0/bits/basic_string.h:528:7: note: candidate: 'constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
528 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT
| ^~~~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:528:7: note: candidate expects 1 argument, 2 provided
/usr/local/include/c++/12.1.0/bits/basic_string.h:515:7: note: candidate: 'constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string() [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
515 | basic_string()
| ^~~~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:515:7: note: candidate expects 0 arguments, 2 provided
/usr/local/include/c++/12.1.0/bits/basic_string.h:188:7: note: candidate: 'constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(__sv_wrapper, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
188 | basic_string(__sv_wrapper __svw, const _Alloc& __a)
| ^~~~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:188:33: note: no known conversion for argument 1 from 'unsigned int' to 'std::__cxx11::basic_string<char>::__sv_wrapper'
188 | basic_string(__sv_wrapper __svw, const _Alloc& __a)
| ~~~~~~~~~~~~~^~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:4069:40: error: no match for 'operator[]' (operand types are 'std::string' {aka 'std::__cxx11::basic_string<char>'} and 'const bool')
4069 | __detail::__to_chars_10_impl(&__str[__neg], __len, __uval);
| ^
/usr/local/include/c++/12.1.0/bits/basic_string.h: In function 'std::string std::__cxx11::to_string(long long unsigned int)':
/usr/local/include/c++/12.1.0/bits/basic_string.h:4076:55: error: no matching function for call to 'std::__cxx11::basic_string<char>::basic_string(unsigned int, char)'
4076 | string __str(__detail::__to_chars_len(__val), '\0');
| ^
/usr/local/include/c++/12.1.0/bits/basic_string.h:786:9: note: candidate: 'template<class _Tp, class> constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Tp&, const _Alloc&) [with <template-parameter-2-2> = _Tp; _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
786 | basic_string(const _Tp& __t, const _Alloc& __a = _Alloc())
| ^~~~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:786:9: note: template argument deduction/substitution failed:
/usr/local/include/c++/12.1.0/bits/basic_string.h:751:9: note: candidate: 'template<class _InputIterator, class> constexpr 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>]'
751 | basic_string(_InputIterator __beg, _InputIterator __end,
| ^~~~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:751:9: note: template argument deduction/substitution failed:
/usr/local/include/c++/12.1.0/bits/basic_string.h:4076:55: note: deduced conflicting types for parameter '_InputIterator' ('unsigned int' and 'char')
4076 | string __str(__detail::__to_chars_len(__val), '\0');
| ^
/usr/local/include/c++/12.1.0/bits/basic_string.h:634:7: note: candidate: 'template<class> constexpr 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>]'
634 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc())
| ^~~~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:634:7: note: template argument deduction/substitution failed:
/usr/local/include/c++/12.1.0/bits/basic_string.h:4076:42: note: cannot convert 'std::__detail::__to_chars_len<long long unsigned int>(__val, 10)' (type 'unsigned int') to type 'const char*'
4076 | string __str(__detail::__to_chars_len(__val), '\0');
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:708:7: note: candidate: 'constexpr 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>]'
708 | basic_string(basic_string&& __str, const _Alloc& __a)
| ^~~~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:708:35: note: no known conversion for argument 1 from 'unsigned int' to 'std::__cxx11::basic_string<char>&&'
708 | basic_string(basic_string&& __str, const _Alloc& __a)
| ~~~~~~~~~~~~~~~^~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:703:7: note: candidate: 'constexpr 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>]'
703 | basic_string(const basic_string& __str, const _Alloc& __a)
| ^~~~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:703:40: note: no known conversion for argument 1 from 'unsigned int' to 'const std::__cxx11::basic_string<char>&'
703 | basic_string(const basic_string& __str, const _Alloc& __a)
| ~~~~~~~~~~~~~~~~~~~~^~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:698:7: note: candidate: 'constexpr 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>]'
698 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc())
| ^~~~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:698:45: note: no known conversion for argument 1 from 'unsigned int' to 'std::initializer_list<char>'
698 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc())
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:670:7: note: candidate: 'constexpr 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>]'
670 | basic_string(basic_string&& __str) noexcept
| ^~~~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:670:7: note: candidate expects 1 argument, 2 provided
/usr/local/include/c++/12.1.0/bits/basic_string.h:540:7: note: candidate: 'constexpr 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>]'
540 | basic_string(const basic_string& __str)
| ^~~~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:540:7: note: candidate expects 1 argument, 2 provided
/usr/local/include/c++/12.1.0/bits/basic_string.h:528:7: note: candidate: 'constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
528 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT
| ^~~~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:528:7: note: candidate expects 1 argument, 2 provided
/usr/local/include/c++/12.1.0/bits/basic_string.h:515:7: note: candidate: 'constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string() [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
515 | basic_string()
| ^~~~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:515:7: note: candidate expects 0 arguments, 2 provided
/usr/local/include/c++/12.1.0/bits/basic_string.h:188:7: note: candidate: 'constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(__sv_wrapper, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
188 | basic_string(__sv_wrapper __svw, const _Alloc& __a)
| ^~~~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:188:33: note: no known conversion for argument 1 from 'unsigned int' to 'std::__cxx11::basic_string<char>::__sv_wrapper'
188 | basic_string(__sv_wrapper __svw, const _Alloc& __a)
| ~~~~~~~~~~~~~^~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:4077:40: error: no match for 'operator[]' (operand types are 'std::string' {aka 'std::__cxx11::basic_string<char>'} and 'int')
4077 | __detail::__to_chars_10_impl(&__str[0], __str.size(), __val);
| ^
/usr/local/include/c++/12.1.0/bits/basic_string.h:4077:51: error: 'std::string' {aka 'class std::__cxx11::basic_string<char>'} has no member named 'size'
4077 | __detail::__to_chars_10_impl(&__str[0], __str.size(), __val);
| ^~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h: In function 'std::string std::__cxx11::to_string(float)':
/usr/local/include/c++/12.1.0/bits/basic_string.h:4089: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&)'
4089 | return __gnu_cxx::__to_xstring<string>(&std::vsnprintf, __n,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
4090 | "%f", __val);
| ~~~~~~~~~~~~
/usr/local/include/c++/12.1.0/ext/string_conversions.h:99:5: note: candidate: 'template<class _String, class _CharT> _String __gnu_cxx::__to_xstring(int (*)(_CharT*, int, const _CharT*, __va_list_tag*), int, const _CharT*, ...)'
99 | __to_xstring(int (*__convf) (_CharT*, std::size_t, const _CharT*,
| ^~~~~~~~~~~~
/usr/local/include/c++/12.1.0/ext/string_conversions.h:99:5: note: template argument deduction/substitution failed:
/usr/local/include/c++/12.1.0/bits/basic_string.h:4089:43: note: mismatched types 'int' and 'size_t' {aka 'long unsigned int'}
4089 | return __gnu_cxx::__to_xstring<string>(&std::vsnprintf, __n,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
4090 | "%f", __val);
| ~~~~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h: In function 'std::string std::__cxx11::to_string(double)':
/usr/local/include/c++/12.1.0/bits/basic_string.h:4098: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&)'
4098 | return __gnu_cxx::__to_xstring<string>(&std::vsnprintf, __n,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
4099 | "%f", __val);
| ~~~~~~~~~~~~
/usr/local/include/c++/12.1.0/ext/string_conversions.h:99:5: note: candidate: 'template<class _String, class _CharT> _String __gnu_cxx::__to_xstring(int (*)(_CharT*, int, const _CharT*, __va_list_tag*), int, const _CharT*, ...)'
99 | __to_xstring(int (*__convf) (_CharT*, std::size_t, const _CharT*,
| ^~~~~~~~~~~~
/usr/local/include/c++/12.1.0/ext/string_conversions.h:99:5: note: template argument deduction/substitution failed:
/usr/local/include/c++/12.1.0/bits/basic_string.h:4098:43: note: mismatched types 'int' and 'size_t' {aka 'long unsigned int'}
4098 | return __gnu_cxx::__to_xstring<string>(&std::vsnprintf, __n,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
4099 | "%f", __val);
| ~~~~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h: In function 'std::string std::__cxx11::to_string(long double)':
/usr/local/include/c++/12.1.0/bits/basic_string.h:4107: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&)'
4107 | return __gnu_cxx::__to_xstring<string>(&std::vsnprintf, __n,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
4108 | "%Lf", __val);
| ~~~~~~~~~~~~~
/usr/local/include/c++/12.1.0/ext/string_conversions.h:99:5: note: candidate: 'template<class _String, class _CharT> _String __gnu_cxx::__to_xstring(int (*)(_CharT*, int, const _CharT*, __va_list_tag*), int, const _CharT*, ...)'
99 | __to_xstring(int (*__convf) (_CharT*, std::size_t, const _CharT*,
| ^~~~~~~~~~~~
/usr/local/include/c++/12.1.0/ext/string_conversions.h:99:5: note: template argument deduction/substitution failed:
/usr/local/include/c++/12.1.0/bits/basic_string.h:4107:43: note: mismatched types 'int' and 'size_t' {aka 'long unsigned int'}
4107 | return __gnu_cxx::__to_xstring<string>(&std::vsnprintf, __n,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
4108 | "%Lf", __val);
| ~~~~~~~~~~~~~
/usr/local/include/c++/12.1.0/ext/alloc_traits.h: In instantiation of 'struct __gnu_cxx::__alloc_traits<std::allocator<wchar_t>, wchar_t>':
/usr/local/include/c++/12.1.0/bits/basic_string.h:89:24: required from 'class std::__cxx11::basic_string<wchar_t>'
/usr/local/include/c++/12.1.0/bits/basic_string.h:4115:68: required from here
/usr/local/include/c++/12.1.0/ext/alloc_traits.h:59:53: error: no type named 'size_type' in 'struct std::allocator_traits<std::allocator<wchar_t> >'
59 | typedef typename _Base_type::size_type size_type;
| ^~~~~~~~~
/usr/local/include/c++/12.1.0/ext/alloc_traits.h:60:53: error: no type named 'difference_type' in 'struct std::allocator_traits<std::allocator<wchar_t> >'
60 | typedef typename _Base_type::difference_type difference_type;
| ^~~~~~~~~~~~~~~
/usr/local/include/c++/12.1.0/ext/alloc_traits.h:68:23: error: 'max_size' has not been declared in '__gnu_cxx::__alloc_traits<std::allocator<wchar_t>, wchar_t>::_Base_type'
68 | using _Base_type::max_size;
| ^~~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h: In function 'int std::__cxx11::stoi(const std::wstring&, size_t*, int)':
/usr/local/include/c++/12.1.0/bits/basic_string.h:4115: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&)'
4115 | { return __gnu_cxx::__stoa<long, int>(&std::wcstol, "stoi", __str.c_str(),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4116 | __idx, __base); }
| ~~~~~~~~~~~~~~
/usr/local/include/c++/12.1.0/ext/string_conversions.h:54: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 ...)'
54 | __stoa(_TRet (*__convf) (const _CharT*, _CharT**, _Base...),
| ^~~~~~
/usr/local/include/c++/12.1.0/ext/string_conversions.h:54:5: note: template argument deduction/substitution failed:
/usr/local/include/c++/12.1.0/bits/basic_string.h:4116:41: note: cannot convert '__idx' (type 'size_t*' {aka 'long unsigned int*'}) to type 'int*'
4116 | __idx, __base); }
| ^~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h: In function 'long int std::__cxx11::stol(const std::wstring&, size_t*, int)':
/usr/local/include/c++/12.1.0/bits/basic_string.h:4120: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&)'
4120 | { return __gnu_cxx::__stoa(&std::wcstol, "stol", __str.c_str(),
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4121 | __idx, __base); }
| ~~~~~~~~~~~~~~
/usr/local/include/c++/12.1.0/ext/string_conversions.h:54: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 ...)'
54 | __stoa(_TRet (*__convf) (const _CharT*, _CharT**, _Base...),
| ^~~~~~
/usr/local/include/c++/12.1.0/ext/string_conversions.h:54:5: note: template argument deduction/substitution failed:
/usr/local/include/c++/12.1.0/bits/basic_string.h:4121:30: note: cannot convert '__idx' (type 'size_t*' {aka 'long unsigned int*'}) to type 'int*'
4121 | __idx, __base); }
| ^~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h: In function 'long unsigned int std::__cxx11::stoul(const std::wstring&, size_t*, int)':
/usr/local/include/c++/12.1.0/bits/basic_string.h:4125: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&)'
4125 | { return __gnu_cxx::__stoa(&std::wcstoul, "stoul", __str.c_str(),
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4126 | __idx, __base); }
| ~~~~~~~~~~~~~~
/usr/local/include/c++/12.1.0/ext/string_conversions.h:54: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 ...)'
54 | __stoa(_TRet (*__convf) (const _CharT*, _CharT**, _Base...),
| ^~~~~~
/usr/local/include/c++/12.1.0/ext/string_conversions.h:54:5: note: template argument deduction/substitution failed:
/usr/local/include/c++/12.1.0/bits/basic_string.h:4126:30: note: cannot convert '__idx' (type 'size_t*' {aka 'long unsigned int*'}) to type 'int*'
4126 | __idx, __base); }
| ^~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h: In function 'long long int std::__cxx11::stoll(const std::wstring&, size_t*, int)':
/usr/local/include/c++/12.1.0/bits/basic_string.h:4130: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&)'
4130 | { return __gnu_cxx::__stoa(&std::wcstoll, "stoll", __str.c_str(),
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4131 | __idx, __base); }
| ~~~~~~~~~~~~~~
/usr/local/include/c++/12.1.0/ext/string_conversions.h:54: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 ...)'
54 | __stoa(_TRet (*__convf) (const _CharT*, _CharT**, _Base...),
| ^~~~~~
/usr/local/include/c++/12.1.0/ext/string_conversions.h:54:5: note: template argument deduction/substitution failed:
/usr/local/include/c++/12.1.0/bits/basic_string.h:4131:30: note: cannot convert '__idx' (type 'size_t*' {aka 'long unsigned int*'}) to type 'int*'
4131 | __idx, __base); }
| ^~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h: In function 'long long unsigned int std::__cxx11::stoull(const std::wstring&, size_t*, int)':
/usr/local/include/c++/12.1.0/bits/basic_string.h:4135: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&)'
4135 | { return __gnu_cxx::__stoa(&std::wcstoull, "stoull", __str.c_str(),
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4136 | __idx, __base); }
| ~~~~~~~~~~~~~~
/usr/local/include/c++/12.1.0/ext/string_conversions.h:54: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 ...)'
54 | __stoa(_TRet (*__convf) (const _CharT*, _CharT**, _Base...),
| ^~~~~~
/usr/local/include/c++/12.1.0/ext/string_conversions.h:54:5: note: template argument deduction/substitution failed:
/usr/local/include/c++/12.1.0/bits/basic_string.h:4136:30: note: cannot convert '__idx' (type 'size_t*' {aka 'long unsigned int*'}) to type 'int*'
4136 | __idx, __base); }
| ^~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h: In function 'float std::__cxx11::stof(const std::wstring&, size_t*)':
/usr/local/include/c++/12.1.0/bits/basic_string.h:4141:29: error: no matching function for call to '__stoa(float (*)(const wchar_t*, wchar_t**) noexcept, const char [5], const wchar_t*, size_t*&)'
4141 | { return __gnu_cxx::__stoa(&std::wcstof, "stof", __str.c_str(), __idx); }
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/c++/12.1.0/ext/string_conversions.h:54: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 ...)'
54 | __stoa(_TRet (*__convf) (const _CharT*, _CharT**, _Base...),
| ^~~~~~
/usr/local/include/c++/12.1.0/ext/string_conversions.h:54:5: note: template argument deduction/substitution failed:
/usr/local/include/c++/12.1.0/bits/basic_string.h:4141:67: note: cannot convert '__idx' (type 'size_t*' {aka 'long unsigned int*'}) to type 'int*'
4141 | { return __gnu_cxx::__stoa(&std::wcstof, "stof", __str.c_str(), __idx); }
| ^~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h: In function 'double std::__cxx11::stod(const std::wstring&, size_t*)':
/usr/local/include/c++/12.1.0/bits/basic_string.h:4145:29: error: no matching function for call to '__stoa(double (*)(const wchar_t*, wchar_t**) noexcept, const char [5], const wchar_t*, size_t*&)'
4145 | { return __gnu_cxx::__stoa(&std::wcstod, "stod", __str.c_str(), __idx); }
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/c++/12.1.0/ext/string_conversions.h:54: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 ...)'
54 | __stoa(_TRet (*__convf) (const _CharT*, _CharT**, _Base...),
| ^~~~~~
/usr/local/include/c++/12.1.0/ext/string_conversions.h:54:5: note: template argument deduction/substitution failed:
/usr/local/include/c++/12.1.0/bits/basic_string.h:4145:67: note: cannot convert '__idx' (type 'size_t*' {aka 'long unsigned int*'}) to type 'int*'
4145 | { return __gnu_cxx::__stoa(&std::wcstod, "stod", __str.c_str(), __idx); }
| ^~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h: In function 'long double std::__cxx11::stold(const std::wstring&, size_t*)':
/usr/local/include/c++/12.1.0/bits/basic_string.h:4149: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*&)'
4149 | { return __gnu_cxx::__stoa(&std::wcstold, "stold", __str.c_str(), __idx); }
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/c++/12.1.0/ext/string_conversions.h:54: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 ...)'
54 | __stoa(_TRet (*__convf) (const _CharT*, _CharT**, _Base...),
| ^~~~~~
/usr/local/include/c++/12.1.0/ext/string_conversions.h:54:5: note: template argument deduction/substitution failed:
/usr/local/include/c++/12.1.0/bits/basic_string.h:4149:69: note: cannot convert '__idx' (type 'size_t*' {aka 'long unsigned int*'}) to type 'int*'
4149 | { return __gnu_cxx::__stoa(&std::wcstold, "stold", __str.c_str(), __idx); }
| ^~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h: In function 'std::wstring std::__cxx11::to_wstring(int)':
/usr/local/include/c++/12.1.0/bits/basic_string.h:4155: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&)'
4155 | { return __gnu_cxx::__to_xstring<wstring>(&std::vswprintf, 4 * sizeof(int),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4156 | L"%d", __val); }
| ~~~~~~~~~~~~~
/usr/local/include/c++/12.1.0/ext/string_conversions.h:99:5: note: candidate: 'template<class _String, class _CharT> _String __gnu_cxx::__to_xstring(int (*)(_CharT*, int, const _CharT*, __va_list_tag*), int, const _CharT*, ...)'
99 | __to_xstring(int (*__convf) (_CharT*, std::size_t, const _CharT*,
| ^~~~~~~~~~~~
/usr/local/include/c++/12.1.0/ext/string_conversions.h:99:5: note: template argument deduction/substitution failed:
/usr/local/include/c++/12.1.0/bits/basic_string.h:4155:44: note: mismatched types 'int' and 'size_t' {aka 'long unsigned int'}
4155 | { return __gnu_cxx::__to_xstring<wstring>(&std::vswprintf, 4 * sizeof(int),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4156 | L"%d", __val); }
| ~~~~~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h: In function 'std::wstring std::__cxx11::to_wstring(unsigned int)':
/usr/local/include/c++/12.1.0/bits/basic_string.h:4160: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&)'
4160 | { return __gnu_cxx::__to_xstring<wstring>(&std::vswprintf,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
4161 | 4 * sizeof(unsigned),
| ~~~~~~~~~~~~~~~~~~~~~
4162 | L"%u", __val); }
| ~~~~~~~~~~~~~
/usr/local/include/c++/12.1.0/ext/string_conversions.h:99:5: note: candidate: 'template<class _String, class _CharT> _String __gnu_cxx::__to_xstring(int (*)(_CharT*, int, const _CharT*, __va_list_tag*), int, const _CharT*, ...)'
99 | __to_xstring(int (*__convf) (_CharT*, std::size_t, const _CharT*,
| ^~~~~~~~~~~~
/usr/local/include/c++/12.1.0/ext/string_conversions.h:99:5: note: template argument deduction/substitution failed:
/usr/local/include/c++/12.1.0/bits/basic_string.h:4160:44: note: mismatched types 'int' and 'size_t' {aka 'long unsigned int'}
4160 | { return __gnu_cxx::__to_xstring<wstring>(&std::vswprintf,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
4161 | 4 * sizeof(unsigned),
| ~~~~~~~~~~~~~~~~~~~~~
4162 | L"%u", __val); }
| ~~~~~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h: In function 'std::wstring std::__cxx11::to_wstring(long int)':
/usr/local/include/c++/12.1.0/bits/basic_string.h:4166: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&)'
4166 | { return __gnu_cxx::__to_xstring<wstring>(&std::vswprintf, 4 * sizeof(long),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4167 | L"%ld", __val); }
| ~~~~~~~~~~~~~~
/usr/local/include/c++/12.1.0/ext/string_conversions.h:99:5: note: candidate: 'template<class _String, class _CharT> _String __gnu_cxx::__to_xstring(int (*)(_CharT*, int, const _CharT*, __va_list_tag*), int, const _CharT*, ...)'
99 | __to_xstring(int (*__convf) (_CharT*, std::size_t, const _CharT*,
| ^~~~~~~~~~~~
/usr/local/include/c++/12.1.0/ext/string_conversions.h:99:5: note: template argument deduction/substitution failed:
/usr/local/include/c++/12.1.0/bits/basic_string.h:4166:44: note: mismatched types 'int' and 'size_t' {aka 'long unsigned int'}
4166 | { return __gnu_cxx::__to_xstring<wstring>(&std::vswprintf, 4 * sizeof(long),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4167 | L"%ld", __val); }
| ~~~~~~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h: In function 'std::wstring std::__cxx11::to_wstring(long unsigned int)':
/usr/local/include/c++/12.1.0/bits/basic_string.h:4171: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&)'
4171 | { return __gnu_cxx::__to_xstring<wstring>(&std::vswprintf,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
4172 | 4 * sizeof(unsigned long),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
4173 | L"%lu", __val); }
| ~~~~~~~~~~~~~~
/usr/local/include/c++/12.1.0/ext/string_conversions.h:99:5: note: candidate: 'template<class _String, class _CharT> _String __gnu_cxx::__to_xstring(int (*)(_CharT*, int, const _CharT*, __va_list_tag*), int, const _CharT*, ...)'
99 | __to_xstring(int (*__convf) (_CharT*, std::size_t, const _CharT*,
| ^~~~~~~~~~~~
/usr/local/include/c++/12.1.0/ext/string_conversions.h:99:5: note: template argument deduction/substitution failed:
/usr/local/include/c++/12.1.0/bits/basic_string.h:4171:44: note: mismatched types 'int' and 'size_t' {aka 'long unsigned int'}
4171 | { return __gnu_cxx::__to_xstring<wstring>(&std::vswprintf,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
4172 | 4 * sizeof(unsigned long),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
4173 | L"%lu", __val); }
| ~~~~~~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h: In function 'std::wstring std::__cxx11::to_wstring(long long int)':
/usr/local/include/c++/12.1.0/bits/basic_string.h:4177: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&)'
4177 | { return __gnu_cxx::__to_xstring<wstring>(&std::vswprintf,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
4178 | 4 * sizeof(long long),
| ~~~~~~~~~~~~~~~~~~~~~~
4179 | L"%lld", __val); }
| ~~~~~~~~~~~~~~~
/usr/local/include/c++/12.1.0/ext/string_conversions.h:99:5: note: candidate: 'template<class _String, class _CharT> _String __gnu_cxx::__to_xstring(int (*)(_CharT*, int, const _CharT*, __va_list_tag*), int, const _CharT*, ...)'
99 | __to_xstring(int (*__convf) (_CharT*, std::size_t, const _CharT*,
| ^~~~~~~~~~~~
/usr/local/include/c++/12.1.0/ext/string_conversions.h:99:5: note: template argument deduction/substitution failed:
/usr/local/include/c++/12.1.0/bits/basic_string.h:4177:44: note: mismatched types 'int' and 'size_t' {aka 'long unsigned int'}
4177 | { return __gnu_cxx::__to_xstring<wstring>(&std::vswprintf,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
4178 | 4 * sizeof(long long),
| ~~~~~~~~~~~~~~~~~~~~~~
4179 | L"%lld", __val); }
| ~~~~~~~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h: In function 'std::wstring std::__cxx11::to_wstring(long long unsigned int)':
/usr/local/include/c++/12.1.0/bits/basic_string.h:4183: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&)'
4183 | { return __gnu_cxx::__to_xstring<wstring>(&std::vswprintf,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
4184 | 4 * sizeof(unsigned long long),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4185 | L"%llu", __val); }
| ~~~~~~~~~~~~~~~
/usr/local/include/c++/12.1.0/ext/string_conversions.h:99:5: note: candidate: 'template<class _String, class _CharT> _String __gnu_cxx::__to_xstring(int (*)(_CharT*, int, const _CharT*, __va_list_tag*), int, const _CharT*, ...)'
99 | __to_xstring(int (*__convf) (_CharT*, std::size_t, const _CharT*,
| ^~~~~~~~~~~~
/usr/local/include/c++/12.1.0/ext/string_conversions.h:99:5: note: template argument deduction/substitution failed:
/usr/local/include/c++/12.1.0/bits/basic_string.h:4183:44: note: mismatched types 'int' and 'size_t' {aka 'long unsigned int'}
4183 | { return __gnu_cxx::__to_xstring<wstring>(&std::vswprintf,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
4184 | 4 * sizeof(unsigned long long),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4185 | L"%llu", __val); }
| ~~~~~~~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h: In function 'std::wstring std::__cxx11::to_wstring(float)':
/usr/local/include/c++/12.1.0/bits/basic_string.h:4192: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&)'
4192 | return __gnu_cxx::__to_xstring<wstring>(&std::vswprintf, __n,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
4193 | L"%f", __val);
| ~~~~~~~~~~~~~
/usr/local/include/c++/12.1.0/ext/string_conversions.h:99:5: note: candidate: 'template<class _String, class _CharT> _String __gnu_cxx::__to_xstring(int (*)(_CharT*, int, const _CharT*, __va_list_tag*), int, const _CharT*, ...)'
99 | __to_xstring(int (*__convf) (_CharT*, std::size_t, const _CharT*,
| ^~~~~~~~~~~~
/usr/local/include/c++/12.1.0/ext/string_conversions.h:99:5: note: template argument deduction/substitution failed:
/usr/local/include/c++/12.1.0/bits/basic_string.h:4192:44: note: mismatched types 'int' and 'size_t' {aka 'long unsigned int'}
4192 | return __gnu_cxx::__to_xstring<wstring>(&std::vswprintf, __n,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
4193 | L"%f", __val);
| ~~~~~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h: In function 'std::wstring std::__cxx11::to_wstring(double)':
/usr/local/include/c++/12.1.0/bits/basic_string.h:4201: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&)'
4201 | return __gnu_cxx::__to_xstring<wstring>(&std::vswprintf, __n,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
4202 | L"%f", __val);
| ~~~~~~~~~~~~~
/usr/local/include/c++/12.1.0/ext/string_conversions.h:99:5: note: candidate: 'template<class _String, class _CharT> _String __gnu_cxx::__to_xstring(int (*)(_CharT*, int, const _CharT*, __va_list_tag*), int, const _CharT*, ...)'
99 | __to_xstring(int (*__convf) (_CharT*, std::size_t, const _CharT*,
| ^~~~~~~~~~~~
/usr/local/include/c++/12.1.0/ext/string_conversions.h:99:5: note: template argument deduction/substitution failed:
/usr/local/include/c++/12.1.0/bits/basic_string.h:4201:44: note: mismatched types 'int' and 'size_t' {aka 'long unsigned int'}
4201 | return __gnu_cxx::__to_xstring<wstring>(&std::vswprintf, __n,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
4202 | L"%f", __val);
| ~~~~~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h: In function 'std::wstring std::__cxx11::to_wstring(long double)':
/usr/local/include/c++/12.1.0/bits/basic_string.h:4210: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&)'
4210 | return __gnu_cxx::__to_xstring<wstring>(&std::vswprintf, __n,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
4211 | L"%Lf", __val);
| ~~~~~~~~~~~~~~
/usr/local/include/c++/12.1.0/ext/string_conversions.h:99:5: note: candidate: 'template<class _String, class _CharT> _String __gnu_cxx::__to_xstring(int (*)(_CharT*, int, const _CharT*, __va_list_tag*), int, const _CharT*, ...)'
99 | __to_xstring(int (*__convf) (_CharT*, std::size_t, const _CharT*,
| ^~~~~~~~~~~~
/usr/local/include/c++/12.1.0/ext/string_conversions.h:99:5: note: template argument deduction/substitution failed:
/usr/local/include/c++/12.1.0/bits/basic_string.h:4210:44: note: mismatched types 'int' and 'size_t' {aka 'long unsigned int'}
4210 | return __gnu_cxx::__to_xstring<wstring>(&std::vswprintf, __n,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
4211 | L"%Lf", __val);
| ~~~~~~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h: In member function 'size_t std::hash<std::__cxx11::basic_string<char> >::operator()(const std::string&) const':
/usr/local/include/c++/12.1.0/bits/basic_string.h:4240:54: error: 'const std::string' {aka 'const class std::__cxx11::basic_string<char>'} has no member named 'length'
4240 | { return std::_Hash_impl::hash(__s.data(), __s.length()); }
| ^~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h: In member function 'size_t std::hash<std::__cxx11::basic_string<wchar_t> >::operator()(const std::wstring&) const':
/usr/local/include/c++/12.1.0/bits/basic_string.h:4255:42: error: 'const std::wstring' {aka 'const class std::__cxx11::basic_string<wchar_t>'} has no member named 'length'
4255 | __s.length() * sizeof(wchar_t)); }
| ^~~~~~
/usr/local/include/c++/12.1.0/ext/alloc_traits.h: In instantiation of 'struct __gnu_cxx::__alloc_traits<std::allocator<char8_t>, char8_t>':
/usr/local/include/c++/12.1.0/bits/basic_string.h:89:24: required from 'class std::__cxx11::basic_string<char8_t>'
/usr/local/include/c++/12.1.0/bits/basic_string.h:4271:41: required from here
/usr/local/include/c++/12.1.0/ext/alloc_traits.h:59:53: error: no type named 'size_type' in 'struct std::allocator_traits<std::allocator<char8_t> >'
59 | typedef typename _Base_type::size_type size_type;
| ^~~~~~~~~
/usr/local/include/c++/12.1.0/ext/alloc_traits.h:60:53: error: no type named 'difference_type' in 'struct std::allocator_traits<std::allocator<char8_t> >'
60 | typedef typename _Base_type::difference_type difference_type;
| ^~~~~~~~~~~~~~~
/usr/local/include/c++/12.1.0/ext/alloc_traits.h:68:23: error: 'max_size' has not been declared in '__gnu_cxx::__alloc_traits<std::allocator<char8_t>, char8_t>::_Base_type'
68 | using _Base_type::max_size;
| ^~~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h: In member function 'size_t std::hash<std::__cxx11::basic_string<char8_t> >::operator()(const std::u8string&) const':
/usr/local/include/c++/12.1.0/bits/basic_string.h:4272:42: error: 'const std::u8string' {aka 'const class std::__cxx11::basic_string<char8_t>'} has no member named 'length'
4272 | __s.length() * sizeof(char8_t)); }
| ^~~~~~
/usr/local/include/c++/12.1.0/ext/alloc_traits.h: In instantiation of 'struct __gnu_cxx::__alloc_traits<std::allocator<char16_t>, char16_t>':
/usr/local/include/c++/12.1.0/bits/basic_string.h:89:24: required from 'class std::__cxx11::basic_string<char16_t>'
/usr/local/include/c++/12.1.0/bits/basic_string.h:4287:41: required from here
/usr/local/include/c++/12.1.0/ext/alloc_traits.h:59:53: error: no type named 'size_type' in 'struct std::allocator_traits<std::allocator<char16_t> >'
59 | typedef typename _Base_type::size_type size_type;
| ^~~~~~~~~
/usr/local/include/c++/12.1.0/ext/alloc_traits.h:60:53: error: no type named 'difference_type' in 'struct std::allocator_traits<std::allocator<char16_t> >'
60 | typedef typename _Base_type::difference_type difference_type;
| ^~~~~~~~~~~~~~~
/usr/local/include/c++/12.1.0/ext/alloc_traits.h:68:23: error: 'max_size' has not been declared in '__gnu_cxx::__alloc_traits<std::allocator<char16_t>, char16_t>::_Base_type'
68 | using _Base_type::max_size;
| ^~~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h: In member function 'size_t std::hash<std::__cxx11::basic_string<char16_t> >::operator()(const std::u16string&) const':
/usr/local/include/c++/12.1.0/bits/basic_string.h:4288:42: error: 'const std::u16string' {aka 'const class std::__cxx11::basic_string<char16_t>'} has no member named 'length'
4288 | __s.length() * sizeof(char16_t)); }
| ^~~~~~
/usr/local/include/c++/12.1.0/ext/alloc_traits.h: In instantiation of 'struct __gnu_cxx::__alloc_traits<std::allocator<char32_t>, char32_t>':
/usr/local/include/c++/12.1.0/bits/basic_string.h:89:24: required from 'class std::__cxx11::basic_string<char32_t>'
/usr/local/include/c++/12.1.0/bits/basic_string.h:4302:41: required from here
/usr/local/include/c++/12.1.0/ext/alloc_traits.h:59:53: error: no type named 'size_type' in 'struct std::allocator_traits<std::allocator<char32_t> >'
59 | typedef typename _Base_type::size_type size_type;
| ^~~~~~~~~
/usr/local/include/c++/12.1.0/ext/alloc_traits.h:60:53: error: no type named 'difference_type' in 'struct std::allocator_traits<std::allocator<char32_t> >'
60 | typedef typename _Base_type::difference_type difference_type;
| ^~~~~~~~~~~~~~~
/usr/local/include/c++/12.1.0/ext/alloc_traits.h:68:23: error: 'max_size' has not been declared in '__gnu_cxx::__alloc_traits<std::allocator<char32_t>, char32_t>::_Base_type'
68 | using _Base_type::max_size;
| ^~~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h: In member function 'size_t std::hash<std::__cxx11::basic_string<char32_t> >::operator()(const std::u32string&) const':
/usr/local/include/c++/12.1.0/bits/basic_string.h:4303:42: error: 'const std::u32string' {aka 'const class std::__cxx11::basic_string<char32_t>'} has no member named 'length'
4303 | __s.length() * sizeof(char32_t)); }
| ^~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h: In function 'constexpr std::__cxx11::basic_string<char> std::literals::string_literals::operator""s(const char*, size_t)':
/usr/local/include/c++/12.1.0/bits/basic_string.h:4330:45: error: no matching function for call to 'std::__cxx11::basic_string<char>::basic_string(<brace-enclosed initializer list>)'
4330 | { return basic_string<char>{__str, __len}; }
| ^
/usr/local/include/c++/12.1.0/bits/basic_string.h:786:9: note: candidate: 'template<class _Tp, class> constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Tp&, const _Alloc&) [with <template-parameter-2-2> = _Tp; _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
786 | basic_string(const _Tp& __t, const _Alloc& __a = _Alloc())
| ^~~~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:786:9: note: template argument deduction/substitution failed:
/usr/local/include/c++/12.1.0/bits/basic_string.h:751:9: note: candidate: 'template<class _InputIterator, class> constexpr 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>]'
751 | basic_string(_InputIterator __beg, _InputIterator __end,
| ^~~~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:751:9: note: template argument deduction/substitution failed:
/usr/local/include/c++/12.1.0/bits/basic_string.h:4330:45: note: deduced conflicting types for parameter '_InputIterator' ('const char*' and 'long unsigned int')
4330 | { return basic_string<char>{__str, __len}; }
| ^
/usr/local/include/c++/12.1.0/bits/basic_string.h:634:7: note: candidate: 'template<class> constexpr 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>]'
634 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc())
| ^~~~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:634:7: note: template argument deduction/substitution failed:
/usr/local/include/c++/12.1.0/bits/basic_string.h:4330:40: note: cannot convert '__len' (type 'size_t' {aka 'long unsigned int'}) to type 'const std::allocator<char>&'
4330 | { return basic_string<char>{__str, __len}; }
| ^~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:708:7: note: candidate: 'constexpr 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>]'
708 | basic_string(basic_string&& __str, const _Alloc& __a)
| ^~~~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:708:56: note: no known conversion for argument 2 from 'size_t' {aka 'long unsigned int'} to 'const std::allocator<char>&'
708 | basic_string(basic_string&& __str, const _Alloc& __a)
| ~~~~~~~~~~~~~~^~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:703:7: note: candidate: 'constexpr 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>]'
703 | basic_string(const basic_string& __str, const _Alloc& __a)
| ^~~~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:703:61: note: no known conversion for argument 2 from 'size_t' {aka 'long unsigned int'} to 'const std::allocator<char>&'
703 | basic_string(const basic_string& __str, const _Alloc& __a)
| ~~~~~~~~~~~~~~^~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:698:7: note: candidate: 'constexpr 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>]'
698 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc())
| ^~~~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:698:45: note: no known conversion for argument 1 from 'const char*' to 'std::initializer_list<char>'
698 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc())
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:670:7: note: candidate: 'constexpr 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>]'
670 | basic_string(basic_string&& __str) noexcept
| ^~~~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:670:7: note: candidate expects 1 argument, 2 provided
/usr/local/include/c++/12.1.0/bits/basic_string.h:540:7: note: candidate: 'constexpr 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>]'
540 | basic_string(const basic_string& __str)
| ^~~~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:540:7: note: candidate expects 1 argument, 2 provided
/usr/local/include/c++/12.1.0/bits/basic_string.h:528:7: note: candidate: 'constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
528 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT
| ^~~~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:528:7: note: candidate expects 1 argument, 2 provided
/usr/local/include/c++/12.1.0/bits/basic_string.h:515:7: note: candidate: 'constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string() [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
515 | basic_string()
| ^~~~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:515:7: note: candidate expects 0 arguments, 2 provided
/usr/local/include/c++/12.1.0/bits/basic_string.h:188:7: note: candidate: 'constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(__sv_wrapper, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
188 | basic_string(__sv_wrapper __svw, const _Alloc& __a)
| ^~~~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:188:33: note: no known conversion for argument 1 from 'const char*' to 'std::__cxx11::basic_string<char>::__sv_wrapper'
188 | basic_string(__sv_wrapper __svw, const _Alloc& __a)
| ~~~~~~~~~~~~~^~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h: In function 'constexpr std::__cxx11::basic_string<wchar_t> std::literals::string_literals::operator""s(const wchar_t*, size_t)':
/usr/local/include/c++/12.1.0/bits/basic_string.h:4335:48: error: no matching function for call to 'std::__cxx11::basic_string<wchar_t>::basic_string(<brace-enclosed initializer list>)'
4335 | { return basic_string<wchar_t>{__str, __len}; }
| ^
/usr/local/include/c++/12.1.0/bits/basic_string.h:786:9: note: candidate: 'template<class _Tp, class> constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Tp&, const _Alloc&) [with <template-parameter-2-2> = _Tp; _CharT = wchar_t; _Traits = std::char_traits<wchar_t>; _Alloc = std::allocator<wchar_t>]'
786 | basic_string(const _Tp& __t, const _Alloc& __a = _Alloc())
| ^~~~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:786:9: note: template argument deduction/substitution failed:
/usr/local/include/c++/12.1.0/bits/basic_string.h:751:9: note: candidate: 'template<class _InputIterator, class> constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(_InputIterator, _InputIterator, const _Alloc&) [with <template-parameter-2-2> = _InputIterator; _CharT = wchar_t; _Traits = std::char_traits<wchar_t>; _Alloc = std::allocator<wchar_t>]'
751 | basic_string(_InputIterator __beg, _InputIterator __end,
| ^~~~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:751:9: note: template argument deduction/substitution failed:
/usr/local/include/c++/12.1.0/bits/basic_string.h:4335:48: note: deduced conflicting types for parameter '_InputIterator' ('const wchar_t*' and 'long unsigned int')
4335 | { return basic_string<wchar_t>{__str, __len}; }
| ^
/usr/local/include/c++/12.1.0/bits/basic_string.h:634:7: note: candidate: 'template<class> constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = wchar_t; _Traits = std::char_traits<wchar_t>; _Alloc = std::allocator<wchar_t>]'
634 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc())
| ^~~~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:634:7: note: template argument deduction/substitution failed:
/usr/local/include/c++/12.1.0/bits/basic_string.h:4335:43: note: cannot convert '__len' (type 'size_t' {aka 'long unsigned int'}) to type 'const std::allocator<wchar_t>&'
4335 | { return basic_string<wchar_t>{__str, __len}; }
| ^~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:708:7: note: candidate: 'constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&, const _Alloc&) [with _CharT = wchar_t; _Traits = std::char_traits<wchar_t>; _Alloc = std::allocator<wchar_t>]'
708 | basic_string(basic_string&& __str, const _Alloc& __a)
| ^~~~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:708:56: note: no known conversion for argument 2 from 'size_t' {aka 'long unsigned int'} to 'const std::allocator<wchar_t>&'
708 | basic_string(basic_string&& __str, const _Alloc& __a)
| ~~~~~~~~~~~~~~^~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:703:7: note: candidate: 'constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, const _Alloc&) [with _CharT = wchar_t; _Traits = std::char_traits<wchar_t>; _Alloc = std::allocator<wchar_t>]'
703 | basic_string(const basic_string& __str, const _Alloc& __a)
| ^~~~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:703:61: note: no known conversion for argument 2 from 'size_t' {aka 'long unsigned int'} to 'const std::allocator<wchar_t>&'
703 | basic_string(const basic_string& __str, const _Alloc& __a)
| ~~~~~~~~~~~~~~^~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:698:7: note: candidate: 'constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::initializer_list<_Tp>, const _Alloc&) [with _CharT = wchar_t; _Traits = std::char_traits<wchar_t>; _Alloc = std::allocator<wchar_t>]'
698 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc())
| ^~~~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:698:45: note: no known conversion for argument 1 from 'const wchar_t*' to 'std::initializer_list<wchar_t>'
698 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc())
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:670:7: note: candidate: 'constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&) [with _CharT = wchar_t; _Traits = std::char_traits<wchar_t>; _Alloc = std::allocator<wchar_t>]'
670 | basic_string(basic_string&& __str) noexcept
| ^~~~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:670:7: note: candidate expects 1 argument, 2 provided
/usr/local/include/c++/12.1.0/bits/basic_string.h:540:7: note: candidate: 'constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = wchar_t; _Traits = std::char_traits<wchar_t>; _Alloc = std::allocator<wchar_t>]'
540 | basic_string(const basic_string& __str)
| ^~~~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:540:7: note: candidate expects 1 argument, 2 provided
/usr/local/include/c++/12.1.0/bits/basic_string.h:528:7: note: candidate: 'constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Alloc&) [with _CharT = wchar_t; _Traits = std::char_traits<wchar_t>; _Alloc = std::allocator<wchar_t>]'
528 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT
| ^~~~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:528:7: note: candidate expects 1 argument, 2 provided
/usr/local/include/c++/12.1.0/bits/basic_string.h:515:7: note: candidate: 'constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string() [with _CharT = wchar_t; _Traits = std::char_traits<wchar_t>; _Alloc = std::allocator<wchar_t>]'
515 | basic_string()
| ^~~~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:515:7: note: candidate expects 0 arguments, 2 provided
/usr/local/include/c++/12.1.0/bits/basic_string.h:188:7: note: candidate: 'constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(__sv_wrapper, const _Alloc&) [with _CharT = wchar_t; _Traits = std::char_traits<wchar_t>; _Alloc = std::allocator<wchar_t>]'
188 | basic_string(__sv_wrapper __svw, const _Alloc& __a)
| ^~~~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:188:33: note: no known conversion for argument 1 from 'const wchar_t*' to 'std::__cxx11::basic_string<wchar_t>::__sv_wrapper'
188 | basic_string(__sv_wrapper __svw, const _Alloc& __a)
| ~~~~~~~~~~~~~^~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h: In function 'constexpr std::__cxx11::basic_string<char8_t> std::literals::string_literals::operator""s(const char8_t*, size_t)':
/usr/local/include/c++/12.1.0/bits/basic_string.h:4341:48: error: no matching function for call to 'std::__cxx11::basic_string<char8_t>::basic_string(<brace-enclosed initializer list>)'
4341 | { return basic_string<char8_t>{__str, __len}; }
| ^
/usr/local/include/c++/12.1.0/bits/basic_string.h:786:9: note: candidate: 'template<class _Tp, class> constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Tp&, const _Alloc&) [with <template-parameter-2-2> = _Tp; _CharT = char8_t; _Traits = std::char_traits<char8_t>; _Alloc = std::allocator<char8_t>]'
786 | basic_string(const _Tp& __t, const _Alloc& __a = _Alloc())
| ^~~~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:786:9: note: template argument deduction/substitution failed:
/usr/local/include/c++/12.1.0/bits/basic_string.h:751:9: note: candidate: 'template<class _InputIterator, class> constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(_InputIterator, _InputIterator, const _Alloc&) [with <template-parameter-2-2> = _InputIterator; _CharT = char8_t; _Traits = std::char_traits<char8_t>; _Alloc = std::allocator<char8_t>]'
751 | basic_string(_InputIterator __beg, _InputIterator __end,
| ^~~~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:751:9: note: template argument deduction/substitution failed:
/usr/local/include/c++/12.1.0/bits/basic_string.h:4341:48: note: deduced conflicting types for parameter '_InputIterator' ('const char8_t*' and 'long unsigned int')
4341 | { return basic_string<char8_t>{__str, __len}; }
| ^
/usr/local/include/c++/12.1.0/bits/basic_string.h:634:7: note: candidate: 'template<class> constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char8_t; _Traits = std::char_traits<char8_t>; _Alloc = std::allocator<char8_t>]'
634 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc())
| ^~~~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:634:7: note: template argument deduction/substitution failed:
/usr/local/include/c++/12.1.0/bits/basic_string.h:4341:43: note: cannot convert '__len' (type 'size_t' {aka 'long unsigned int'}) to type 'const std::allocator<char8_t>&'
4341 | { return basic_string<char8_t>{__str, __len}; }
| ^~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:708:7: note: candidate: 'constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&, const _Alloc&) [with _CharT = char8_t; _Traits = std::char_traits<char8_t>; _Alloc = std::allocator<char8_t>]'
708 | basic_string(basic_string&& __str, const _Alloc& __a)
| ^~~~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:708:56: note: no known conversion for argument 2 from 'size_t' {aka 'long unsigned int'} to 'const std::allocator<char8_t>&'
708 | basic_string(basic_string&& __str, const _Alloc& __a)
| ~~~~~~~~~~~~~~^~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:703:7: note: candidate: 'constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, const _Alloc&) [with _CharT = char8_t; _Traits = std::char_traits<char8_t>; _Alloc = std::allocator<char8_t>]'
703 | basic_string(const basic_string& __str, const _Alloc& __a)
| ^~~~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:703:61: note: no known conversion for argument 2 from 'size_t' {aka 'long unsigned int'} to 'const std::allocator<char8_t>&'
703 | basic_string(const basic_string& __str, const _Alloc& __a)
| ~~~~~~~~~~~~~~^~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:698:7: note: candidate: 'constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::initializer_list<_Tp>, const _Alloc&) [with _CharT = char8_t; _Traits = std::char_traits<char8_t>; _Alloc = std::allocator<char8_t>]'
698 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc())
| ^~~~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:698:45: note: no known conversion for argument 1 from 'const char8_t*' to 'std::initializer_list<char8_t>'
698 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc())
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:670:7: note: candidate: 'constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&) [with _CharT = char8_t; _Traits = std::char_traits<char8_t>; _Alloc = std::allocator<char8_t>]'
670 | basic_string(basic_string&& __str) noexcept
| ^~~~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:670:7: note: candidate expects 1 argument, 2 provided
/usr/local/include/c++/12.1.0/bits/basic_string.h:540:7: note: candidate: 'constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char8_t; _Traits = std::char_traits<char8_t>; _Alloc = std::allocator<char8_t>]'
540 | basic_string(const basic_string& __str)
| ^~~~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:540:7: note: candidate expects 1 argument, 2 provided
/usr/local/include/c++/12.1.0/bits/basic_string.h:528:7: note: candidate: 'constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Alloc&) [with _CharT = char8_t; _Traits = std::char_traits<char8_t>; _Alloc = std::allocator<char8_t>]'
528 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT
| ^~~~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:528:7: note: candidate expects 1 argument, 2 provided
/usr/local/include/c++/12.1.0/bits/basic_string.h:515:7: note: candidate: 'constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string() [with _CharT = char8_t; _Traits = std::char_traits<char8_t>; _Alloc = std::allocator<char8_t>]'
515 | basic_string()
| ^~~~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:515:7: note: candidate expects 0 arguments, 2 provided
/usr/local/include/c++/12.1.0/bits/basic_string.h:188:7: note: candidate: 'constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(__sv_wrapper, const _Alloc&) [with _CharT = char8_t; _Traits = std::char_traits<char8_t>; _Alloc = std::allocator<char8_t>]'
188 | basic_string(__sv_wrapper __svw, const _Alloc& __a)
| ^~~~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:188:33: note: no known conversion for argument 1 from 'const char8_t*' to 'std::__cxx11::basic_string<char8_t>::__sv_wrapper'
188 | basic_string(__sv_wrapper __svw, const _Alloc& __a)
| ~~~~~~~~~~~~~^~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h: In function 'constexpr std::__cxx11::basic_string<char16_t> std::literals::string_literals::operator""s(const char16_t*, size_t)':
/usr/local/include/c++/12.1.0/bits/basic_string.h:4347:49: error: no matching function for call to 'std::__cxx11::basic_string<char16_t>::basic_string(<brace-enclosed initializer list>)'
4347 | { return basic_string<char16_t>{__str, __len}; }
| ^
/usr/local/include/c++/12.1.0/bits/basic_string.h:786:9: note: candidate: 'template<class _Tp, class> constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Tp&, const _Alloc&) [with <template-parameter-2-2> = _Tp; _CharT = char16_t; _Traits = std::char_traits<char16_t>; _Alloc = std::allocator<char16_t>]'
786 | basic_string(const _Tp& __t, const _Alloc& __a = _Alloc())
| ^~~~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:786:9: note: template argument deduction/substitution failed:
/usr/local/include/c++/12.1.0/bits/basic_string.h:751:9: note: candidate: 'template<class _InputIterator, class> constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(_InputIterator, _InputIterator, const _Alloc&) [with <template-parameter-2-2> = _InputIterator; _CharT = char16_t; _Traits = std::char_traits<char16_t>; _Alloc = std::allocator<char16_t>]'
751 | basic_string(_InputIterator __beg, _InputIterator __end,
| ^~~~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:751:9: note: template argument deduction/substitution failed:
/usr/local/include/c++/12.1.0/bits/basic_string.h:4347:49: note: deduced conflicting types for parameter '_InputIterator' ('const char16_t*' and 'long unsigned int')
4347 | { return basic_string<char16_t>{__str, __len}; }
| ^
/usr/local/include/c++/12.1.0/bits/basic_string.h:634:7: note: candidate: 'template<class> constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char16_t; _Traits = std::char_traits<char16_t>; _Alloc = std::allocator<char16_t>]'
634 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc())
| ^~~~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:634:7: note: template argument deduction/substitution failed:
/usr/local/include/c++/12.1.0/bits/basic_string.h:4347:44: note: cannot convert '__len' (type 'size_t' {aka 'long unsigned int'}) to type 'const std::allocator<char16_t>&'
4347 | { return basic_string<char16_t>{__str, __len}; }
| ^~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:708:7: note: candidate: 'constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&, const _Alloc&) [with _CharT = char16_t; _Traits = std::char_traits<char16_t>; _Alloc = std::allocator<char16_t>]'
708 | basic_string(basic_string&& __str, const _Alloc& __a)
| ^~~~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:708:56: note: no known conversion for argument 2 from 'size_t' {aka 'long unsigned int'} to 'const std::allocator<char16_t>&'
708 | basic_string(basic_string&& __str, const _Alloc& __a)
| ~~~~~~~~~~~~~~^~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:703:7: note: candidate: 'constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, const _Alloc&) [with _CharT = char16_t; _Traits = std::char_traits<char16_t>; _Alloc = std::allocator<char16_t>]'
703 | basic_string(const basic_string& __str, const _Alloc& __a)
| ^~~~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:703:61: note: no known conversion for argument 2 from 'size_t' {aka 'long unsigned int'} to 'const std::allocator<char16_t>&'
703 | basic_string(const basic_string& __str, const _Alloc& __a)
| ~~~~~~~~~~~~~~^~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:698:7: note: candidate: 'constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::initializer_list<_Tp>, const _Alloc&) [with _CharT = char16_t; _Traits = std::char_traits<char16_t>; _Alloc = std::allocator<char16_t>]'
698 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc())
| ^~~~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:698:45: note: no known conversion for argument 1 from 'const char16_t*' to 'std::initializer_list<char16_t>'
698 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc())
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:670:7: note: candidate: 'constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&) [with _CharT = char16_t; _Traits = std::char_traits<char16_t>; _Alloc = std::allocator<char16_t>]'
670 | basic_string(basic_string&& __str) noexcept
| ^~~~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:670:7: note: candidate expects 1 argument, 2 provided
/usr/local/include/c++/12.1.0/bits/basic_string.h:540:7: note: candidate: 'constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char16_t; _Traits = std::char_traits<char16_t>; _Alloc = std::allocator<char16_t>]'
540 | basic_string(const basic_string& __str)
| ^~~~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:540:7: note: candidate expects 1 argument, 2 provided
/usr/local/include/c++/12.1.0/bits/basic_string.h:528:7: note: candidate: 'constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Alloc&) [with _CharT = char16_t; _Traits = std::char_traits<char16_t>; _Alloc = std::allocator<char16_t>]'
528 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT
| ^~~~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:528:7: note: candidate expects 1 argument, 2 provided
/usr/local/include/c++/12.1.0/bits/basic_string.h:515:7: note: candidate: 'constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string() [with _CharT = char16_t; _Traits = std::char_traits<char16_t>; _Alloc = std::allocator<char16_t>]'
515 | basic_string()
| ^~~~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:515:7: note: candidate expects 0 arguments, 2 provided
/usr/local/include/c++/12.1.0/bits/basic_string.h:188:7: note: candidate: 'constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(__sv_wrapper, const _Alloc&) [with _CharT = char16_t; _Traits = std::char_traits<char16_t>; _Alloc = std::allocator<char16_t>]'
188 | basic_string(__sv_wrapper __svw, const _Alloc& __a)
| ^~~~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:188:33: note: no known conversion for argument 1 from 'const char16_t*' to 'std::__cxx11::basic_string<char16_t>::__sv_wrapper'
188 | basic_string(__sv_wrapper __svw, const _Alloc& __a)
| ~~~~~~~~~~~~~^~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h: In function 'constexpr std::__cxx11::basic_string<char32_t> std::literals::string_literals::operator""s(const char32_t*, size_t)':
/usr/local/include/c++/12.1.0/bits/basic_string.h:4352:49: error: no matching function for call to 'std::__cxx11::basic_string<char32_t>::basic_string(<brace-enclosed initializer list>)'
4352 | { return basic_string<char32_t>{__str, __len}; }
| ^
/usr/local/include/c++/12.1.0/bits/basic_string.h:786:9: note: candidate: 'template<class _Tp, class> constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Tp&, const _Alloc&) [with <template-parameter-2-2> = _Tp; _CharT = char32_t; _Traits = std::char_traits<char32_t>; _Alloc = std::allocator<char32_t>]'
786 | basic_string(const _Tp& __t, const _Alloc& __a = _Alloc())
| ^~~~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:786:9: note: template argument deduction/substitution failed:
/usr/local/include/c++/12.1.0/bits/basic_string.h:751:9: note: candidate: 'template<class _InputIterator, class> constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(_InputIterator, _InputIterator, const _Alloc&) [with <template-parameter-2-2> = _InputIterator; _CharT = char32_t; _Traits = std::char_traits<char32_t>; _Alloc = std::allocator<char32_t>]'
751 | basic_string(_InputIterator __beg, _InputIterator __end,
| ^~~~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:751:9: note: template argument deduction/substitution failed:
/usr/local/include/c++/12.1.0/bits/basic_string.h:4352:49: note: deduced conflicting types for parameter '_InputIterator' ('const char32_t*' and 'long unsigned int')
4352 | { return basic_string<char32_t>{__str, __len}; }
| ^
/usr/local/include/c++/12.1.0/bits/basic_string.h:634:7: note: candidate: 'template<class> constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char32_t; _Traits = std::char_traits<char32_t>; _Alloc = std::allocator<char32_t>]'
634 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc())
| ^~~~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:634:7: note: template argument deduction/substitution failed:
/usr/local/include/c++/12.1.0/bits/basic_string.h:4352:44: note: cannot convert '__len' (type 'size_t' {aka 'long unsigned int'}) to type 'const std::allocator<char32_t>&'
4352 | { return basic_string<char32_t>{__str, __len}; }
| ^~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:708:7: note: candidate: 'constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&, const _Alloc&) [with _CharT = char32_t; _Traits = std::char_traits<char32_t>; _Alloc = std::allocator<char32_t>]'
708 | basic_string(basic_string&& __str, const _Alloc& __a)
| ^~~~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:708:56: note: no known conversion for argument 2 from 'size_t' {aka 'long unsigned int'} to 'const std::allocator<char32_t>&'
708 | basic_string(basic_string&& __str, const _Alloc& __a)
| ~~~~~~~~~~~~~~^~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:703:7: note: candidate: 'constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, const _Alloc&) [with _CharT = char32_t; _Traits = std::char_traits<char32_t>; _Alloc = std::allocator<char32_t>]'
703 | basic_string(const basic_string& __str, const _Alloc& __a)
| ^~~~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:703:61: note: no known conversion for argument 2 from 'size_t' {aka 'long unsigned int'} to 'const std::allocator<char32_t>&'
703 | basic_string(const basic_string& __str, const _Alloc& __a)
| ~~~~~~~~~~~~~~^~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:698:7: note: candidate: 'constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::initializer_list<_Tp>, const _Alloc&) [with _CharT = char32_t; _Traits = std::char_traits<char32_t>; _Alloc = std::allocator<char32_t>]'
698 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc())
| ^~~~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:698:45: note: no known conversion for argument 1 from 'const char32_t*' to 'std::initializer_list<char32_t>'
698 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc())
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:670:7: note: candidate: 'constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&) [with _CharT = char32_t; _Traits = std::char_traits<char32_t>; _Alloc = std::allocator<char32_t>]'
670 | basic_string(basic_string&& __str) noexcept
| ^~~~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:670:7: note: candidate expects 1 argument, 2 provided
/usr/local/include/c++/12.1.0/bits/basic_string.h:540:7: note: candidate: 'constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char32_t; _Traits = std::char_traits<char32_t>; _Alloc = std::allocator<char32_t>]'
540 | basic_string(const basic_string& __str)
| ^~~~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:540:7: note: candidate expects 1 argument, 2 provided
/usr/local/include/c++/12.1.0/bits/basic_string.h:528:7: note: candidate: 'constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Alloc&) [with _CharT = char32_t; _Traits = std::char_traits<char32_t>; _Alloc = std::allocator<char32_t>]'
528 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT
| ^~~~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:528:7: note: candidate expects 1 argument, 2 provided
/usr/local/include/c++/12.1.0/bits/basic_string.h:515:7: note: candidate: 'constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string() [with _CharT = char32_t; _Traits = std::char_traits<char32_t>; _Alloc = std::allocator<char32_t>]'
515 | basic_string()
| ^~~~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:515:7: note: candidate expects 0 arguments, 2 provided
/usr/local/include/c++/12.1.0/bits/basic_string.h:188:7: note: candidate: 'constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(__sv_wrapper, const _Alloc&) [with _CharT = char32_t; _Traits = std::char_traits<char32_t>; _Alloc = std::allocator<char32_t>]'
188 | basic_string(__sv_wrapper __svw, const _Alloc& __a)
| ^~~~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:188:33: note: no known conversion for argument 1 from 'const char32_t*' to 'std::__cxx11::basic_string<char32_t>::__sv_wrapper'
188 | basic_string(__sv_wrapper __svw, const _Alloc& __a)
| ~~~~~~~~~~~~~^~~~~
In file included from /usr/local/include/c++/12.1.0/string:54:
/usr/local/include/c++/12.1.0/bits/basic_string.tcc: In function 'std::basic_istream<_CharT, _Traits>& std::operator>>(basic_istream<_CharT, _Traits>&, __cxx11::basic_string<_CharT, _Traits, _Allocator>&)':
/usr/local/include/c++/12.1.0/bits/basic_string.tcc:962:21: error: 'streamsize' does not name a type
962 | const streamsize __w = __in.width();
| ^~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.tcc:963:39: error: '__w' was not declared in this scope; did you mean '__n'?
963 | const __size_type __n = __w > 0 ? static_cast<__size_type>(__w)
| ^~~
| __n
/usr/local/include/c++/12.1.0/bits/ios_base.h: At global scope:
/usr/local/include/c++/12.1.0/bits/ios_base.h:554:5: error: 'streamsize' does not name a type
554 | streamsize _M_precision;
| ^~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/ios_base.h:555:5: error: 'streamsize' does not name a type
555 | streamsize _M_width;
| ^~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/ios_base.h:727:5: error: 'streamsize' does not name a type
727 | streamsize
| ^~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/ios_base.h:736:5: error: 'streamsize' does not name a type
736 | streamsize
| ^~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/ios_base.h:750:5: error: 'streamsize' does not name a type
750 | streamsize
| ^~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/ios_base.h:759:5: error: 'streamsize' does not name a type
759 | streamsize
| ^~~~~~~~~~
In file included from /usr/local/include/c++/12.1.0/ios:43:
/usr/local/include/c++/12.1.0/streambuf:52:5: error: 'streamsize' does not name a type
52 | streamsize
| ^~~~~~~~~~
/usr/local/include/c++/12.1.0/streambuf:149:14: error: 'streamsize' does not name a type
149 | friend streamsize
| ^~~~~~~~~~
/usr/local/include/c++/12.1.0/streambuf:169:54: error: 'streamsize' has not been declared
169 | friend void __istream_extract(istream&, char*, streamsize);
| ^~~~~~~~~~
/usr/local/include/c++/12.1.0/streambuf:244:33: error: 'streamsize' has not been declared
244 | pubsetbuf(char_type* __s, streamsize __n)
| ^~~~~~~~~~
/usr/local/include/c++/12.1.0/streambuf:288:7: error: 'streamsize' does not name a type
288 | streamsize
| ^~~~~~~~~~
/usr/local/include/c++/12.1.0/streambuf:361:7: error: 'streamsize' does not name a type
361 | streamsize
| ^~~~~~~~~~
/usr/local/include/c++/12.1.0/streambuf:454:7: error: 'streamsize' does not name a type
454 | streamsize
| ^~~~~~~~~~
/usr/local/include/c++/12.1.0/streambuf:596:26: error: 'streamsize' has not been declared
596 | setbuf(char_type*, streamsize)
| ^~~~~~~~~~
/usr/local/include/c++/12.1.0/streambuf:653:15: error: 'streamsize' does not name a type
653 | virtual streamsize
| ^~~~~~~~~~
/usr/local/include/c++/12.1.0/streambuf:669:15: error: 'streamsize' does not name a type
669 | virtual streamsize
| ^~~~~~~~~~
/usr/local/include/c++/12.1.0/streambuf:746:15: error: 'streamsize' does not name a type
746 | virtual streamsize
| ^~~~~~~~~~
/usr/local/include/c++/12.1.0/streambuf:800:20: error: 'streamsize' has not been declared
800 | __safe_gbump(streamsize __n) { _M_in_cur += __n; }
| ^~~~~~~~~~
/usr/local/include/c++/12.1.0/streambuf:803:20: error: 'streamsize' has not been declared
803 | __safe_pbump(streamsize __n) { _M_out_cur += __n; }
| ^~~~~~~~~~
/usr/local/include/c++/12.1.0/streambuf:843:5: error: 'streamsize' does not name a type
843 | streamsize
| ^~~~~~~~~~
/usr/local/include/c++/12.1.0/streambuf:848:5: error: 'streamsize' does not name a type
848 | streamsize
| ^~~~~~~~~~
In file included from /usr/local/include/c++/12.1.0/streambuf:858:
/usr/local/include/c++/12.1.0/bits/streambuf.tcc:44:5: error: 'streamsize' does not name a type
44 | streamsize
| ^~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/streambuf.tcc:78:5: error: 'streamsize' does not name a type
78 | streamsize
| ^~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/streambuf.tcc:115:5: error: 'streamsize' does not name a type
115 | streamsize
| ^~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/streambuf.tcc:138:12: error: 'streamsize' does not name a type
138 | inline streamsize
| ^~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/streambuf.tcc:152:5: error: 'streamsize' is not a template function
152 | streamsize
| ^~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/streambuf.tcc:152:15: error: expected ';' before '__copy_streambufs'
152 | streamsize
| ^
| ;
153 | __copy_streambufs(basic_streambuf<char>*,
| ~~~~~~~~~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/streambuf.tcc:160:5: error: 'streamsize' is not a template function
160 | streamsize
| ^~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/streambuf.tcc:160:15: error: expected ';' before '__copy_streambufs'
160 | streamsize
| ^
| ;
161 | __copy_streambufs(basic_streambuf<wchar_t>*,
| ~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/c++/12.1.0/bits/locale_facets.h:48,
from /usr/local/include/c++/12.1.0/bits/basic_ios.h:37,
from /usr/local/include/c++/12.1.0/ios:44:
/usr/local/include/c++/12.1.0/bits/streambuf_iterator.h:323:34: error: 'streamsize' has not been declared
323 | _M_put(const _CharT* __ws, streamsize __len)
| ^~~~~~~~~~
/usr/local/include/c++/12.1.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> >)':
/usr/local/include/c++/12.1.0/bits/streambuf_iterator.h:358:13: error: 'streamsize' does not name a type
358 | const streamsize __num = __last - __first;
| ^~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/streambuf_iterator.h:359:11: error: '__num' was not declared in this scope
359 | if (__num > 0)
| ^~~~~
/usr/local/include/c++/12.1.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> >)':
/usr/local/include/c++/12.1.0/bits/streambuf_iterator.h:370:13: error: 'streamsize' does not name a type
370 | const streamsize __num = __last - __first;
| ^~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/streambuf_iterator.h:371:11: error: '__num' was not declared in this scope
371 | if (__num > 0)
| ^~~~~
/usr/local/include/c++/12.1.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*)':
/usr/local/include/c++/12.1.0/bits/streambuf_iterator.h:393:21: error: 'streamsize' does not name a type
393 | const streamsize __n = __sb->egptr() - __sb->gptr();
| ^~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/streambuf_iterator.h:394:19: error: '__n' was not declared in this scope; did you mean '__c'?
394 | if (__n > 1)
| ^~~
| __c
/usr/local/include/c++/12.1.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&)':
/usr/local/include/c++/12.1.0/bits/streambuf_iterator.h:451:15: error: 'streamsize' was not declared in this scope
451 | streamsize __n = __sb->egptr() - __sb->gptr();
| ^~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/streambuf_iterator.h:452:19: error: '__n' was not declared in this scope; did you mean '__c'?
452 | if (__n > 1)
| ^~~
| __c
/usr/local/include/c++/12.1.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)':
/usr/local/include/c++/12.1.0/bits/streambuf_iterator.h:493:11: error: 'streamsize' was not declared in this scope
493 | streamsize __size = __sb->egptr() - __sb->gptr();
| ^~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/streambuf_iterator.h:494:15: error: '__size' was not declared in this scope; did you mean 'ssize'?
494 | if (__size > __n)
| ^~~~~~
| ssize
/usr/local/include/c++/12.1.0/bits/streambuf_iterator.h:500:30: error: '__size' was not declared in this scope; did you mean 'ssize'?
500 | __sb->__safe_gbump(__size);
| ^~~~~~
| ssize
/usr/local/include/c++/12.1.0/bits/locale_facets.h: At global scope:
/usr/local/include/c++/12.1.0/bits/locale_facets.h:102:36: error: 'streamsize' has not been declared
102 | const _CharT* __olds, streamsize __newlen, streamsize __oldlen);
| ^~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/locale_facets.h:102:57: error: 'streamsize' has not been declared
102 | const _CharT* __olds, streamsize __newlen, streamsize __oldlen);
| ^~~~~~~~~~
/usr/local/include/c++/12.1.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 /usr/local/include/c++/12.1.0/bits/locale_facets.h:2687:
/usr/local/include/c++/12.1.0/bits/locale_facets.tcc: In member function 'void std::__numpunct_cache<_CharT>::_M_cache(const std::locale&)':
/usr/local/include/c++/12.1.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();
| ^~~~
/usr/local/include/c++/12.1.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);
| ^~~~
/usr/local/include/c++/12.1.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':
/usr/local/include/c++/12.1.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);
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:1167:7: note: candidate: 'constexpr void std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::reserve() [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
1167 | reserve();
| ^~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:1167:7: note: candidate expects 0 arguments, 1 provided
/usr/local/include/c++/12.1.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())
| ^~~~
/usr/local/include/c++/12.1.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)
| ^~~~
/usr/local/include/c++/12.1.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())
| ^~~~
/usr/local/include/c++/12.1.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':
/usr/local/include/c++/12.1.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);
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:1167:7: note: candidate: 'constexpr void std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::reserve() [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
1167 | reserve();
| ^~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:1167:7: note: candidate expects 0 arguments, 1 provided
/usr/local/include/c++/12.1.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())
| ^~~~
/usr/local/include/c++/12.1.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())
| ^~~~
/usr/local/include/c++/12.1.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':
/usr/local/include/c++/12.1.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);
| ~~~~~~~~~~~~~~^~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:1167:7: note: candidate: 'constexpr void std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::reserve() [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
1167 | reserve();
| ^~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:1167:7: note: candidate expects 0 arguments, 1 provided
/usr/local/include/c++/12.1.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':
/usr/local/include/c++/12.1.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);
| ~~~~~~~~~~~~~~^~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:1167:7: note: candidate: 'constexpr void std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::reserve() [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
1167 | reserve();
| ^~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:1167:7: note: candidate expects 0 arguments, 1 provided
/usr/local/include/c++/12.1.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':
/usr/local/include/c++/12.1.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);
| ~~~~~~~~~~~~~~^~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:1167:7: note: candidate: 'constexpr void std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::reserve() [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
1167 | reserve();
| ^~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:1167:7: note: candidate expects 0 arguments, 1 provided
/usr/local/include/c++/12.1.0/bits/locale_facets.tcc: At global scope:
/usr/local/include/c++/12.1.0/bits/locale_facets.tcc:798:27: error: 'streamsize' has not been declared
798 | _M_pad(_CharT __fill, streamsize __w, ios_base& __io,
| ^~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/locale_facets.tcc: In member function '_OutIter std::num_put<_CharT, _OutIter>::_M_insert_int(_OutIter, std::ios_base&, _CharT, _ValueT) const':
/usr/local/include/c++/12.1.0/bits/locale_facets.tcc:939:15: error: 'streamsize' does not name a type
939 | const streamsize __w = __io.width();
| ^~~~~~~~~~
/usr/local/include/c++/12.1.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
/usr/local/include/c++/12.1.0/bits/locale_facets.tcc:940:31: error: 'streamsize' does not name a type
940 | if (__w > static_cast<streamsize>(__len))
| ^~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/locale_facets.tcc:947:14: error: 'class std::ios_base' has no member named 'width'
947 | __io.width(0);
| ^~~~~
/usr/local/include/c++/12.1.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':
/usr/local/include/c++/12.1.0/bits/locale_facets.tcc:1002:15: error: 'streamsize' does not name a type
1002 | const streamsize __prec = __io.precision() < 0 ? 6 : __io.precision();
| ^~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/locale_facets.tcc:1024:49: error: '__prec' was not declared in this scope; did you mean '__xref'?
1024 | __fbuf, __prec, __v);
| ^~~~~~
| __xref
/usr/local/include/c++/12.1.0/bits/locale_facets.tcc:1036:53: error: '__prec' was not declared in this scope; did you mean '__xref'?
1036 | __fbuf, __prec, __v);
| ^~~~~~
| __xref
/usr/local/include/c++/12.1.0/bits/locale_facets.tcc:1089:13: error: 'streamsize' was not declared in this scope
1089 | streamsize __off = 0;
| ^~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/locale_facets.tcc:1092:17: error: '__off' was not declared in this scope
1092 | __off = 1;
| ^~~~~
/usr/local/include/c++/12.1.0/bits/locale_facets.tcc:1098:66: error: '__off' was not declared in this scope
1098 | __lc->_M_thousands_sep, __wp, __ws2 + __off,
| ^~~~~
/usr/local/include/c++/12.1.0/bits/locale_facets.tcc:1106:15: error: 'streamsize' does not name a type
1106 | const streamsize __w = __io.width();
| ^~~~~~~~~~
/usr/local/include/c++/12.1.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
/usr/local/include/c++/12.1.0/bits/locale_facets.tcc:1107:31: error: 'streamsize' does not name a type
1107 | if (__w > static_cast<streamsize>(__len))
| ^~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/locale_facets.tcc:1114:14: error: 'class std::ios_base' has no member named 'width'
1114 | __io.width(0);
| ^~~~~
/usr/local/include/c++/12.1.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':
/usr/local/include/c++/12.1.0/bits/locale_facets.tcc:1144:17: error: 'streamsize' does not name a type
1144 | const streamsize __w = __io.width();
| ^~~~~~~~~~
/usr/local/include/c++/12.1.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
/usr/local/include/c++/12.1.0/bits/locale_facets.tcc:1145:33: error: 'streamsize' does not name a type
1145 | if (__w > static_cast<streamsize>(__len))
| ^~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/locale_facets.tcc:1147:21: error: 'streamsize' does not name a type
1147 | const streamsize __plen = __w - __len;
| ^~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/locale_facets.tcc:1150:59: error: '__plen' was not declared in this scope; did you mean '__len'?
1150 | * __plen));
| ^~~~~~
| __len
/usr/local/include/c++/12.1.0/bits/locale_facets.tcc:1153:20: error: 'class std::ios_base' has no member named 'width'
1153 | __io.width(0);
| ^~~~~
/usr/local/include/c++/12.1.0/bits/locale_facets.tcc:1167:16: error: 'class std::ios_base' has no member named 'width'
1167 | __io.width(0);
| ^~~~~
/usr/local/include/c++/12.1.0/bits/locale_facets.tcc: At global scope:
/usr/local/include/c++/12.1.0/bits/locale_facets.tcc:1237:36: error: 'streamsize' has not been declared
1237 | streamsize __newlen, streamsize __oldlen)
| ^~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/locale_facets.tcc:1237:57: error: 'streamsize' has not been declared
1237 | streamsize __newlen, streamsize __oldlen)
| ^~~~~~~~~~
/usr/local/include/c++/12.1.0/ostream:335:35: error: 'streamsize' has not been declared
335 | write(const char_type* __s, streamsize __n);
| ^~~~~~~~~~
/usr/local/include/c++/12.1.0/ostream:420:38: error: 'streamsize' has not been declared
420 | _M_write(const char_type* __s, streamsize __n)
| ^~~~~~~~~~
/usr/local/include/c++/12.1.0/ostream: In function 'std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const _CharT*)':
/usr/local/include/c++/12.1.0/ostream:604:38: error: 'streamsize' does not name a type
604 | static_cast<streamsize>(_Traits::length(__s)));
| ^~~~~~~~~~
/usr/local/include/c++/12.1.0/ostream: In function 'std::basic_ostream<char, _Traits>& std::operator<<(basic_ostream<char, _Traits>&, const char*)':
/usr/local/include/c++/12.1.0/ostream:621:38: error: 'streamsize' does not name a type
621 | static_cast<streamsize>(_Traits::length(__s)));
| ^~~~~~~~~~
In file included from /usr/local/include/c++/12.1.0/ostream:833:
/usr/local/include/c++/12.1.0/bits/ostream.tcc: At global scope:
/usr/local/include/c++/12.1.0/bits/ostream.tcc:183:30: error: 'streamsize' has not been declared
183 | write(const _CharT* __s, streamsize __n)
| ^~~~~~~~~~
In file included from /usr/local/include/c++/12.1.0/iostream:40:
/usr/local/include/c++/12.1.0/istream:82:7: error: 'streamsize' does not name a type
82 | streamsize _M_gcount;
| ^~~~~~~~~~
/usr/local/include/c++/12.1.0/istream:268:7: error: 'streamsize' does not name a type
268 | streamsize
| ^~~~~~~~~~
/usr/local/include/c++/12.1.0/istream:343:27: error: 'streamsize' has not been declared
343 | get(char_type* __s, streamsize __n, char_type __delim);
| ^~~~~~~~~~
/usr/local/include/c++/12.1.0/istream:354:27: error: 'streamsize' has not been declared
354 | get(char_type* __s, streamsize __n)
| ^~~~~~~~~~
/usr/local/include/c++/12.1.0/istream:416:31: error: 'streamsize' has not been declared
416 | getline(char_type* __s, streamsize __n, char_type __delim);
| ^~~~~~~~~~
/usr/local/include/c++/12.1.0/istream:427:31: error: 'streamsize' has not been declared
427 | getline(char_type* __s, streamsize __n)
| ^~~~~~~~~~
/usr/local/include/c++/12.1.0/istream:451:14: error: 'streamsize' has not been declared
451 | ignore(streamsize __n, int_type __delim);
| ^~~~~~~~~~
/usr/local/include/c++/12.1.0/istream:454:14: error: 'streamsize' has not been declared
454 | ignore(streamsize __n);
| ^~~~~~~~~~
/usr/local/include/c++/12.1.0/istream:486:28: error: 'streamsize' has not been declared
486 | read(char_type* __s, streamsize __n);
| ^~~~~~~~~~
/usr/local/include/c++/12.1.0/istream:504:7: error: 'streamsize' does not name a type
504 | streamsize
| ^~~~~~~~~~
/usr/local/include/c++/12.1.0/istream: In constructor 'std::basic_istream<_CharT, _Traits>::basic_istream(__streambuf_type*)':
/usr/local/include/c++/12.1.0/istream:94:9: error: class 'std::basic_istream<_CharT, _Traits>' does not have any field named '_M_gcount'
94 | : _M_gcount(streamsize(0))
| ^~~~~~~~~
/usr/local/include/c++/12.1.0/istream:94:19: error: there are no arguments to 'streamsize' that depend on a template parameter, so a declaration of 'streamsize' must be available [-fpermissive]
94 | : _M_gcount(streamsize(0))
| ^~~~~~~~~~
/usr/local/include/c++/12.1.0/istream:94:19: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
/usr/local/include/c++/12.1.0/istream: In destructor 'virtual std::basic_istream<_CharT, _Traits>::~basic_istream()':
/usr/local/include/c++/12.1.0/istream:104:9: error: '_M_gcount' was not declared in this scope
104 | { _M_gcount = streamsize(0); }
| ^~~~~~~~~
/usr/local/include/c++/12.1.0/istream:104:21: error: there are no arguments to 'streamsize' that depend on a template parameter, so a declaration of 'streamsize' must be available [-fpermissive]
104 | { _M_gcount = streamsize(0); }
| ^~~~~~~~~~
/usr/local/include/c++/12.1.0/istream: In constructor 'std::basic_istream<_CharT, _Traits>::basic_istream()':
/usr/local/include/c++/12.1.0/istream:607:9: error: class 'std::basic_istream<_CharT, _Traits>' does not have any field named '_M_gcount'
607 | : _M_gcount(streamsize(0))
| ^~~~~~~~~
/usr/local/include/c++/12.1.0/istream:607:19: error: there are no arguments to 'streamsize' that depend on a template parameter, so a declaration of 'streamsize' must be available [-fpermissive]
607 | : _M_gcount(streamsize(0))
| ^~~~~~~~~~
/usr/local/include/c++/12.1.0/istream: In constructor 'std::basic_istream<_CharT, _Traits>::basic_istream(std::basic_istream<_CharT, _Traits>&&)':
/usr/local/include/c++/12.1.0/istream:614:23: error: class 'std::basic_istream<_CharT, _Traits>' does not have any field named '_M_gcount'
614 | : __ios_type(), _M_gcount(__rhs._M_gcount)
| ^~~~~~~~~
/usr/local/include/c++/12.1.0/istream: In member function 'void std::basic_istream<_CharT, _Traits>::swap(std::basic_istream<_CharT, _Traits>&)':
/usr/local/include/c++/12.1.0/istream:635:19: error: '_M_gcount' was not declared in this scope
635 | std::swap(_M_gcount, __rhs._M_gcount);
| ^~~~~~~~~
/usr/local/include/c++/12.1.0/istream: At global scope:
/usr/local/include/c++/12.1.0/istream:648:29: error: 'streamsize' has not been declared
648 | getline(char_type* __s, streamsize __n, char_type __delim);
| ^~~~~~~~~~
/usr/local/include/c++/12.1.0/istream:652:5: error: 'std::basic_istream<char>& std::basic_istream<char>::ignore' is not a static data member of 'class std::basic_istream<char>'
652 | basic_istream<char>::
| ^~~~~~~~~~~~~~~~~~~
/usr/local/include/c++/12.1.0/istream:653:12: error: 'streamsize' was not declared in this scope
653 | ignore(streamsize __n);
| ^~~~~~~~~~
/usr/local/include/c++/12.1.0/istream:657:5: error: 'std::basic_istream<char>& std::basic_istream<char>::ignore' is not a static data member of 'class std::basic_istream<char>'
657 | basic_istream<char>::
| ^~~~~~~~~~~~~~~~~~~
/usr/local/include/c++/12.1.0/istream:658:12: error: 'streamsize' was not declared in this scope
658 | ignore(streamsize __n, int_type __delim);
| ^~~~~~~~~~
/usr/local/include/c++/12.1.0/istream:658:37: error: expected primary-expression before '__delim'
658 | ignore(streamsize __n, int_type __delim);
| ^~~~~~~
/usr/local/include/c++/12.1.0/istream:658:44: error: expression list treated as compound expression in initializer [-fpermissive]
658 | ignore(streamsize __n, int_type __delim);
| ^
/usr/local/include/c++/12.1.0/istream:664:29: error: 'streamsize' has not been declared
664 | getline(char_type* __s, streamsize __n, char_type __delim);
| ^~~~~~~~~~
/usr/local/include/c++/12.1.0/istream:668: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>'
668 | basic_istream<wchar_t>::
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/c++/12.1.0/istream:669:12: error: 'streamsize' was not declared in this scope
669 | ignore(streamsize __n);
| ^~~~~~~~~~
/usr/local/include/c++/12.1.0/istream:673: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>'
673 | basic_istream<wchar_t>::
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/c++/12.1.0/istream:674:12: error: 'streamsize' was not declared in this scope
674 | ignore(streamsize __n, int_type __delim);
| ^~~~~~~~~~
/usr/local/include/c++/12.1.0/istream:674:37: error: expected primary-expression before '__delim'
674 | ignore(streamsize __n, int_type __delim);
| ^~~~~~~
/usr/local/include/c++/12.1.0/istream:674:44: error: expression list treated as compound expression in initializer [-fpermissive]
674 | ignore(streamsize __n, int_type __delim);
| ^
/usr/local/include/c++/12.1.0/istream:768:65: error: 'streamsize' has not been declared
768 | __istream_extract(basic_istream<_CharT, _Traits>&, _CharT*, streamsize);
| ^~~~~~~~~~
/usr/local/include/c++/12.1.0/istream:770:43: error: 'streamsize' has not been declared
770 | void __istream_extract(istream&, char*, streamsize);
| ^~~~~~~~~~
/usr/local/include/c++/12.1.0/istream: In function 'std::basic_istream<_CharT, _Traits>& std::operator>>(basic_istream<_CharT, _Traits>&, _CharT (&)[_Num])':
/usr/local/include/c++/12.1.0/istream:840:57: error: 'streamsize' was not declared in this scope
840 | static_assert(_Num <= __gnu_cxx::__numeric_traits<streamsize>::__max);
| ^~~~~~~~~~
/usr/local/include/c++/12.1.0/istream:840:67: error: template argument 1 is invalid
840 | static_assert(_Num <= __gnu_cxx::__numeric_traits<streamsize>::__max);
| ^
In file included from /usr/local/include/c++/12.1.0/istream:995:
/usr/local/include/c++/12.1.0/bits/istream.tcc: In member function 'std::basic_istream<_CharT, _Traits>::int_type std::basic_istream<_CharT, _Traits>::get()':
/usr/local/include/c++/12.1.0/bits/istream.tcc:250:7: error: '_M_gcount' was not declared in this scope
250 | _M_gcount = 0;
| ^~~~~~~~~
/usr/local/include/c++/12.1.0/bits/istream.tcc: In member function 'std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::get(char_type&)':
/usr/local/include/c++/12.1.0/bits/istream.tcc:284:7: error: '_M_gcount' was not declared in this scope
284 | _M_gcount = 0;
| ^~~~~~~~~
/usr/local/include/c++/12.1.0/bits/istream.tcc: At global scope:
/usr/local/include/c++/12.1.0/bits/istream.tcc:319:25: error: 'streamsize' has not been declared
319 | get(char_type* __s, streamsize __n, char_type __delim)
| ^~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/istream.tcc: In member function 'std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::get(char_type*, int, char_type)':
/usr/local/include/c++/12.1.0/bits/istream.tcc:321:7: error: '_M_gcount' was not declared in this scope
321 | _M_gcount = 0;
| ^~~~~~~~~
/usr/local/include/c++/12.1.0/bits/istream.tcc: In member function 'std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::get(__streambuf_type&, char_type)':
/usr/local/include/c++/12.1.0/bits/istream.tcc:368:7: error: '_M_gcount' was not declared in this scope
368 | _M_gcount = 0;
| ^~~~~~~~~
/usr/local/include/c++/12.1.0/bits/istream.tcc:394:59: error: 'streamsize' was not declared in this scope
394 | if (__gcount <= __gnu_cxx::__numeric_traits<streamsize>::__max)
| ^~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/istream.tcc:394:69: error: template argument 1 is invalid
394 | if (__gcount <= __gnu_cxx::__numeric_traits<streamsize>::__max)
| ^
/usr/local/include/c++/12.1.0/bits/istream.tcc: At global scope:
/usr/local/include/c++/12.1.0/bits/istream.tcc:417:29: error: 'streamsize' has not been declared
417 | getline(char_type* __s, streamsize __n, char_type __delim)
| ^~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/istream.tcc: In member function 'std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::getline(char_type*, int, char_type)':
/usr/local/include/c++/12.1.0/bits/istream.tcc:419:7: error: '_M_gcount' was not declared in this scope
419 | _M_gcount = 0;
| ^~~~~~~~~
/usr/local/include/c++/12.1.0/bits/istream.tcc: In member function 'std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::ignore()':
/usr/local/include/c++/12.1.0/bits/istream.tcc:479:7: error: '_M_gcount' was not declared in this scope
479 | _M_gcount = 0;
| ^~~~~~~~~
/usr/local/include/c++/12.1.0/bits/istream.tcc: At global scope:
/usr/local/include/c++/12.1.0/bits/istream.tcc:509: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>'
509 | basic_istream<_CharT, _Traits>::
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/istream.tcc:510:12: error: template definition of non-template 'std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::ignore'
510 | ignore(streamsize __n)
| ^~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/istream.tcc:510:12: error: 'streamsize' was not declared in this scope
/usr/local/include/c++/12.1.0/bits/istream.tcc:579: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>'
579 | basic_istream<_CharT, _Traits>::
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/istream.tcc:580:12: error: template definition of non-template 'std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::ignore'
580 | ignore(streamsize __n, int_type __delim)
| ^~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/istream.tcc:580:12: error: 'streamsize' was not declared in this scope
/usr/local/include/c++/12.1.0/bits/istream.tcc:580:37: error: expected primary-expression before '__delim'
580 | ignore(streamsize __n, int_type __delim)
| ^~~~~~~
/usr/local/include/c++/12.1.0/bits/istream.tcc: In member function 'std::basic_istream<_CharT, _Traits>::int_type std::basic_istream<_CharT, _Traits>::peek()':
/usr/local/include/c++/12.1.0/bits/istream.tcc:660:7: error: '_M_gcount' was not declared in this scope
660 | _M_gcount = 0;
| ^~~~~~~~~
/usr/local/include/c++/12.1.0/bits/istream.tcc: At global scope:
/usr/local/include/c++/12.1.0/bits/istream.tcc:687:26: error: 'streamsize' has not been declared
687 | read(char_type* __s, streamsize __n)
| ^~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/istream.tcc: In member function 'std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::read(char_type*, int)':
/usr/local/include/c++/12.1.0/bits/istream.tcc:689:7: error: '_M_gcount' was not declared in this scope
689 | _M_gcount = 0;
| ^~~~~~~~~
/usr/local/include/c++/12.1.0/bits/istream.tcc: At global scope:
/usr/local/include/c++/12.1.0/bits/istream.tcc:714:5: error: 'streamsize' does not name a type
714 | streamsize
| ^~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/istream.tcc: In member function 'std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::putback(char_type)':
/usr/local/include/c++/12.1.0/bits/istream.tcc:752:7: error: '_M_gcount' was not declared in this scope
752 | _M_gcount = 0;
| ^~~~~~~~~
/usr/local/include/c++/12.1.0/bits/istream.tcc: In member function 'std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::unget()':
/usr/local/include/c++/12.1.0/bits/istream.tcc:787:7: error: '_M_gcount' was not declared in this scope
787 | _M_gcount = 0;
| ^~~~~~~~~
/usr/local/include/c++/12.1.0/bits/istream.tcc: At global scope:
/usr/local/include/c++/12.1.0/bits/istream.tcc:993:23: error: 'streamsize' has not been declared
993 | streamsize __num)
| ^~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/istream.tcc: In function 'void std::__istream_extract(basic_istream<_CharT, _Traits>&, _CharT*, int)':
/usr/local/include/c++/12.1.0/bits/istream.tcc:1001:7: error: 'streamsize' was not declared in this scope
1001 | streamsize __extracted = 0;
| ^~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/istream.tcc:1009:25: error: expected ';' before '__width'
1009 | streamsize __width = __in.width();
| ^~~~~~~~
| ;
/usr/local/include/c++/12.1.0/bits/istream.tcc:1010:23: error: '__width' was not declared in this scope; did you mean 'wcwidth'?
1010 | if (0 < __width && __width < __num)
| ^~~~~~~
| wcwidth
/usr/local/include/c++/12.1.0/bits/istream.tcc:1019:22: error: '__extracted' was not declared in this scope
1019 | while (__extracted < __num - 1
| ^~~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/istream.tcc:1029:19: error: '__extracted' was not declared in this scope
1029 | if (__extracted < __num - 1
| ^~~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/istream.tcc:1046:12: error: '__extracted' was not declared in this scope
1046 | if (!__extracted)
| ^~~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/istream.tcc: At global scope:
/usr/local/include/c++/12.1.0/bits/istream.tcc:1131:63: error: 'streamsize' has not been declared
1131 | extern template void __istream_extract(wistream&, wchar_t*, streamsize);
| ^~~~~~~~~~
p26.cpp: In function 'int main()':
p26.cpp:45:10: error: 'msg' was not declared in this scope
45 | cout<< msg << endl;
| ^~~
/usr/local/include/c++/12.1.0/bits/basic_string.h: In instantiation of 'constexpr std::__cxx11::basic_string<_CharT, _Traits, _Allocator> std::operator+(__cxx11::basic_string<_CharT, _Traits, _Allocator>&&, __cxx11::basic_string<_CharT, _Traits, _Allocator>&&) [with _CharT = char; _Traits = char_traits<char>; _Alloc = allocator<char>]':
/usr/local/include/c++/12.1.0/system_error:456:50: required from here
/usr/local/include/c++/12.1.0/bits/basic_string.h:3529:37: error: 'class std::__cxx11::basic_string<char>' has no member named 'size'
3529 | const auto __size = __lhs.size() + __rhs.size();
| ~~~~~~^~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:3529:52: error: 'class std::__cxx11::basic_string<char>' has no member named 'size'
3529 | const auto __size = __lhs.size() + __rhs.size();
| ~~~~~~^~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:3530:30: error: 'class std::__cxx11::basic_string<char>' has no member named 'capacity'
3530 | if (__size > __lhs.capacity() && __size <= __rhs.capacity())
| ~~~~~~^~~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:3530:60: error: 'class std::__cxx11::basic_string<char>' has no member named 'capacity'
3530 | if (__size > __lhs.capacity() && __size <= __rhs.capacity())
| ~~~~~~^~~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:3531:42: error: no matching function for call to 'std::__cxx11::basic_string<char>::insert(int, std::__cxx11::basic_string<char>&)'
3531 | return std::move(__rhs.insert(0, __lhs));
| ~~~~~~~~~~~~^~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:1794:9: note: candidate: 'template<class _InputIterator, class> constexpr 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>]'
1794 | insert(const_iterator __p, _InputIterator __beg, _InputIterator __end)
| ^~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:1794:9: note: template argument deduction/substitution failed:
/usr/local/include/c++/12.1.0/bits/basic_string.h:3531:42: note: candidate expects 3 arguments, 2 provided
3531 | return std::move(__rhs.insert(0, __lhs));
| ~~~~~~~~~~~~^~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:1829:7: note: candidate: 'constexpr 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]'
1829 | insert(const_iterator __p, initializer_list<_CharT> __l)
| ^~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:1829:29: note: no known conversion for argument 1 from 'int' to 'std::__cxx11::basic_string<char>::const_iterator'
1829 | insert(const_iterator __p, initializer_list<_CharT> __l)
| ~~~~~~~~~~~~~~~^~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:1969:7: note: candidate: 'constexpr 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]'
1969 | insert(__const_iterator __p, _CharT __c)
| ^~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:1969: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'}
1969 | insert(__const_iterator __p, _CharT __c)
| ~~~~~~~~~~~~~~~~~^~~
/usr/local/include/c++/12.1.0/type_traits: In instantiation of 'struct std::__is_array_known_bounds<const std::__cxx11::basic_string<char> >':
/usr/local/include/c++/12.1.0/type_traits:3404:12: required from 'struct std::is_bounded_array<const std::__cxx11::basic_string<char> >'
/usr/local/include/c++/12.1.0/type_traits:3419:32: required from 'constexpr const bool std::is_bounded_array_v<const std::__cxx11::basic_string<char> >'
/usr/local/include/c++/12.1.0/bits/ranges_base.h:162:11: required by substitution of 'template<class _Tp> requires (__maybe_borrowed_range<_Tp>) && ((is_bounded_array_v<typename std::remove_reference<_Tp>::type>) || (__member_end<_Tp>) || (__adl_end<_Tp>)) constexpr auto std::ranges::__cust_access::_End::operator()(_Tp&&) const [with _Tp = const std::__cxx11::basic_string<char>&]'
/usr/local/include/c++/12.1.0/bits/ranges_base.h:586:13: required by substitution of 'template<class _Range, class _DRange> requires !(is_same_v<_DRange, std::basic_string_view>) && (contiguous_range<_Range>) && (sized_range<_Range>) && (is_same_v<typename std::__detail::__iter_traits_impl<typename std::remove_cvref<decltype(std::ranges::__cust_access::__begin((declval<_Range&>)()))>::type, std::indirectly_readable_traits<typename std::remove_cvref<decltype(std::ranges::__cust_access::__begin((declval<_Range&>)()))>::type> >::__iter_traits<typename std::remove_cvref<decltype(std::ranges::__cust_access::__begin((declval<_Range&>)()))>::type, std::indirectly_readable_traits<typename std::remove_cvref<decltype(std::ranges::__cust_access::__begin((declval<_Range&>)()))>::type> >::value_type, _CharT>) && !(is_convertible_v<_Range, const _CharT*>) && !requires(_DRange& __d) {__d->__conv_op ();} && (!requires{typename _DRange::traits_type;} || (is_same_v<typename _DRange::traits_type, _Traits>)) constexpr std::basic_string_view<char>::basic_string_view(_Range&&) [with _Range = char; _DRange = std::char_traits<char>]'
/usr/local/include/c++/12.1.0/type_traits:1467:45: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
/usr/local/include/c++/12.1.0/type_traits:1482:12: required from 'struct std::is_convertible<const std::__cxx11::basic_string<char>&, std::basic_string_view<char> >'
/usr/local/include/c++/12.1.0/type_traits:172:12: required from 'struct std::__and_<std::is_convertible<const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, std::basic_string_view<char, std::char_traits<char> > >, std::__not_<std::is_convertible<const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*> >, std::__not_<std::is_convertible<const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, const char*> > >'
/usr/local/include/c++/12.1.0/bits/basic_string.h:156:8: required by substitution of 'template<class _CharT, class _Traits, class _Alloc> template<class _Tp, class _Res> using _If_sv = std::enable_if_t<std::__and_<std::is_convertible<const _Tp&, std::basic_string_view<_CharT, _Traits> >, std::__not_<std::is_convertible<const _Tp*, const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>*> >, std::__not_<std::is_convertible<const _Tp&, const _CharT*> > >::value, _Res> [with _Tp = std::__cxx11::basic_string<char>; _Res = std::__cxx11::basic_string<char>&; _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
/usr/local/include/c++/12.1.0/bits/basic_string.h:1493:9: required by substitution of 'template<class _Tp> constexpr std::__cxx11::basic_string<char>::_If_sv<_Tp, std::__cxx11::basic_string<char>&> std::__cxx11::basic_string<char>::append(const _Tp&) [with _Tp = std::__cxx11::basic_string<char>]'
/usr/local/include/c++/12.1.0/bits/basic_string.h:3533:36: required from 'constexpr std::__cxx11::basic_string<_CharT, _Traits, _Allocator> std::operator+(__cxx11::basic_string<_CharT, _Traits, _Allocator>&&, __cxx11::basic_string<_CharT, _Traits, _Allocator>&&) [with _CharT = char; _Traits = char_traits<char>; _Alloc = allocator<char>]'
/usr/local/include/c++/12.1.0/system_error:456:50: required from here
/usr/local/include/c++/12.1.0/type_traits:852:52: error: 'value' is not a member of 'std::extent<const std::__cxx11::basic_string<char>, 0>'
852 | : public integral_constant<bool, (extent<_Tp>::value > 0)>
| ^~~~~
/usr/local/include/c++/12.1.0/type_traits: In instantiation of 'constexpr const bool std::is_bounded_array_v<const std::__cxx11::basic_string<char> >':
/usr/local/include/c++/12.1.0/bits/ranges_base.h:162:11: required by substitution of 'template<class _Tp> requires (__maybe_borrowed_range<_Tp>) && ((is_bounded_array_v<typename std::remove_reference<_Tp>::type>) || (__member_end<_Tp>) || (__adl_end<_Tp>)) constexpr auto std::ranges::__cust_access::_End::operator()(_Tp&&) const [with _Tp = const std::__cxx11::basic_string<char>&]'
/usr/local/include/c++/12.1.0/bits/ranges_base.h:586:13: required by substitution of 'template<class _Range, class _DRange> requires !(is_same_v<_DRange, std::basic_string_view>) && (contiguous_range<_Range>) && (sized_range<_Range>) && (is_same_v<typename std::__detail::__iter_traits_impl<typename std::remove_cvref<decltype(std::ranges::__cust_access::__begin((declval<_Range&>)()))>::type, std::indirectly_readable_traits<typename std::remove_cvref<decltype(std::ranges::__cust_access::__begin((declval<_Range&>)()))>::type> >::__iter_traits<typename std::remove_cvref<decltype(std::ranges::__cust_access::__begin((declval<_Range&>)()))>::type, std::indirectly_readable_traits<typename std::remove_cvref<decltype(std::ranges::__cust_access::__begin((declval<_Range&>)()))>::type> >::value_type, _CharT>) && !(is_convertible_v<_Range, const _CharT*>) && !requires(_DRange& __d) {__d->__conv_op ();} && (!requires{typename _DRange::traits_type;} || (is_same_v<typename _DRange::traits_type, _Traits>)) constexpr std::basic_string_view<char>::basic_string_view(_Range&&) [with _Range = char; _DRange = std::char_traits<char>]'
/usr/local/include/c++/12.1.0/type_traits:1467:45: required by substitution of 'template<class _From1, class _To1, class> static std::true_type std::__is_convertible_helper<const std::__cxx11::basic_string<char>&, std::basic_string_view<char>, false>::__test(int) [with _From1 = const std::__cxx11::basic_string<char>&; _To1 = std::basic_string_view<char>; <template-parameter-1-3> = <missing>]'
/usr/local/include/c++/12.1.0/type_traits:1476:42: required from 'struct std::__is_convertible_helper<const std::__cxx11::basic_string<char>&, std::basic_string_view<char>, false>'
/usr/local/include/c++/12.1.0/type_traits:1482:12: required from 'struct std::is_convertible<const std::__cxx11::basic_string<char>&, std::basic_string_view<char> >'
/usr/local/include/c++/12.1.0/type_traits:172:12: required from 'struct std::__and_<std::is_convertible<const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, std::basic_string_view<char, std::char_traits<char> > >, std::__not_<std::is_convertible<const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*> >, std::__not_<std::is_convertible<const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, const char*> > >'
/usr/local/include/c++/12.1.0/bits/basic_string.h:156:8: required by substitution of 'template<class _CharT, class _Traits, class _Alloc> template<class _Tp, class _Res> using _If_sv = std::enable_if_t<std::__and_<std::is_convertible<const _Tp&, std::basic_string_view<_CharT, _Traits> >, std::__not_<std::is_convertible<const _Tp*, const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>*> >, std::__not_<std::is_convertible<const _Tp&, const _CharT*> > >::value, _Res> [with _Tp = std::__cxx11::basic_string<char>; _Res = std::__cxx11::basic_string<char>&; _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
/usr/local/include/c++/12.1.0/bits/basic_string.h:1493:9: required by substitution of 'template<class _Tp> constexpr std::__cxx11::basic_string<char>::_If_sv<_Tp, std::__cxx11::basic_string<char>&> std::__cxx11::basic_string<char>::append(const _Tp&) [with _Tp = std::__cxx11::basic_string<char>]'
/usr/local/include/c++/12.1.0/bits/basic_string.h:3533:36: required from 'constexpr std::__cxx11::basic_string<_CharT, _Traits, _Allocator> std::operator+(__cxx11::basic_string<_CharT, _Traits, _Allocator>&&, __cxx11::basic_string<_CharT, _Traits, _Allocator>&&) [with _CharT = char; _Traits = char_traits<char>; _Alloc = allocator<char>]'
/usr/local/include/c++/12.1.0/system_error:456:50: required from here
/usr/local/include/c++/12.1.0/type_traits:3419:32: error: 'value' is not a member of 'std::is_bounded_array<const std::__cxx11::basic_string<char> >'
3419 | = is_bounded_array<_Tp>::value;
| ^~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h: In instantiation of 'constexpr std::__cxx11::basic_string<_CharT, _Traits, _Allocator> std::operator+(const _CharT*, __cxx11::basic_string<_CharT, _Traits, _Allocator>&&) [with _CharT = char; _Traits = char_traits<char>; _Alloc = allocator<char>]':
/usr/local/include/c++/12.1.0/system_error:459:51: required from here
/usr/local/include/c++/12.1.0/bits/basic_string.h:3541:36: error: no matching function for call to 'std::__cxx11::basic_string<char>::insert(int, const char*&)'
3541 | { return std::move(__rhs.insert(0, __lhs)); }
| ~~~~~~~~~~~~^~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:1794:9: note: candidate: 'template<class _InputIterator, class> constexpr 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>]'
1794 | insert(const_iterator __p, _InputIterator __beg, _InputIterator __end)
| ^~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:1794:9: note: template argument deduction/substitution failed:
/usr/local/include/c++/12.1.0/bits/basic_string.h:3541:36: note: candidate expects 3 arguments, 2 provided
3541 | { return std::move(__rhs.insert(0, __lhs)); }
| ~~~~~~~~~~~~^~~~~~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:1829:7: note: candidate: 'constexpr 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]'
1829 | insert(const_iterator __p, initializer_list<_CharT> __l)
| ^~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:1829:29: note: no known conversion for argument 1 from 'int' to 'std::__cxx11::basic_string<char>::const_iterator'
1829 | insert(const_iterator __p, initializer_list<_CharT> __l)
| ~~~~~~~~~~~~~~~^~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:1969:7: note: candidate: 'constexpr 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]'
1969 | insert(__const_iterator __p, _CharT __c)
| ^~~~~~
/usr/local/include/c++/12.1.0/bits/basic_string.h:1969: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'}
1969 | insert(__const_iterator __p, _CharT __c)
| ~~~~~~~~~~~~~~~~~^~~