ログイン
新規登録
AtsuoCoder Waseda Tour Finals 2025
読込中…
Home
Tasks
Clar
Submissions
Standings
提出 b2b60715-a17f-4bd7-b38f-6d4ddba5299a
コード
今日のH問のざっくりとした解説を載せておきます ・配列のある区間に同じ値を足す ・配列のある区間の最大値を求める この2つの操作がしたいです これは「遅延セグ木」というデータ構造を使えばできる事が知られています 遅延セグ木を自分で書くのは少しダルいんですが、AtsuoCoderにはAC Libraryという物が入っているので、それを使えば楽にこの問題を解けます AC Libraryの遅延セグ木で区間加算&区間maxを行うには、この記事が参考になります https://betrue12.hateblo.jp/entry/2020/09/23/005940#%E5%8C%BA%E9%96%93%E5%8A%A0%E7%AE%97%E5%8C%BA%E9%96%93%E6%9C%80%E5%A4%A7%E5%80%A4%E5%8F%96%E5%BE%97 ```c++ #include<bits/stdc++.h> #include<atcoder/all> using namespace std; using namespace atcoder; using ll=long long; const ll inf=1e18; ll op(ll a,ll b){ return max(a,b); } ll e(){ return -inf; } ll mapping(ll f,ll x){ return f+x; } ll composition(ll f,ll g){ return f+g; } ll id(){ return 0; } int main(){ int n,h,d,l,r,x,a,b; cin>>n; lazy_segtree<ll,op,e,ll,mapping,composition,id>lseg(n); for(int i=0;i<n;i++){ cin>>h; lseg.set(i,h); } cin>>d; for(int i=0;i<d;i++){ cin>>l>>r>>x>>a>>b; l--,a--; lseg.apply(l,r,x); cout<<lseg.prod(a,b)<<endl; } } ``` I問の解説 ぶっちゃけ検索力です、「CRT 競プロ」でググると色々情報が出てきます ```c++ #include<bits/stdc++.h> #include<atcoder/all> using namespace std; using namespace atcoder; using ll=long long; const ll MAX=(1ll<<31)-1; using P=pair<ll,ll>; P op(P a,P b){ P p=crt({a.first,b.first},{a.second,b.second}); if(p.first>MAX||p.second==0){ p.first=MAX+1; p.second=MAX+2; } if(p.second>MAX+2) p.second=MAX+2; return p; } P e(){ return P(1,1); } int main(){ int n,a,b,q,l,r; cin>>n; segtree<P,op,e>seg(n); for(int i=0;i<n;i++){ cin>>a>>b; seg.set(i,P(a,b)); } cin>>q; for(int i=0;i<q;i++){ cin>>l>>r; l--; P p=seg.prod(l,r); if(p.first==0) p.first=p.second; if(p.first>MAX) cout<<-1<<endl; else cout<<p.first<<endl; } } ```
結果
問題
点数
言語
結果
実行時間
メモリ
I - Segment CRT
0
C++
CE
コンパイルエラー
Main.cpp:5:1: error: extended character 「 is not valid in an identifier 5 | これは「遅延セグ木」というデータ構造を使えばできる事が知られています | ^ Main.cpp:5:1: error: extended character 」 is not valid in an identifier Main.cpp:6:1: error: extended character 、 is not valid in an identifier 6 | 遅延セグ木を自分で書くのは少しダルいんですが、AtsuoCoderにはAC Libraryという物が入っているので、それを使えば楽にこの問題を解けます | ^ Main.cpp:6:64: error: extended character 、 is not valid in an identifier 6 | 遅延セグ木を自分で書くのは少しダルいんですが、AtsuoCoderにはAC Libraryという物が入っているので、それを使えば楽にこの問題を解けます | ^ Main.cpp:7:34: error: extended character 、 is not valid in an identifier 7 | AC Libraryの遅延セグ木で区間加算&区間maxを行うには、この記事が参考になります | ^ Main.cpp:9:1: error: stray '`' in program 9 | ```c++ | ^ Main.cpp:9:2: error: stray '`' in program 9 | ```c++ | ^ Main.cpp:9:3: error: stray '`' in program 9 | ```c++ | ^ Main.cpp:47:1: error: stray '`' in program 47 | ``` | ^ Main.cpp:47:2: error: stray '`' in program 47 | ``` | ^ Main.cpp:47:3: error: stray '`' in program 47 | ``` | ^ Main.cpp:49:1: error: extended character 、 is not valid in an identifier 49 | ぶっちゃけ検索力です、「CRT 競プロ」でググると色々情報が出てきます | ^ Main.cpp:49:1: error: extended character 「 is not valid in an identifier Main.cpp:49:29: error: extended character 」 is not valid in an identifier 49 | ぶっちゃけ検索力です、「CRT 競プロ」でググると色々情報が出てきます | ^ Main.cpp:51:1: error: stray '`' in program 51 | ```c++ | ^ Main.cpp:51:2: error: stray '`' in program 51 | ```c++ | ^ Main.cpp:51:3: error: stray '`' in program 51 | ```c++ | ^ Main.cpp:93:1: error: stray '`' in program 93 | ``` | ^ Main.cpp:93:2: error: stray '`' in program 93 | ``` | ^ Main.cpp:93:3: error: stray '`' in program 93 | ``` | ^ Main.cpp:1:1: error: '\U00004eca\U000065e5\U0000306eH\U0000554f\U0000306e\U00003056\U00003063\U0000304f\U0000308a\U00003068\U00003057\U0000305f\U000089e3\U00008aac\U00003092\U00008f09\U0000305b\U00003066\U0000304a\U0000304d\U0000307e\U00003059' does not name a type 1 | 今日のH問のざっくりとした解説を載せておきます | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/13/bits/stl_algobase.h:62, from /usr/include/c++/13/algorithm:60, from /usr/include/x86_64-linux-gnu/c++/13/bits/stdc++.h:51, from Main.cpp:10: /usr/include/c++/13/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/include/c++/13/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/include/c++/13/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) | ^~~~~~~~~ In file included from /usr/include/c++/13/cstddef:50, from /usr/include/x86_64-linux-gnu/c++/13/bits/stdc++.h:41: /usr/lib/gcc/x86_64-linux-gnu/13/include/stddef.h:443:29: note: 'nullptr_t' declared here 443 | typedef decltype(nullptr) nullptr_t; | ^~~~~~~~~ In file included from /usr/include/c++/13/bits/stl_pair.h:60, from /usr/include/c++/13/bits/stl_algobase.h:64: /usr/include/c++/13/type_traits:510:26: error: 'std::size_t' has not been declared 510 | template<typename _Tp, std::size_t _Size> | ^~~ /usr/include/c++/13/type_traits:511:25: error: '_Size' was not declared in this scope 511 | struct is_array<_Tp[_Size]> | ^~~~~ /usr/include/c++/13/type_traits:511:31: error: template argument 1 is invalid 511 | struct is_array<_Tp[_Size]> | ^ /usr/include/c++/13/type_traits:617:33: error: 'nullptr_t' is not a member of 'std'; did you mean 'nullptr_t'? 617 | struct is_null_pointer<std::nullptr_t> | ^~~~~~~~~ /usr/lib/gcc/x86_64-linux-gnu/13/include/stddef.h:443:29: note: 'nullptr_t' declared here 443 | typedef decltype(nullptr) nullptr_t; | ^~~~~~~~~ /usr/include/c++/13/type_traits:617:42: error: template argument 1 is invalid 617 | struct is_null_pointer<std::nullptr_t> | ^ /usr/include/c++/13/type_traits:621:48: error: template argument 1 is invalid 621 | struct is_null_pointer<const std::nullptr_t> | ^ /usr/include/c++/13/type_traits:625:51: error: template argument 1 is invalid 625 | struct is_null_pointer<volatile std::nullptr_t> | ^ /usr/include/c++/13/type_traits:629:57: error: template argument 1 is invalid 629 | struct is_null_pointer<const volatile std::nullptr_t> | ^ /usr/include/c++/13/type_traits:1348:37: error: 'size_t' is not a member of 'std'; did you mean 'size_t'? 1348 | : public integral_constant<std::size_t, alignof(_Tp)> | ^~~~~~ /usr/lib/gcc/x86_64-linux-gnu/13/include/stddef.h:214:23: note: 'size_t' declared here 214 | typedef __SIZE_TYPE__ size_t; | ^~~~~~ /usr/include/c++/13/type_traits:1348:57: error: template argument 1 is invalid 1348 | : public integral_constant<std::size_t, alignof(_Tp)> | ^ /usr/include/c++/13/type_traits:1357:37: error: 'size_t' is not a member of 'std'; did you mean 'size_t'? 1357 | : public integral_constant<std::size_t, 0> { }; | ^~~~~~ /usr/lib/gcc/x86_64-linux-gnu/13/include/stddef.h:214:23: note: 'size_t' declared here 214 | typedef __SIZE_TYPE__ size_t; | ^~~~~~ /usr/include/c++/13/type_traits:1357:46: error: template argument 1 is invalid 1357 | : public integral_constant<std::size_t, 0> { }; | ^ /usr/include/c++/13/type_traits:1359:26: error: 'std::size_t' has not been declared 1359 | template<typename _Tp, std::size_t _Size> | ^~~ /usr/include/c++/13/type_traits:1360:21: error: '_Size' was not declared in this scope 1360 | struct rank<_Tp[_Size]> | ^~~~~ /usr/include/c++/13/type_traits:1360:27: error: template argument 1 is invalid 1360 | struct rank<_Tp[_Size]> | ^ /usr/include/c++/13/type_traits:1361:37: error: 'size_t' is not a member of 'std'; did you mean 'size_t'? 1361 | : public integral_constant<std::size_t, 1 + rank<_Tp>::value> { }; | ^~~~~~ /usr/lib/gcc/x86_64-linux-gnu/13/include/stddef.h:214:23: note: 'size_t' declared here 214 | typedef __SIZE_TYPE__ size_t; | ^~~~~~ /usr/include/c++/13/type_traits:1361:65: error: template argument 1 is invalid 1361 | : public integral_constant<std::size_t, 1 + rank<_Tp>::value> { }; | ^ /usr/include/c++/13/type_traits:1365:37: error: 'size_t' is not a member of 'std'; did you mean 'size_t'? 1365 | : public integral_constant<std::size_t, 1 + rank<_Tp>::value> { }; | ^~~~~~ /usr/lib/gcc/x86_64-linux-gnu/13/include/stddef.h:214:23: note: 'size_t' declared here 214 | typedef __SIZE_TYPE__ size_t; | ^~~~~~ /usr/include/c++/13/type_traits:1365:65: error: template argument 1 is invalid 1365 | : public integral_constant<std::size_t, 1 + rank<_Tp>::value> { }; | ^ /usr/include/c++/13/type_traits:1993:26: error: 'std::size_t' has not been declared 1993 | template<typename _Tp, std::size_t _Size> | ^~~ /usr/include/c++/13/type_traits:1994:30: error: '_Size' was not declared in this scope 1994 | struct remove_extent<_Tp[_Size]> | ^~~~~ /usr/include/c++/13/type_traits:1994:36: error: template argument 1 is invalid 1994 | struct remove_extent<_Tp[_Size]> | ^ /usr/include/c++/13/type_traits:2006:26: error: 'std::size_t' has not been declared 2006 | template<typename _Tp, std::size_t _Size> | ^~~ /usr/include/c++/13/type_traits:2007:35: error: '_Size' was not declared in this scope 2007 | struct remove_all_extents<_Tp[_Size]> | ^~~~~ /usr/include/c++/13/type_traits:2007:41: error: template argument 1 is invalid 2007 | struct remove_all_extents<_Tp[_Size]> | ^ /usr/include/c++/13/type_traits:2072:12: error: 'std::size_t' has not been declared 2072 | template<std::size_t _Len> | ^~~ /usr/include/c++/13/type_traits:2077:30: error: '_Len' was not declared in this scope 2077 | unsigned char __data[_Len]; | ^~~~ /usr/include/c++/13/type_traits:2095:12: error: 'std::size_t' has not been declared 2095 | template<std::size_t _Len, std::size_t _Align = | ^~~ /usr/include/c++/13/type_traits:2095:30: error: 'std::size_t' has not been declared 2095 | template<std::size_t _Len, std::size_t _Align = | ^~~ /usr/include/c++/13/type_traits:2096:55: error: '_Len' was not declared in this scope 2096 | __alignof__(typename __aligned_storage_msa<_Len>::__type)> | ^~~~ /usr/include/c++/13/type_traits:2096:59: error: template argument 1 is invalid 2096 | __alignof__(typename __aligned_storage_msa<_Len>::__type)> | ^ /usr/include/c++/13/type_traits:2103:30: error: '_Len' was not declared in this scope 2103 | unsigned char __data[_Len]; | ^~~~ /usr/include/c++/13/type_traits:2104:44: error: '_Align' was not declared in this scope 2104 | struct __attribute__((__aligned__((_Align)))) { } __align; | ^~~~~~ In file included from /usr/include/c++/13/bits/stl_iterator.h:82, from /usr/include/c++/13/bits/stl_algobase.h:67: /usr/include/c++/13/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/include/c++/13/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) | ^~~~~~ /usr/lib/gcc/x86_64-linux-gnu/13/include/stddef.h:214:23: note: 'size_t' declared here 214 | typedef __SIZE_TYPE__ size_t; | ^~~~~~ /usr/include/c++/13/new:127:41: error: attributes after parenthesized initializer ignored [-fpermissive] 127 | __attribute__((__externally_visible__)); | ^ /usr/include/c++/13/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/include/c++/13/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/lib/gcc/x86_64-linux-gnu/13/include/stddef.h:214:23: note: 'size_t' declared here 214 | typedef __SIZE_TYPE__ size_t; | ^~~~~~ /usr/include/c++/13/new:129:41: error: attributes after parenthesized initializer ignored [-fpermissive] 129 | __attribute__((__externally_visible__)); | ^ /usr/include/c++/13/new:135:29: error: 'std::size_t' has not been declared 135 | void operator delete(void*, std::size_t) _GLIBCXX_USE_NOEXCEPT | ^~~ /usr/include/c++/13/new:137:31: error: 'std::size_t' has not been declared 137 | void operator delete[](void*, std::size_t) _GLIBCXX_USE_NOEXCEPT | ^~~ /usr/include/c++/13/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/include/c++/13/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/lib/gcc/x86_64-linux-gnu/13/include/stddef.h:214:23: note: 'size_t' declared here 214 | typedef __SIZE_TYPE__ size_t; | ^~~~~~ /usr/include/c++/13/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/include/c++/13/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/include/c++/13/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/lib/gcc/x86_64-linux-gnu/13/include/stddef.h:214:23: note: 'size_t' declared here 214 | typedef __SIZE_TYPE__ size_t; | ^~~~~~ /usr/include/c++/13/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/include/c++/13/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/include/c++/13/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/lib/gcc/x86_64-linux-gnu/13/include/stddef.h:214:23: note: 'size_t' declared here 214 | typedef __SIZE_TYPE__ size_t; | ^~~~~~ /usr/include/c++/13/new:149:68: error: expected primary-expression before ')' token 149 | _GLIBCXX_NODISCARD void* operator new(std::size_t, std::align_val_t) | ^ /usr/include/c++/13/new:150:73: error: attributes after parenthesized initializer ignored [-fpermissive] 150 | __attribute__((__externally_visible__, __alloc_size__ (1), __malloc__)); | ^ /usr/include/c++/13/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/include/c++/13/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/lib/gcc/x86_64-linux-gnu/13/include/stddef.h:214:23: note: 'size_t' declared here 214 | typedef __SIZE_TYPE__ size_t; | ^~~~~~ /usr/include/c++/13/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/include/c++/13/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/include/c++/13/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/include/c++/13/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/lib/gcc/x86_64-linux-gnu/13/include/stddef.h:214:23: note: 'size_t' declared here 214 | typedef __SIZE_TYPE__ size_t; | ^~~~~~ /usr/include/c++/13/new:157:70: error: expected primary-expression before ')' token 157 | _GLIBCXX_NODISCARD void* operator new[](std::size_t, std::align_val_t) | ^ /usr/include/c++/13/new:158:73: error: attributes after parenthesized initializer ignored [-fpermissive] 158 | __attribute__((__externally_visible__, __alloc_size__ (1), __malloc__)); | ^ /usr/include/c++/13/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/include/c++/13/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/lib/gcc/x86_64-linux-gnu/13/include/stddef.h:214:23: note: 'size_t' declared here 214 | typedef __SIZE_TYPE__ size_t; | ^~~~~~ /usr/include/c++/13/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/include/c++/13/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/include/c++/13/new:166:29: error: 'std::size_t' has not been declared 166 | void operator delete(void*, std::size_t, std::align_val_t) | ^~~ /usr/include/c++/13/new:168:31: error: 'std::size_t' has not been declared 168 | void operator delete[](void*, std::size_t, std::align_val_t) | ^~~ /usr/include/c++/13/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/include/c++/13/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/lib/gcc/x86_64-linux-gnu/13/include/stddef.h:214:23: note: 'size_t' declared here 214 | typedef __SIZE_TYPE__ size_t; | ^~~~~~ /usr/include/c++/13/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/include/c++/13/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/include/c++/13/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/lib/gcc/x86_64-linux-gnu/13/include/stddef.h:214:23: note: 'size_t' declared here 214 | typedef __SIZE_TYPE__ size_t; | ^~~~~~ /usr/include/c++/13/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/include/c++/13/bits/stl_algo.h:69, from /usr/include/c++/13/algorithm:61: /usr/include/c++/13/bits/stl_tempbuf.h: In function 'std::pair<_Tp*, long int> std::get_temporary_buffer(ptrdiff_t)': /usr/include/c++/13/bits/stl_tempbuf.h:113:56: error: no matching function for call to 'operator new(long unsigned int, const std::nothrow_t&)' 113 | _Tp* __tmp = static_cast<_Tp*>(::operator new(__len * sizeof(_Tp), | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ 114 | std::nothrow)); | ~~~~~~~~~~~~~ <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 'const std::nothrow_t' to 'std::align_val_t' In file included from /usr/include/c++/13/string:42, from /usr/include/c++/13/bitset:52, from /usr/include/x86_64-linux-gnu/c++/13/bits/stdc++.h:52: /usr/include/c++/13/bits/char_traits.h: At global scope: /usr/include/c++/13/bits/char_traits.h:144:61: error: 'std::size_t' has not been declared 144 | compare(const char_type* __s1, const char_type* __s2, std::size_t __n); | ^~~ /usr/include/c++/13/bits/char_traits.h:146:40: error: 'size_t' in namespace 'std' does not name a type 146 | static _GLIBCXX14_CONSTEXPR std::size_t | ^~~~~~ /usr/include/c++/13/bits/char_traits.h:150:34: error: 'std::size_t' has not been declared 150 | find(const char_type* __s, std::size_t __n, const char_type& __a); | ^~~ /usr/include/c++/13/bits/char_traits.h:153:52: error: 'std::size_t' has not been declared 153 | move(char_type* __s1, const char_type* __s2, std::size_t __n); | ^~~ /usr/include/c++/13/bits/char_traits.h:156:52: error: 'std::size_t' has not been declared 156 | copy(char_type* __s1, const char_type* __s2, std::size_t __n); | ^~~ /usr/include/c++/13/bits/char_traits.h:159:30: error: 'std::size_t' has not been declared 159 | assign(char_type* __s, std::size_t __n, char_type __a); | ^~~ /usr/include/c++/13/bits/char_traits.h:187:59: error: 'std::size_t' has not been declared 187 | compare(const char_type* __s1, const char_type* __s2, std::size_t __n) | ^~~ /usr/include/c++/13/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/include/c++/13/bits/char_traits.h:189:17: error: 'size_t' is not a member of 'std'; did you mean 'size_t'? 189 | for (std::size_t __i = 0; __i < __n; ++__i) | ^~~~~~ /usr/lib/gcc/x86_64-linux-gnu/13/include/stddef.h:214:23: note: 'size_t' declared here 214 | typedef __SIZE_TYPE__ size_t; | ^~~~~~ /usr/include/c++/13/bits/char_traits.h:189:33: error: '__i' was not declared in this scope; did you mean '__n'? 189 | for (std::size_t __i = 0; __i < __n; ++__i) | ^~~ | __n /usr/include/c++/13/bits/char_traits.h: At global scope: /usr/include/c++/13/bits/char_traits.h:198:31: error: 'size_t' in namespace 'std' does not name a type 198 | _GLIBCXX14_CONSTEXPR std::size_t | ^~~~~~ /usr/include/c++/13/bits/char_traits.h:211:32: error: 'std::size_t' has not been declared 211 | find(const char_type* __s, std::size_t __n, const char_type& __a) | ^~~ /usr/include/c++/13/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/include/c++/13/bits/char_traits.h:213:17: error: 'size_t' is not a member of 'std'; did you mean 'size_t'? 213 | for (std::size_t __i = 0; __i < __n; ++__i) | ^~~~~~ /usr/lib/gcc/x86_64-linux-gnu/13/include/stddef.h:214:23: note: 'size_t' declared here 214 | typedef __SIZE_TYPE__ size_t; | ^~~~~~ /usr/include/c++/13/bits/char_traits.h:213:33: error: '__i' was not declared in this scope; did you mean '__s'? 213 | for (std::size_t __i = 0; __i < __n; ++__i) | ^~~ | __s /usr/include/c++/13/bits/char_traits.h: At global scope: /usr/include/c++/13/bits/char_traits.h:223:50: error: 'std::size_t' has not been declared 223 | move(char_type* __s1, const char_type* __s2, std::size_t __n) | ^~~ /usr/include/c++/13/bits/char_traits.h:254:50: error: 'std::size_t' has not been declared 254 | copy(char_type* __s1, const char_type* __s2, std::size_t __n) | ^~~ /usr/include/c++/13/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/include/c++/13/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/lib/gcc/x86_64-linux-gnu/13/include/stddef.h:214:23: note: 'size_t' declared here 214 | typedef __SIZE_TYPE__ size_t; | ^~~~~~ /usr/include/c++/13/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/include/c++/13/bits/char_traits.h: At global scope: /usr/include/c++/13/bits/char_traits.h:274:28: error: 'std::size_t' has not been declared 274 | assign(char_type* __s, std::size_t __n, char_type __a) | ^~~ /usr/include/c++/13/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/include/c++/13/bits/char_traits.h:279:21: error: 'size_t' is not a member of 'std'; did you mean 'size_t'? 279 | for (std::size_t __i = 0; __i < __n; ++__i) | ^~~~~~ /usr/lib/gcc/x86_64-linux-gnu/13/include/stddef.h:214:23: note: 'size_t' declared here 214 | typedef __SIZE_TYPE__ size_t; | ^~~~~~ /usr/include/c++/13/bits/char_traits.h:279:37: error: '__i' was not declared in this scope; did you mean '__s'? 279 | for (std::size_t __i = 0; __i < __n; ++__i) | ^~~ | __s /usr/include/c++/13/bits/char_traits.h:296:21: error: 'size_t' is not a member of 'std'; did you mean 'size_t'? 296 | for (std::size_t __i = 0; __i < __n; ++__i) | ^~~~~~ /usr/lib/gcc/x86_64-linux-gnu/13/include/stddef.h:214:23: note: 'size_t' declared here 214 | typedef __SIZE_TYPE__ size_t; | ^~~~~~ /usr/include/c++/13/bits/char_traits.h:296:37: error: '__i' was not declared in this scope; did you mean '__s'? 296 | for (std::size_t __i = 0; __i < __n; ++__i) | ^~~ | __s /usr/include/c++/13/bits/char_traits.h: In static member function 'static constexpr void std::char_traits<char>::assign(char_type&, const char_type&)': /usr/include/c++/13/bits/char_traits.h:355:28: error: no matching function for call to 'construct_at(std::char_traits<char>::char_type*, const std::char_traits<char>::char_type&)' 355 | std::construct_at(__builtin_addressof(__c1), __c2); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/13/bits/stl_iterator.h:85: /usr/include/c++/13/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/include/c++/13/bits/stl_construct.h:94:5: note: template argument deduction/substitution failed: /usr/include/c++/13/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/include/c++/13/bits/char_traits.h:355:21: required from here /usr/include/c++/13/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/include/c++/13/bits/char_traits.h: In static member function 'static constexpr size_t std::char_traits<char>::length(const char_type*)': /usr/include/c++/13/bits/char_traits.h:397:53: error: 'length' is not a member of '__gnu_cxx::char_traits<char>' 397 | return __gnu_cxx::char_traits<char_type>::length(__s); | ^~~~~~ /usr/include/c++/13/bits/char_traits.h: In static member function 'static constexpr void std::char_traits<wchar_t>::assign(char_type&, const char_type&)': /usr/include/c++/13/bits/char_traits.h:497: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&)' 497 | std::construct_at(__builtin_addressof(__c1), __c2); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/13/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/include/c++/13/bits/stl_construct.h:94:5: note: template argument deduction/substitution failed: /usr/include/c++/13/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/include/c++/13/bits/char_traits.h:497:21: required from here /usr/include/c++/13/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/include/c++/13/bits/char_traits.h: In static member function 'static constexpr size_t std::char_traits<wchar_t>::length(const char_type*)': /usr/include/c++/13/bits/char_traits.h:528:53: error: 'length' is not a member of '__gnu_cxx::char_traits<wchar_t>' 528 | return __gnu_cxx::char_traits<char_type>::length(__s); | ^~~~~~ /usr/include/c++/13/bits/char_traits.h: In static member function 'static constexpr void std::char_traits<char8_t>::assign(char_type&, const char_type&)': /usr/include/c++/13/bits/char_traits.h:629: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&)' 629 | std::construct_at(__builtin_addressof(__c1), __c2); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/13/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/include/c++/13/bits/stl_construct.h:94:5: note: template argument deduction/substitution failed: /usr/include/c++/13/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/include/c++/13/bits/char_traits.h:629:21: required from here /usr/include/c++/13/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/include/c++/13/bits/char_traits.h: In static member function 'static constexpr size_t std::char_traits<char8_t>::length(const char_type*)': /usr/include/c++/13/bits/char_traits.h:660:53: error: 'length' is not a member of '__gnu_cxx::char_traits<char8_t>' 660 | return __gnu_cxx::char_traits<char_type>::length(__s); | ^~~~~~ /usr/include/c++/13/bits/char_traits.h: In static member function 'static constexpr void std::char_traits<char16_t>::assign(char_type&, const char_type&)': /usr/include/c++/13/bits/char_traits.h:774: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&)' 774 | std::construct_at(__builtin_addressof(__c1), __c2); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/13/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/include/c++/13/bits/stl_construct.h:94:5: note: template argument deduction/substitution failed: /usr/include/c++/13/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/include/c++/13/bits/char_traits.h:774:21: required from here /usr/include/c++/13/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/include/c++/13/bits/char_traits.h: In static member function 'static constexpr void std::char_traits<char32_t>::assign(char_type&, const char_type&)': /usr/include/c++/13/bits/char_traits.h:903: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&)' 903 | std::construct_at(__builtin_addressof(__c1), __c2); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/13/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/include/c++/13/bits/stl_construct.h:94:5: note: template argument deduction/substitution failed: /usr/include/c++/13/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/include/c++/13/bits/char_traits.h:903:21: required from here /usr/include/c++/13/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/include/x86_64-linux-gnu/c++/13/bits/c++allocator.h:33, from /usr/include/c++/13/bits/allocator.h:46, from /usr/include/c++/13/string:43: /usr/include/c++/13/bits/new_allocator.h: At global scope: /usr/include/c++/13/bits/new_allocator.h:67:20: error: 'size_t' in namespace 'std' does not name a type 67 | typedef std::size_t size_type; | ^~~~~~ /usr/include/c++/13/bits/new_allocator.h:68:20: error: 'ptrdiff_t' in namespace 'std' does not name a type 68 | typedef std::ptrdiff_t difference_type; | ^~~~~~~~~ /usr/include/c++/13/bits/new_allocator.h:126:16: error: 'size_type' has not been declared 126 | allocate(size_type __n, const void* = static_cast<const void*>(0)) | ^~~~~~~~~ /usr/include/c++/13/bits/new_allocator.h:156:28: error: 'size_type' has not been declared 156 | deallocate(_Tp* __p, size_type __n __attribute__ ((__unused__))) | ^~~~~~~~~ /usr/include/c++/13/bits/new_allocator.h:229:26: error: 'size_type' does not name a type; did you mean 'true_type'? 229 | _GLIBCXX_CONSTEXPR size_type | ^~~~~~~~~ | true_type /usr/include/c++/13/bits/new_allocator.h: In member function '_Tp* std::__new_allocator<_Tp>::allocate(int, const void*)': /usr/include/c++/13/bits/new_allocator.h:138:29: error: 'size_t' is not a member of 'std'; did you mean 'size_t'? 138 | if (__n > (std::size_t(-1) / sizeof(_Tp))) | ^~~~~~ /usr/lib/gcc/x86_64-linux-gnu/13/include/stddef.h:214:23: note: 'size_t' declared here 214 | typedef __SIZE_TYPE__ size_t; | ^~~~~~ In file included from /usr/include/c++/13/ext/alloc_traits.h:34, from /usr/include/c++/13/bits/basic_string.h:39, from /usr/include/c++/13/string:54: /usr/include/c++/13/bits/alloc_traits.h: At global scope: /usr/include/c++/13/bits/alloc_traits.h:449:36: error: 'ptrdiff_t' in namespace 'std' does not name a type 449 | using difference_type = std::ptrdiff_t; | ^~~~~~~~~ /usr/include/c++/13/bits/alloc_traits.h:452:30: error: 'size_t' in namespace 'std' does not name a type; did you mean 'size'? 452 | using size_type = std::size_t; | ^~~~~~ | size /usr/include/c++/13/bits/alloc_traits.h:481:37: error: 'size_type' has not been declared 481 | allocate(allocator_type& __a, size_type __n) | ^~~~~~~~~ /usr/include/c++/13/bits/alloc_traits.h:496:37: error: 'size_type' has not been declared 496 | allocate(allocator_type& __a, size_type __n, | ^~~~~~~~~ /usr/include/c++/13/bits/alloc_traits.h:516:52: error: 'size_type' has not been declared 516 | deallocate(allocator_type& __a, pointer __p, size_type __n) | ^~~~~~~~~ /usr/include/c++/13/bits/alloc_traits.h:570:35: error: 'size_type' does not name a type; did you mean 'true_type'? 570 | static _GLIBCXX20_CONSTEXPR size_type | ^~~~~~~~~ | true_type /usr/include/c++/13/bits/alloc_traits.h:614:36: error: 'ptrdiff_t' in namespace 'std' does not name a type 614 | using difference_type = std::ptrdiff_t; | ^~~~~~~~~ /usr/include/c++/13/bits/alloc_traits.h:617:30: error: 'size_t' in namespace 'std' does not name a type; did you mean 'size'? 617 | using size_type = std::size_t; | ^~~~~~ | size /usr/include/c++/13/bits/alloc_traits.h:639:33: error: 'size_type' has not been declared 639 | allocate(allocator_type&, size_type, const void* = nullptr) = delete; | ^~~~~~~~~ /usr/include/c++/13/bits/alloc_traits.h:643:42: error: 'size_type' has not been declared 643 | deallocate(allocator_type&, void*, size_type) = delete; | ^~~~~~~~~ /usr/include/c++/13/bits/alloc_traits.h:678:14: error: 'size_type' does not name a type; did you mean 'true_type'? 678 | static size_type | ^~~~~~~~~ | true_type In file included from /usr/include/c++/13/bits/basic_string.h:4109: /usr/include/c++/13/ext/string_conversions.h:57:53: error: 'std::size_t' has not been declared 57 | const char* __name, const _CharT* __str, std::size_t* __idx, | ^~~ /usr/include/c++/13/ext/string_conversions.h:101:43: error: 'std::size_t' has not been declared 101 | __to_xstring(int (*__convf) (_CharT*, std::size_t, const _CharT*, | ^~~ /usr/include/c++/13/ext/string_conversions.h:102:54: error: 'std::size_t' has not been declared 102 | __builtin_va_list), std::size_t __n, | ^~~ /usr/include/c++/13/ext/alloc_traits.h: In instantiation of 'struct __gnu_cxx::__alloc_traits<std::allocator<char>, char>': /usr/include/c++/13/bits/basic_string.h:90:24: required from 'class std::__cxx11::basic_string<char>' /usr/include/c++/13/bits/basic_string.h:4121:68: required from here /usr/include/c++/13/ext/alloc_traits.h:56:53: error: no type named 'size_type' in '__gnu_cxx::__alloc_traits<std::allocator<char>, char>::_Base_type' {aka 'struct std::allocator_traits<std::allocator<char> >'} 56 | typedef typename _Base_type::size_type size_type; | ^~~~~~~~~ /usr/include/c++/13/ext/alloc_traits.h:57:53: error: no type named 'difference_type' in '__gnu_cxx::__alloc_traits<std::allocator<char>, char>::_Base_type' {aka 'struct std::allocator_traits<std::allocator<char> >'} 57 | typedef typename _Base_type::difference_type difference_type; | ^~~~~~~~~~~~~~~ /usr/include/c++/13/ext/alloc_traits.h:65:23: error: 'max_size' has not been declared in '__gnu_cxx::__alloc_traits<std::allocator<char>, char>::_Base_type' 65 | using _Base_type::max_size; | ^~~~~~~~ /usr/include/c++/13/bits/basic_string.h: In function 'int std::__cxx11::stoi(const std::string&, size_t*, int)': /usr/include/c++/13/bits/basic_string.h:4121:40: error: no matching function for call to '__stoa<long int, int>(long int (*)(const char*, char**, int) noexcept, const char [5], const char*, size_t*&, int&)' 4121 | { return __gnu_cxx::__stoa<long, int>(&std::strtol, "stoi", __str.c_str(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4122 | __idx, __base); } | ~~~~~~~~~~~~~~ /usr/include/c++/13/ext/string_conversions.h:56:5: note: candidate: 'template<class _TRet, class _Ret, class _CharT, class ... _Base> _Ret __gnu_cxx::__stoa(_TRet (*)(const _CharT*, _CharT**, _Base ...), const char*, const _CharT*, int*, _Base ...)' 56 | __stoa(_TRet (*__convf) (const _CharT*, _CharT**, _Base...), | ^~~~~~ /usr/include/c++/13/ext/string_conversions.h:56:5: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/basic_string.h:4122:41: note: cannot convert '__idx' (type 'size_t*' {aka 'long unsigned int*'}) to type 'int*' 4122 | __idx, __base); } | ^~~~~ /usr/include/c++/13/bits/basic_string.h: In function 'long int std::__cxx11::stol(const std::string&, size_t*, int)': /usr/include/c++/13/bits/basic_string.h:4126:29: error: no matching function for call to '__stoa(long int (*)(const char*, char**, int) noexcept, const char [5], const char*, size_t*&, int&)' 4126 | { return __gnu_cxx::__stoa(&std::strtol, "stol", __str.c_str(), | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4127 | __idx, __base); } | ~~~~~~~~~~~~~~ /usr/include/c++/13/ext/string_conversions.h:56:5: note: candidate: 'template<class _TRet, class _Ret, class _CharT, class ... _Base> _Ret __gnu_cxx::__stoa(_TRet (*)(const _CharT*, _CharT**, _Base ...), const char*, const _CharT*, int*, _Base ...)' 56 | __stoa(_TRet (*__convf) (const _CharT*, _CharT**, _Base...), | ^~~~~~ /usr/include/c++/13/ext/string_conversions.h:56:5: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/basic_string.h:4127:30: note: cannot convert '__idx' (type 'size_t*' {aka 'long unsigned int*'}) to type 'int*' 4127 | __idx, __base); } | ^~~~~ /usr/include/c++/13/bits/basic_string.h: In function 'long unsigned int std::__cxx11::stoul(const std::string&, size_t*, int)': /usr/include/c++/13/bits/basic_string.h:4131:29: error: no matching function for call to '__stoa(long unsigned int (*)(const char*, char**, int) noexcept, const char [6], const char*, size_t*&, int&)' 4131 | { return __gnu_cxx::__stoa(&std::strtoul, "stoul", __str.c_str(), | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4132 | __idx, __base); } | ~~~~~~~~~~~~~~ /usr/include/c++/13/ext/string_conversions.h:56:5: note: candidate: 'template<class _TRet, class _Ret, class _CharT, class ... _Base> _Ret __gnu_cxx::__stoa(_TRet (*)(const _CharT*, _CharT**, _Base ...), const char*, const _CharT*, int*, _Base ...)' 56 | __stoa(_TRet (*__convf) (const _CharT*, _CharT**, _Base...), | ^~~~~~ /usr/include/c++/13/ext/string_conversions.h:56:5: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/basic_string.h:4132:30: note: cannot convert '__idx' (type 'size_t*' {aka 'long unsigned int*'}) to type 'int*' 4132 | __idx, __base); } | ^~~~~ /usr/include/c++/13/bits/basic_string.h: In function 'long long int std::__cxx11::stoll(const std::string&, size_t*, int)': /usr/include/c++/13/bits/basic_string.h:4136:29: error: no matching function for call to '__stoa(long long int (*)(const char*, char**, int) noexcept, const char [6], const char*, size_t*&, int&)' 4136 | { return __gnu_cxx::__stoa(&std::strtoll, "stoll", __str.c_str(), | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4137 | __idx, __base); } | ~~~~~~~~~~~~~~ /usr/include/c++/13/ext/string_conversions.h:56:5: note: candidate: 'template<class _TRet, class _Ret, class _CharT, class ... _Base> _Ret __gnu_cxx::__stoa(_TRet (*)(const _CharT*, _CharT**, _Base ...), const char*, const _CharT*, int*, _Base ...)' 56 | __stoa(_TRet (*__convf) (const _CharT*, _CharT**, _Base...), | ^~~~~~ /usr/include/c++/13/ext/string_conversions.h:56:5: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/basic_string.h:4137:30: note: cannot convert '__idx' (type 'size_t*' {aka 'long unsigned int*'}) to type 'int*' 4137 | __idx, __base); } | ^~~~~ /usr/include/c++/13/bits/basic_string.h: In function 'long long unsigned int std::__cxx11::stoull(const std::string&, size_t*, int)': /usr/include/c++/13/bits/basic_string.h:4141:29: error: no matching function for call to '__stoa(long long unsigned int (*)(const char*, char**, int) noexcept, const char [7], const char*, size_t*&, int&)' 4141 | { return __gnu_cxx::__stoa(&std::strtoull, "stoull", __str.c_str(), | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4142 | __idx, __base); } | ~~~~~~~~~~~~~~ /usr/include/c++/13/ext/string_conversions.h:56:5: note: candidate: 'template<class _TRet, class _Ret, class _CharT, class ... _Base> _Ret __gnu_cxx::__stoa(_TRet (*)(const _CharT*, _CharT**, _Base ...), const char*, const _CharT*, int*, _Base ...)' 56 | __stoa(_TRet (*__convf) (const _CharT*, _CharT**, _Base...), | ^~~~~~ /usr/include/c++/13/ext/string_conversions.h:56:5: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/basic_string.h:4142:30: note: cannot convert '__idx' (type 'size_t*' {aka 'long unsigned int*'}) to type 'int*' 4142 | __idx, __base); } | ^~~~~ /usr/include/c++/13/bits/basic_string.h: In function 'float std::__cxx11::stof(const std::string&, size_t*)': /usr/include/c++/13/bits/basic_string.h:4147:29: error: no matching function for call to '__stoa(float (*)(const char*, char**) noexcept, const char [5], const char*, size_t*&)' 4147 | { return __gnu_cxx::__stoa(&std::strtof, "stof", __str.c_str(), __idx); } | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/13/ext/string_conversions.h:56:5: note: candidate: 'template<class _TRet, class _Ret, class _CharT, class ... _Base> _Ret __gnu_cxx::__stoa(_TRet (*)(const _CharT*, _CharT**, _Base ...), const char*, const _CharT*, int*, _Base ...)' 56 | __stoa(_TRet (*__convf) (const _CharT*, _CharT**, _Base...), | ^~~~~~ /usr/include/c++/13/ext/string_conversions.h:56:5: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/basic_string.h:4147:67: note: cannot convert '__idx' (type 'size_t*' {aka 'long unsigned int*'}) to type 'int*' 4147 | { return __gnu_cxx::__stoa(&std::strtof, "stof", __str.c_str(), __idx); } | ^~~~~ /usr/include/c++/13/bits/basic_string.h: In function 'double std::__cxx11::stod(const std::string&, size_t*)': /usr/include/c++/13/bits/basic_string.h:4151:29: error: no matching function for call to '__stoa(double (*)(const char*, char**) noexcept, const char [5], const char*, size_t*&)' 4151 | { return __gnu_cxx::__stoa(&std::strtod, "stod", __str.c_str(), __idx); } | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/13/ext/string_conversions.h:56:5: note: candidate: 'template<class _TRet, class _Ret, class _CharT, class ... _Base> _Ret __gnu_cxx::__stoa(_TRet (*)(const _CharT*, _CharT**, _Base ...), const char*, const _CharT*, int*, _Base ...)' 56 | __stoa(_TRet (*__convf) (const _CharT*, _CharT**, _Base...), | ^~~~~~ /usr/include/c++/13/ext/string_conversions.h:56:5: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/basic_string.h:4151:67: note: cannot convert '__idx' (type 'size_t*' {aka 'long unsigned int*'}) to type 'int*' 4151 | { return __gnu_cxx::__stoa(&std::strtod, "stod", __str.c_str(), __idx); } | ^~~~~ /usr/include/c++/13/bits/basic_string.h: In function 'long double std::__cxx11::stold(const std::string&, size_t*)': /usr/include/c++/13/bits/basic_string.h:4155:29: error: no matching function for call to '__stoa(long double (*)(const char*, char**) noexcept, const char [6], const char*, size_t*&)' 4155 | { return __gnu_cxx::__stoa(&std::strtold, "stold", __str.c_str(), __idx); } | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/13/ext/string_conversions.h:56:5: note: candidate: 'template<class _TRet, class _Ret, class _CharT, class ... _Base> _Ret __gnu_cxx::__stoa(_TRet (*)(const _CharT*, _CharT**, _Base ...), const char*, const _CharT*, int*, _Base ...)' 56 | __stoa(_TRet (*__convf) (const _CharT*, _CharT**, _Base...), | ^~~~~~ /usr/include/c++/13/ext/string_conversions.h:56:5: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/basic_string.h:4155:69: note: cannot convert '__idx' (type 'size_t*' {aka 'long unsigned int*'}) to type 'int*' 4155 | { return __gnu_cxx::__stoa(&std::strtold, "stold", __str.c_str(), __idx); } | ^~~~~ /usr/include/c++/13/bits/basic_string.h: In function 'std::string std::__cxx11::to_string(int)': /usr/include/c++/13/bits/basic_string.h:4170:36: error: no matching function for call to 'std::__cxx11::basic_string<char>::basic_string(unsigned int, char)' 4170 | string __str(__neg + __len, '-'); | ^ /usr/include/c++/13/bits/basic_string.h:795: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>]' 795 | basic_string(const _Tp& __t, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:795:9: note: template argument deduction/substitution failed: /usr/include/c++/13/type_traits: In substitution of 'template<bool _Cond, class _Tp> using std::enable_if_t = typename std::enable_if::type [with bool _Cond = false; _Tp = void]': /usr/include/c++/13/bits/basic_string.h:144:8: required by substitution of 'template<class _CharT, class _Traits, class _Alloc> template<class _Tp, class _Res> using std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::_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/include/c++/13/bits/basic_string.h:792:30: required from here /usr/include/c++/13/type_traits:2610:11: error: no type named 'type' in 'struct std::enable_if<false, void>' 2610 | using enable_if_t = typename enable_if<_Cond, _Tp>::type; | ^~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:760: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>]' 760 | basic_string(_InputIterator __beg, _InputIterator __end, | ^~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:760:9: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/basic_string.h:4170:36: note: deduced conflicting types for parameter '_InputIterator' ('unsigned int' and 'char') 4170 | string __str(__neg + __len, '-'); | ^ /usr/include/c++/13/bits/basic_string.h:641: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>]' 641 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:641:7: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/basic_string.h:4170:24: note: cannot convert '(((unsigned int)((int)__neg)) + ((unsigned int)__len))' (type 'unsigned int') to type 'const char*' 4170 | string __str(__neg + __len, '-'); | ~~~~~~^~~~~~~ /usr/include/c++/13/bits/basic_string.h:716: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>]' 716 | basic_string(basic_string&& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:716:35: note: no known conversion for argument 1 from 'unsigned int' to 'std::__cxx11::basic_string<char>&&' 716 | basic_string(basic_string&& __str, const _Alloc& __a) | ~~~~~~~~~~~~~~~^~~~~ /usr/include/c++/13/bits/basic_string.h:711: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>]' 711 | basic_string(const basic_string& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:711:40: note: no known conversion for argument 1 from 'unsigned int' to 'const std::__cxx11::basic_string<char>&' 711 | basic_string(const basic_string& __str, const _Alloc& __a) | ~~~~~~~~~~~~~~~~~~~~^~~~~ /usr/include/c++/13/bits/basic_string.h:706: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>]' 706 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:706:45: note: no known conversion for argument 1 from 'unsigned int' to 'std::initializer_list<char>' 706 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/13/bits/basic_string.h:677: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>]' 677 | basic_string(basic_string&& __str) noexcept | ^~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:677:7: note: candidate expects 1 argument, 2 provided /usr/include/c++/13/bits/basic_string.h:547: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>]' 547 | basic_string(const basic_string& __str) | ^~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:547:7: note: candidate expects 1 argument, 2 provided /usr/include/c++/13/bits/basic_string.h:535: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>]' 535 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ^~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:535:7: note: candidate expects 1 argument, 2 provided /usr/include/c++/13/bits/basic_string.h:522: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>]' 522 | basic_string() | ^~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:522:7: note: candidate expects 0 arguments, 2 provided /usr/include/c++/13/bits/basic_string.h:176: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>]' 176 | basic_string(__sv_wrapper __svw, const _Alloc& __a) | ^~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:176:33: note: no known conversion for argument 1 from 'unsigned int' to 'std::__cxx11::basic_string<char>::__sv_wrapper' 176 | basic_string(__sv_wrapper __svw, const _Alloc& __a) | ~~~~~~~~~~~~~^~~~~ /usr/include/c++/13/bits/basic_string.h:4171:40: error: no match for 'operator[]' (operand types are 'std::string' {aka 'std::__cxx11::basic_string<char>'} and 'const bool') 4171 | __detail::__to_chars_10_impl(&__str[__neg], __len, __uval); | ^ /usr/include/c++/13/bits/basic_string.h: In function 'std::string std::__cxx11::to_string(unsigned int)': /usr/include/c++/13/bits/basic_string.h:4182:55: error: no matching function for call to 'std::__cxx11::basic_string<char>::basic_string(unsigned int, char)' 4182 | string __str(__detail::__to_chars_len(__val), '\0'); | ^ /usr/include/c++/13/bits/basic_string.h:795: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>]' 795 | basic_string(const _Tp& __t, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:795:9: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/basic_string.h:760: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>]' 760 | basic_string(_InputIterator __beg, _InputIterator __end, | ^~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:760:9: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/basic_string.h:4182:55: note: deduced conflicting types for parameter '_InputIterator' ('unsigned int' and 'char') 4182 | string __str(__detail::__to_chars_len(__val), '\0'); | ^ /usr/include/c++/13/bits/basic_string.h:641: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>]' 641 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:641:7: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/basic_string.h:4182:42: note: cannot convert 'std::__detail::__to_chars_len<unsigned int>(__val, 10)' (type 'unsigned int') to type 'const char*' 4182 | string __str(__detail::__to_chars_len(__val), '\0'); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /usr/include/c++/13/bits/basic_string.h:716: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>]' 716 | basic_string(basic_string&& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:716:35: note: no known conversion for argument 1 from 'unsigned int' to 'std::__cxx11::basic_string<char>&&' 716 | basic_string(basic_string&& __str, const _Alloc& __a) | ~~~~~~~~~~~~~~~^~~~~ /usr/include/c++/13/bits/basic_string.h:711: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>]' 711 | basic_string(const basic_string& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:711:40: note: no known conversion for argument 1 from 'unsigned int' to 'const std::__cxx11::basic_string<char>&' 711 | basic_string(const basic_string& __str, const _Alloc& __a) | ~~~~~~~~~~~~~~~~~~~~^~~~~ /usr/include/c++/13/bits/basic_string.h:706: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>]' 706 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:706:45: note: no known conversion for argument 1 from 'unsigned int' to 'std::initializer_list<char>' 706 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/13/bits/basic_string.h:677: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>]' 677 | basic_string(basic_string&& __str) noexcept | ^~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:677:7: note: candidate expects 1 argument, 2 provided /usr/include/c++/13/bits/basic_string.h:547: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>]' 547 | basic_string(const basic_string& __str) | ^~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:547:7: note: candidate expects 1 argument, 2 provided /usr/include/c++/13/bits/basic_string.h:535: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>]' 535 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ^~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:535:7: note: candidate expects 1 argument, 2 provided /usr/include/c++/13/bits/basic_string.h:522: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>]' 522 | basic_string() | ^~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:522:7: note: candidate expects 0 arguments, 2 provided /usr/include/c++/13/bits/basic_string.h:176: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>]' 176 | basic_string(__sv_wrapper __svw, const _Alloc& __a) | ^~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:176:33: note: no known conversion for argument 1 from 'unsigned int' to 'std::__cxx11::basic_string<char>::__sv_wrapper' 176 | basic_string(__sv_wrapper __svw, const _Alloc& __a) | ~~~~~~~~~~~~~^~~~~ /usr/include/c++/13/bits/basic_string.h:4183:40: error: no match for 'operator[]' (operand types are 'std::string' {aka 'std::__cxx11::basic_string<char>'} and 'int') 4183 | __detail::__to_chars_10_impl(&__str[0], __str.size(), __val); | ^ /usr/include/c++/13/bits/basic_string.h:4183:51: error: 'std::string' {aka 'class std::__cxx11::basic_string<char>'} has no member named 'size' 4183 | __detail::__to_chars_10_impl(&__str[0], __str.size(), __val); | ^~~~ /usr/include/c++/13/bits/basic_string.h: In function 'std::string std::__cxx11::to_string(long int)': /usr/include/c++/13/bits/basic_string.h:4197:36: error: no matching function for call to 'std::__cxx11::basic_string<char>::basic_string(unsigned int, char)' 4197 | string __str(__neg + __len, '-'); | ^ /usr/include/c++/13/bits/basic_string.h:795: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>]' 795 | basic_string(const _Tp& __t, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:795:9: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/basic_string.h:760: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>]' 760 | basic_string(_InputIterator __beg, _InputIterator __end, | ^~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:760:9: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/basic_string.h:4197:36: note: deduced conflicting types for parameter '_InputIterator' ('unsigned int' and 'char') 4197 | string __str(__neg + __len, '-'); | ^ /usr/include/c++/13/bits/basic_string.h:641: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>]' 641 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:641:7: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/basic_string.h:4197:24: note: cannot convert '(((unsigned int)((int)__neg)) + ((unsigned int)__len))' (type 'unsigned int') to type 'const char*' 4197 | string __str(__neg + __len, '-'); | ~~~~~~^~~~~~~ /usr/include/c++/13/bits/basic_string.h:716: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>]' 716 | basic_string(basic_string&& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:716:35: note: no known conversion for argument 1 from 'unsigned int' to 'std::__cxx11::basic_string<char>&&' 716 | basic_string(basic_string&& __str, const _Alloc& __a) | ~~~~~~~~~~~~~~~^~~~~ /usr/include/c++/13/bits/basic_string.h:711: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>]' 711 | basic_string(const basic_string& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:711:40: note: no known conversion for argument 1 from 'unsigned int' to 'const std::__cxx11::basic_string<char>&' 711 | basic_string(const basic_string& __str, const _Alloc& __a) | ~~~~~~~~~~~~~~~~~~~~^~~~~ /usr/include/c++/13/bits/basic_string.h:706: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>]' 706 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:706:45: note: no known conversion for argument 1 from 'unsigned int' to 'std::initializer_list<char>' 706 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/13/bits/basic_string.h:677: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>]' 677 | basic_string(basic_string&& __str) noexcept | ^~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:677:7: note: candidate expects 1 argument, 2 provided /usr/include/c++/13/bits/basic_string.h:547: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>]' 547 | basic_string(const basic_string& __str) | ^~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:547:7: note: candidate expects 1 argument, 2 provided /usr/include/c++/13/bits/basic_string.h:535: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>]' 535 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ^~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:535:7: note: candidate expects 1 argument, 2 provided /usr/include/c++/13/bits/basic_string.h:522: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>]' 522 | basic_string() | ^~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:522:7: note: candidate expects 0 arguments, 2 provided /usr/include/c++/13/bits/basic_string.h:176: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>]' 176 | basic_string(__sv_wrapper __svw, const _Alloc& __a) | ^~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:176:33: note: no known conversion for argument 1 from 'unsigned int' to 'std::__cxx11::basic_string<char>::__sv_wrapper' 176 | basic_string(__sv_wrapper __svw, const _Alloc& __a) | ~~~~~~~~~~~~~^~~~~ /usr/include/c++/13/bits/basic_string.h:4198:40: error: no match for 'operator[]' (operand types are 'std::string' {aka 'std::__cxx11::basic_string<char>'} and 'const bool') 4198 | __detail::__to_chars_10_impl(&__str[__neg], __len, __uval); | ^ /usr/include/c++/13/bits/basic_string.h: In function 'std::string std::__cxx11::to_string(long unsigned int)': /usr/include/c++/13/bits/basic_string.h:4209:55: error: no matching function for call to 'std::__cxx11::basic_string<char>::basic_string(unsigned int, char)' 4209 | string __str(__detail::__to_chars_len(__val), '\0'); | ^ /usr/include/c++/13/bits/basic_string.h:795: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>]' 795 | basic_string(const _Tp& __t, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:795:9: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/basic_string.h:760: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>]' 760 | basic_string(_InputIterator __beg, _InputIterator __end, | ^~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:760:9: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/basic_string.h:4209:55: note: deduced conflicting types for parameter '_InputIterator' ('unsigned int' and 'char') 4209 | string __str(__detail::__to_chars_len(__val), '\0'); | ^ /usr/include/c++/13/bits/basic_string.h:641: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>]' 641 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:641:7: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/basic_string.h:4209:42: note: cannot convert 'std::__detail::__to_chars_len<long unsigned int>(__val, 10)' (type 'unsigned int') to type 'const char*' 4209 | string __str(__detail::__to_chars_len(__val), '\0'); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /usr/include/c++/13/bits/basic_string.h:716: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>]' 716 | basic_string(basic_string&& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:716:35: note: no known conversion for argument 1 from 'unsigned int' to 'std::__cxx11::basic_string<char>&&' 716 | basic_string(basic_string&& __str, const _Alloc& __a) | ~~~~~~~~~~~~~~~^~~~~ /usr/include/c++/13/bits/basic_string.h:711: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>]' 711 | basic_string(const basic_string& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:711:40: note: no known conversion for argument 1 from 'unsigned int' to 'const std::__cxx11::basic_string<char>&' 711 | basic_string(const basic_string& __str, const _Alloc& __a) | ~~~~~~~~~~~~~~~~~~~~^~~~~ /usr/include/c++/13/bits/basic_string.h:706: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>]' 706 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:706:45: note: no known conversion for argument 1 from 'unsigned int' to 'std::initializer_list<char>' 706 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/13/bits/basic_string.h:677: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>]' 677 | basic_string(basic_string&& __str) noexcept | ^~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:677:7: note: candidate expects 1 argument, 2 provided /usr/include/c++/13/bits/basic_string.h:547: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>]' 547 | basic_string(const basic_string& __str) | ^~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:547:7: note: candidate expects 1 argument, 2 provided /usr/include/c++/13/bits/basic_string.h:535: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>]' 535 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ^~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:535:7: note: candidate expects 1 argument, 2 provided /usr/include/c++/13/bits/basic_string.h:522: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>]' 522 | basic_string() | ^~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:522:7: note: candidate expects 0 arguments, 2 provided /usr/include/c++/13/bits/basic_string.h:176: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>]' 176 | basic_string(__sv_wrapper __svw, const _Alloc& __a) | ^~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:176:33: note: no known conversion for argument 1 from 'unsigned int' to 'std::__cxx11::basic_string<char>::__sv_wrapper' 176 | basic_string(__sv_wrapper __svw, const _Alloc& __a) | ~~~~~~~~~~~~~^~~~~ /usr/include/c++/13/bits/basic_string.h:4210:40: error: no match for 'operator[]' (operand types are 'std::string' {aka 'std::__cxx11::basic_string<char>'} and 'int') 4210 | __detail::__to_chars_10_impl(&__str[0], __str.size(), __val); | ^ /usr/include/c++/13/bits/basic_string.h:4210:51: error: 'std::string' {aka 'class std::__cxx11::basic_string<char>'} has no member named 'size' 4210 | __detail::__to_chars_10_impl(&__str[0], __str.size(), __val); | ^~~~ /usr/include/c++/13/bits/basic_string.h: In function 'std::string std::__cxx11::to_string(long long int)': /usr/include/c++/13/bits/basic_string.h:4222:36: error: no matching function for call to 'std::__cxx11::basic_string<char>::basic_string(unsigned int, char)' 4222 | string __str(__neg + __len, '-'); | ^ /usr/include/c++/13/bits/basic_string.h:795: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>]' 795 | basic_string(const _Tp& __t, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:795:9: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/basic_string.h:760: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>]' 760 | basic_string(_InputIterator __beg, _InputIterator __end, | ^~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:760:9: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/basic_string.h:4222:36: note: deduced conflicting types for parameter '_InputIterator' ('unsigned int' and 'char') 4222 | string __str(__neg + __len, '-'); | ^ /usr/include/c++/13/bits/basic_string.h:641: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>]' 641 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:641:7: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/basic_string.h:4222:24: note: cannot convert '(((unsigned int)((int)__neg)) + ((unsigned int)__len))' (type 'unsigned int') to type 'const char*' 4222 | string __str(__neg + __len, '-'); | ~~~~~~^~~~~~~ /usr/include/c++/13/bits/basic_string.h:716: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>]' 716 | basic_string(basic_string&& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:716:35: note: no known conversion for argument 1 from 'unsigned int' to 'std::__cxx11::basic_string<char>&&' 716 | basic_string(basic_string&& __str, const _Alloc& __a) | ~~~~~~~~~~~~~~~^~~~~ /usr/include/c++/13/bits/basic_string.h:711: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>]' 711 | basic_string(const basic_string& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:711:40: note: no known conversion for argument 1 from 'unsigned int' to 'const std::__cxx11::basic_string<char>&' 711 | basic_string(const basic_string& __str, const _Alloc& __a) | ~~~~~~~~~~~~~~~~~~~~^~~~~ /usr/include/c++/13/bits/basic_string.h:706: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>]' 706 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:706:45: note: no known conversion for argument 1 from 'unsigned int' to 'std::initializer_list<char>' 706 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/13/bits/basic_string.h:677: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>]' 677 | basic_string(basic_string&& __str) noexcept | ^~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:677:7: note: candidate expects 1 argument, 2 provided /usr/include/c++/13/bits/basic_string.h:547: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>]' 547 | basic_string(const basic_string& __str) | ^~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:547:7: note: candidate expects 1 argument, 2 provided /usr/include/c++/13/bits/basic_string.h:535: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>]' 535 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ^~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:535:7: note: candidate expects 1 argument, 2 provided /usr/include/c++/13/bits/basic_string.h:522: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>]' 522 | basic_string() | ^~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:522:7: note: candidate expects 0 arguments, 2 provided /usr/include/c++/13/bits/basic_string.h:176: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>]' 176 | basic_string(__sv_wrapper __svw, const _Alloc& __a) | ^~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:176:33: note: no known conversion for argument 1 from 'unsigned int' to 'std::__cxx11::basic_string<char>::__sv_wrapper' 176 | basic_string(__sv_wrapper __svw, const _Alloc& __a) | ~~~~~~~~~~~~~^~~~~ /usr/include/c++/13/bits/basic_string.h:4223:40: error: no match for 'operator[]' (operand types are 'std::string' {aka 'std::__cxx11::basic_string<char>'} and 'const bool') 4223 | __detail::__to_chars_10_impl(&__str[__neg], __len, __uval); | ^ /usr/include/c++/13/bits/basic_string.h: In function 'std::string std::__cxx11::to_string(long long unsigned int)': /usr/include/c++/13/bits/basic_string.h:4231:55: error: no matching function for call to 'std::__cxx11::basic_string<char>::basic_string(unsigned int, char)' 4231 | string __str(__detail::__to_chars_len(__val), '\0'); | ^ /usr/include/c++/13/bits/basic_string.h:795: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>]' 795 | basic_string(const _Tp& __t, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:795:9: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/basic_string.h:760: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>]' 760 | basic_string(_InputIterator __beg, _InputIterator __end, | ^~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:760:9: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/basic_string.h:4231:55: note: deduced conflicting types for parameter '_InputIterator' ('unsigned int' and 'char') 4231 | string __str(__detail::__to_chars_len(__val), '\0'); | ^ /usr/include/c++/13/bits/basic_string.h:641: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>]' 641 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:641:7: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/basic_string.h:4231:42: note: cannot convert 'std::__detail::__to_chars_len<long long unsigned int>(__val, 10)' (type 'unsigned int') to type 'const char*' 4231 | string __str(__detail::__to_chars_len(__val), '\0'); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /usr/include/c++/13/bits/basic_string.h:716: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>]' 716 | basic_string(basic_string&& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:716:35: note: no known conversion for argument 1 from 'unsigned int' to 'std::__cxx11::basic_string<char>&&' 716 | basic_string(basic_string&& __str, const _Alloc& __a) | ~~~~~~~~~~~~~~~^~~~~ /usr/include/c++/13/bits/basic_string.h:711: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>]' 711 | basic_string(const basic_string& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:711:40: note: no known conversion for argument 1 from 'unsigned int' to 'const std::__cxx11::basic_string<char>&' 711 | basic_string(const basic_string& __str, const _Alloc& __a) | ~~~~~~~~~~~~~~~~~~~~^~~~~ /usr/include/c++/13/bits/basic_string.h:706: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>]' 706 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:706:45: note: no known conversion for argument 1 from 'unsigned int' to 'std::initializer_list<char>' 706 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/13/bits/basic_string.h:677: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>]' 677 | basic_string(basic_string&& __str) noexcept | ^~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:677:7: note: candidate expects 1 argument, 2 provided /usr/include/c++/13/bits/basic_string.h:547: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>]' 547 | basic_string(const basic_string& __str) | ^~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:547:7: note: candidate expects 1 argument, 2 provided /usr/include/c++/13/bits/basic_string.h:535: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>]' 535 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ^~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:535:7: note: candidate expects 1 argument, 2 provided /usr/include/c++/13/bits/basic_string.h:522: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>]' 522 | basic_string() | ^~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:522:7: note: candidate expects 0 arguments, 2 provided /usr/include/c++/13/bits/basic_string.h:176: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>]' 176 | basic_string(__sv_wrapper __svw, const _Alloc& __a) | ^~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:176:33: note: no known conversion for argument 1 from 'unsigned int' to 'std::__cxx11::basic_string<char>::__sv_wrapper' 176 | basic_string(__sv_wrapper __svw, const _Alloc& __a) | ~~~~~~~~~~~~~^~~~~ /usr/include/c++/13/bits/basic_string.h:4232:40: error: no match for 'operator[]' (operand types are 'std::string' {aka 'std::__cxx11::basic_string<char>'} and 'int') 4232 | __detail::__to_chars_10_impl(&__str[0], __str.size(), __val); | ^ /usr/include/c++/13/bits/basic_string.h:4232:51: error: 'std::string' {aka 'class std::__cxx11::basic_string<char>'} has no member named 'size' 4232 | __detail::__to_chars_10_impl(&__str[0], __str.size(), __val); | ^~~~ /usr/include/c++/13/bits/basic_string.h: In function 'std::string std::__cxx11::to_string(float)': /usr/include/c++/13/bits/basic_string.h:4245:43: error: no matching function for call to '__to_xstring<std::string>(int (*)(char*, size_t, const char*, __va_list_tag*) noexcept, const int&, const char [3], float&)' 4245 | return __gnu_cxx::__to_xstring<string>(&std::vsnprintf, __n, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 4246 | "%f", __val); | ~~~~~~~~~~~~ /usr/include/c++/13/ext/string_conversions.h:101:5: note: candidate: 'template<class _String, class _CharT> _String __gnu_cxx::__to_xstring(int (*)(_CharT*, int, const _CharT*, __va_list_tag*), int, const _CharT*, ...)' 101 | __to_xstring(int (*__convf) (_CharT*, std::size_t, const _CharT*, | ^~~~~~~~~~~~ /usr/include/c++/13/ext/string_conversions.h:101:5: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/basic_string.h:4245:43: note: mismatched types 'int' and 'size_t' {aka 'long unsigned int'} 4245 | return __gnu_cxx::__to_xstring<string>(&std::vsnprintf, __n, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 4246 | "%f", __val); | ~~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h: In function 'std::string std::__cxx11::to_string(double)': /usr/include/c++/13/bits/basic_string.h:4255:43: error: no matching function for call to '__to_xstring<std::string>(int (*)(char*, size_t, const char*, __va_list_tag*) noexcept, const int&, const char [3], double&)' 4255 | return __gnu_cxx::__to_xstring<string>(&std::vsnprintf, __n, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 4256 | "%f", __val); | ~~~~~~~~~~~~ /usr/include/c++/13/ext/string_conversions.h:101:5: note: candidate: 'template<class _String, class _CharT> _String __gnu_cxx::__to_xstring(int (*)(_CharT*, int, const _CharT*, __va_list_tag*), int, const _CharT*, ...)' 101 | __to_xstring(int (*__convf) (_CharT*, std::size_t, const _CharT*, | ^~~~~~~~~~~~ /usr/include/c++/13/ext/string_conversions.h:101:5: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/basic_string.h:4255:43: note: mismatched types 'int' and 'size_t' {aka 'long unsigned int'} 4255 | return __gnu_cxx::__to_xstring<string>(&std::vsnprintf, __n, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 4256 | "%f", __val); | ~~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h: In function 'std::string std::__cxx11::to_string(long double)': /usr/include/c++/13/bits/basic_string.h:4265:43: error: no matching function for call to '__to_xstring<std::string>(int (*)(char*, size_t, const char*, __va_list_tag*) noexcept, const int&, const char [4], long double&)' 4265 | return __gnu_cxx::__to_xstring<string>(&std::vsnprintf, __n, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 4266 | "%Lf", __val); | ~~~~~~~~~~~~~ /usr/include/c++/13/ext/string_conversions.h:101:5: note: candidate: 'template<class _String, class _CharT> _String __gnu_cxx::__to_xstring(int (*)(_CharT*, int, const _CharT*, __va_list_tag*), int, const _CharT*, ...)' 101 | __to_xstring(int (*__convf) (_CharT*, std::size_t, const _CharT*, | ^~~~~~~~~~~~ /usr/include/c++/13/ext/string_conversions.h:101:5: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/basic_string.h:4265:43: note: mismatched types 'int' and 'size_t' {aka 'long unsigned int'} 4265 | return __gnu_cxx::__to_xstring<string>(&std::vsnprintf, __n, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 4266 | "%Lf", __val); | ~~~~~~~~~~~~~ /usr/include/c++/13/ext/alloc_traits.h: In instantiation of 'struct __gnu_cxx::__alloc_traits<std::allocator<wchar_t>, wchar_t>': /usr/include/c++/13/bits/basic_string.h:90:24: required from 'class std::__cxx11::basic_string<wchar_t>' /usr/include/c++/13/bits/basic_string.h:4273:68: required from here /usr/include/c++/13/ext/alloc_traits.h:56:53: error: no type named 'size_type' in '__gnu_cxx::__alloc_traits<std::allocator<wchar_t>, wchar_t>::_Base_type' {aka 'struct std::allocator_traits<std::allocator<wchar_t> >'} 56 | typedef typename _Base_type::size_type size_type; | ^~~~~~~~~ /usr/include/c++/13/ext/alloc_traits.h:57:53: error: no type named 'difference_type' in '__gnu_cxx::__alloc_traits<std::allocator<wchar_t>, wchar_t>::_Base_type' {aka 'struct std::allocator_traits<std::allocator<wchar_t> >'} 57 | typedef typename _Base_type::difference_type difference_type; | ^~~~~~~~~~~~~~~ /usr/include/c++/13/ext/alloc_traits.h:65:23: error: 'max_size' has not been declared in '__gnu_cxx::__alloc_traits<std::allocator<wchar_t>, wchar_t>::_Base_type' 65 | using _Base_type::max_size; | ^~~~~~~~ /usr/include/c++/13/bits/basic_string.h: In function 'int std::__cxx11::stoi(const std::wstring&, size_t*, int)': /usr/include/c++/13/bits/basic_string.h:4273:40: error: no matching function for call to '__stoa<long int, int>(long int (*)(const wchar_t*, wchar_t**, int) noexcept, const char [5], const wchar_t*, size_t*&, int&)' 4273 | { return __gnu_cxx::__stoa<long, int>(&std::wcstol, "stoi", __str.c_str(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4274 | __idx, __base); } | ~~~~~~~~~~~~~~ /usr/include/c++/13/ext/string_conversions.h:56:5: note: candidate: 'template<class _TRet, class _Ret, class _CharT, class ... _Base> _Ret __gnu_cxx::__stoa(_TRet (*)(const _CharT*, _CharT**, _Base ...), const char*, const _CharT*, int*, _Base ...)' 56 | __stoa(_TRet (*__convf) (const _CharT*, _CharT**, _Base...), | ^~~~~~ /usr/include/c++/13/ext/string_conversions.h:56:5: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/basic_string.h:4274:41: note: cannot convert '__idx' (type 'size_t*' {aka 'long unsigned int*'}) to type 'int*' 4274 | __idx, __base); } | ^~~~~ /usr/include/c++/13/bits/basic_string.h: In function 'long int std::__cxx11::stol(const std::wstring&, size_t*, int)': /usr/include/c++/13/bits/basic_string.h:4278:29: error: no matching function for call to '__stoa(long int (*)(const wchar_t*, wchar_t**, int) noexcept, const char [5], const wchar_t*, size_t*&, int&)' 4278 | { return __gnu_cxx::__stoa(&std::wcstol, "stol", __str.c_str(), | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4279 | __idx, __base); } | ~~~~~~~~~~~~~~ /usr/include/c++/13/ext/string_conversions.h:56:5: note: candidate: 'template<class _TRet, class _Ret, class _CharT, class ... _Base> _Ret __gnu_cxx::__stoa(_TRet (*)(const _CharT*, _CharT**, _Base ...), const char*, const _CharT*, int*, _Base ...)' 56 | __stoa(_TRet (*__convf) (const _CharT*, _CharT**, _Base...), | ^~~~~~ /usr/include/c++/13/ext/string_conversions.h:56:5: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/basic_string.h:4279:30: note: cannot convert '__idx' (type 'size_t*' {aka 'long unsigned int*'}) to type 'int*' 4279 | __idx, __base); } | ^~~~~ /usr/include/c++/13/bits/basic_string.h: In function 'long unsigned int std::__cxx11::stoul(const std::wstring&, size_t*, int)': /usr/include/c++/13/bits/basic_string.h:4283:29: error: no matching function for call to '__stoa(long unsigned int (*)(const wchar_t*, wchar_t**, int) noexcept, const char [6], const wchar_t*, size_t*&, int&)' 4283 | { return __gnu_cxx::__stoa(&std::wcstoul, "stoul", __str.c_str(), | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4284 | __idx, __base); } | ~~~~~~~~~~~~~~ /usr/include/c++/13/ext/string_conversions.h:56:5: note: candidate: 'template<class _TRet, class _Ret, class _CharT, class ... _Base> _Ret __gnu_cxx::__stoa(_TRet (*)(const _CharT*, _CharT**, _Base ...), const char*, const _CharT*, int*, _Base ...)' 56 | __stoa(_TRet (*__convf) (const _CharT*, _CharT**, _Base...), | ^~~~~~ /usr/include/c++/13/ext/string_conversions.h:56:5: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/basic_string.h:4284:30: note: cannot convert '__idx' (type 'size_t*' {aka 'long unsigned int*'}) to type 'int*' 4284 | __idx, __base); } | ^~~~~ /usr/include/c++/13/bits/basic_string.h: In function 'long long int std::__cxx11::stoll(const std::wstring&, size_t*, int)': /usr/include/c++/13/bits/basic_string.h:4288:29: error: no matching function for call to '__stoa(long long int (*)(const wchar_t*, wchar_t**, int) noexcept, const char [6], const wchar_t*, size_t*&, int&)' 4288 | { return __gnu_cxx::__stoa(&std::wcstoll, "stoll", __str.c_str(), | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4289 | __idx, __base); } | ~~~~~~~~~~~~~~ /usr/include/c++/13/ext/string_conversions.h:56:5: note: candidate: 'template<class _TRet, class _Ret, class _CharT, class ... _Base> _Ret __gnu_cxx::__stoa(_TRet (*)(const _CharT*, _CharT**, _Base ...), const char*, const _CharT*, int*, _Base ...)' 56 | __stoa(_TRet (*__convf) (const _CharT*, _CharT**, _Base...), | ^~~~~~ /usr/include/c++/13/ext/string_conversions.h:56:5: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/basic_string.h:4289:30: note: cannot convert '__idx' (type 'size_t*' {aka 'long unsigned int*'}) to type 'int*' 4289 | __idx, __base); } | ^~~~~ /usr/include/c++/13/bits/basic_string.h: In function 'long long unsigned int std::__cxx11::stoull(const std::wstring&, size_t*, int)': /usr/include/c++/13/bits/basic_string.h:4293:29: error: no matching function for call to '__stoa(long long unsigned int (*)(const wchar_t*, wchar_t**, int) noexcept, const char [7], const wchar_t*, size_t*&, int&)' 4293 | { return __gnu_cxx::__stoa(&std::wcstoull, "stoull", __str.c_str(), | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4294 | __idx, __base); } | ~~~~~~~~~~~~~~ /usr/include/c++/13/ext/string_conversions.h:56:5: note: candidate: 'template<class _TRet, class _Ret, class _CharT, class ... _Base> _Ret __gnu_cxx::__stoa(_TRet (*)(const _CharT*, _CharT**, _Base ...), const char*, const _CharT*, int*, _Base ...)' 56 | __stoa(_TRet (*__convf) (const _CharT*, _CharT**, _Base...), | ^~~~~~ /usr/include/c++/13/ext/string_conversions.h:56:5: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/basic_string.h:4294:30: note: cannot convert '__idx' (type 'size_t*' {aka 'long unsigned int*'}) to type 'int*' 4294 | __idx, __base); } | ^~~~~ /usr/include/c++/13/bits/basic_string.h: In function 'float std::__cxx11::stof(const std::wstring&, size_t*)': /usr/include/c++/13/bits/basic_string.h:4299:29: error: no matching function for call to '__stoa(float (*)(const wchar_t*, wchar_t**) noexcept, const char [5], const wchar_t*, size_t*&)' 4299 | { return __gnu_cxx::__stoa(&std::wcstof, "stof", __str.c_str(), __idx); } | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/13/ext/string_conversions.h:56:5: note: candidate: 'template<class _TRet, class _Ret, class _CharT, class ... _Base> _Ret __gnu_cxx::__stoa(_TRet (*)(const _CharT*, _CharT**, _Base ...), const char*, const _CharT*, int*, _Base ...)' 56 | __stoa(_TRet (*__convf) (const _CharT*, _CharT**, _Base...), | ^~~~~~ /usr/include/c++/13/ext/string_conversions.h:56:5: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/basic_string.h:4299:67: note: cannot convert '__idx' (type 'size_t*' {aka 'long unsigned int*'}) to type 'int*' 4299 | { return __gnu_cxx::__stoa(&std::wcstof, "stof", __str.c_str(), __idx); } | ^~~~~ /usr/include/c++/13/bits/basic_string.h: In function 'double std::__cxx11::stod(const std::wstring&, size_t*)': /usr/include/c++/13/bits/basic_string.h:4303:29: error: no matching function for call to '__stoa(double (*)(const wchar_t*, wchar_t**) noexcept, const char [5], const wchar_t*, size_t*&)' 4303 | { return __gnu_cxx::__stoa(&std::wcstod, "stod", __str.c_str(), __idx); } | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/13/ext/string_conversions.h:56:5: note: candidate: 'template<class _TRet, class _Ret, class _CharT, class ... _Base> _Ret __gnu_cxx::__stoa(_TRet (*)(const _CharT*, _CharT**, _Base ...), const char*, const _CharT*, int*, _Base ...)' 56 | __stoa(_TRet (*__convf) (const _CharT*, _CharT**, _Base...), | ^~~~~~ /usr/include/c++/13/ext/string_conversions.h:56:5: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/basic_string.h:4303:67: note: cannot convert '__idx' (type 'size_t*' {aka 'long unsigned int*'}) to type 'int*' 4303 | { return __gnu_cxx::__stoa(&std::wcstod, "stod", __str.c_str(), __idx); } | ^~~~~ /usr/include/c++/13/bits/basic_string.h: In function 'long double std::__cxx11::stold(const std::wstring&, size_t*)': /usr/include/c++/13/bits/basic_string.h:4307:29: error: no matching function for call to '__stoa(long double (*)(const wchar_t*, wchar_t**) noexcept, const char [6], const wchar_t*, size_t*&)' 4307 | { return __gnu_cxx::__stoa(&std::wcstold, "stold", __str.c_str(), __idx); } | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/13/ext/string_conversions.h:56:5: note: candidate: 'template<class _TRet, class _Ret, class _CharT, class ... _Base> _Ret __gnu_cxx::__stoa(_TRet (*)(const _CharT*, _CharT**, _Base ...), const char*, const _CharT*, int*, _Base ...)' 56 | __stoa(_TRet (*__convf) (const _CharT*, _CharT**, _Base...), | ^~~~~~ /usr/include/c++/13/ext/string_conversions.h:56:5: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/basic_string.h:4307:69: note: cannot convert '__idx' (type 'size_t*' {aka 'long unsigned int*'}) to type 'int*' 4307 | { return __gnu_cxx::__stoa(&std::wcstold, "stold", __str.c_str(), __idx); } | ^~~~~ /usr/include/c++/13/bits/basic_string.h: In function 'std::wstring std::__cxx11::to_wstring(int)': /usr/include/c++/13/bits/basic_string.h:4314:44: error: no matching function for call to '__to_xstring<std::wstring>(int (*)(wchar_t*, size_t, const wchar_t*, __va_list_tag*) noexcept, long unsigned int, const wchar_t [3], int&)' 4314 | { return __gnu_cxx::__to_xstring<wstring>(&std::vswprintf, 4 * sizeof(int), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4315 | L"%d", __val); } | ~~~~~~~~~~~~~ /usr/include/c++/13/ext/string_conversions.h:101:5: note: candidate: 'template<class _String, class _CharT> _String __gnu_cxx::__to_xstring(int (*)(_CharT*, int, const _CharT*, __va_list_tag*), int, const _CharT*, ...)' 101 | __to_xstring(int (*__convf) (_CharT*, std::size_t, const _CharT*, | ^~~~~~~~~~~~ /usr/include/c++/13/ext/string_conversions.h:101:5: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/basic_string.h:4314:44: note: mismatched types 'int' and 'size_t' {aka 'long unsigned int'} 4314 | { return __gnu_cxx::__to_xstring<wstring>(&std::vswprintf, 4 * sizeof(int), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4315 | L"%d", __val); } | ~~~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h: In function 'std::wstring std::__cxx11::to_wstring(unsigned int)': /usr/include/c++/13/bits/basic_string.h:4320:44: error: no matching function for call to '__to_xstring<std::wstring>(int (*)(wchar_t*, size_t, const wchar_t*, __va_list_tag*) noexcept, long unsigned int, const wchar_t [3], unsigned int&)' 4320 | { return __gnu_cxx::__to_xstring<wstring>(&std::vswprintf, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ 4321 | 4 * sizeof(unsigned), | ~~~~~~~~~~~~~~~~~~~~~ 4322 | L"%u", __val); } | ~~~~~~~~~~~~~ /usr/include/c++/13/ext/string_conversions.h:101:5: note: candidate: 'template<class _String, class _CharT> _String __gnu_cxx::__to_xstring(int (*)(_CharT*, int, const _CharT*, __va_list_tag*), int, const _CharT*, ...)' 101 | __to_xstring(int (*__convf) (_CharT*, std::size_t, const _CharT*, | ^~~~~~~~~~~~ /usr/include/c++/13/ext/string_conversions.h:101:5: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/basic_string.h:4320:44: note: mismatched types 'int' and 'size_t' {aka 'long unsigned int'} 4320 | { return __gnu_cxx::__to_xstring<wstring>(&std::vswprintf, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ 4321 | 4 * sizeof(unsigned), | ~~~~~~~~~~~~~~~~~~~~~ 4322 | L"%u", __val); } | ~~~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h: In function 'std::wstring std::__cxx11::to_wstring(long int)': /usr/include/c++/13/bits/basic_string.h:4327:44: error: no matching function for call to '__to_xstring<std::wstring>(int (*)(wchar_t*, size_t, const wchar_t*, __va_list_tag*) noexcept, long unsigned int, const wchar_t [4], long int&)' 4327 | { return __gnu_cxx::__to_xstring<wstring>(&std::vswprintf, 4 * sizeof(long), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4328 | L"%ld", __val); } | ~~~~~~~~~~~~~~ /usr/include/c++/13/ext/string_conversions.h:101:5: note: candidate: 'template<class _String, class _CharT> _String __gnu_cxx::__to_xstring(int (*)(_CharT*, int, const _CharT*, __va_list_tag*), int, const _CharT*, ...)' 101 | __to_xstring(int (*__convf) (_CharT*, std::size_t, const _CharT*, | ^~~~~~~~~~~~ /usr/include/c++/13/ext/string_conversions.h:101:5: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/basic_string.h:4327:44: note: mismatched types 'int' and 'size_t' {aka 'long unsigned int'} 4327 | { return __gnu_cxx::__to_xstring<wstring>(&std::vswprintf, 4 * sizeof(long), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4328 | L"%ld", __val); } | ~~~~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h: In function 'std::wstring std::__cxx11::to_wstring(long unsigned int)': /usr/include/c++/13/bits/basic_string.h:4333:44: error: no matching function for call to '__to_xstring<std::wstring>(int (*)(wchar_t*, size_t, const wchar_t*, __va_list_tag*) noexcept, long unsigned int, const wchar_t [4], long unsigned int&)' 4333 | { return __gnu_cxx::__to_xstring<wstring>(&std::vswprintf, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ 4334 | 4 * sizeof(unsigned long), | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 4335 | L"%lu", __val); } | ~~~~~~~~~~~~~~ /usr/include/c++/13/ext/string_conversions.h:101:5: note: candidate: 'template<class _String, class _CharT> _String __gnu_cxx::__to_xstring(int (*)(_CharT*, int, const _CharT*, __va_list_tag*), int, const _CharT*, ...)' 101 | __to_xstring(int (*__convf) (_CharT*, std::size_t, const _CharT*, | ^~~~~~~~~~~~ /usr/include/c++/13/ext/string_conversions.h:101:5: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/basic_string.h:4333:44: note: mismatched types 'int' and 'size_t' {aka 'long unsigned int'} 4333 | { return __gnu_cxx::__to_xstring<wstring>(&std::vswprintf, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ 4334 | 4 * sizeof(unsigned long), | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 4335 | L"%lu", __val); } | ~~~~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h: In function 'std::wstring std::__cxx11::to_wstring(long long int)': /usr/include/c++/13/bits/basic_string.h:4340:44: error: no matching function for call to '__to_xstring<std::wstring>(int (*)(wchar_t*, size_t, const wchar_t*, __va_list_tag*) noexcept, long unsigned int, const wchar_t [5], long long int&)' 4340 | { return __gnu_cxx::__to_xstring<wstring>(&std::vswprintf, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ 4341 | 4 * sizeof(long long), | ~~~~~~~~~~~~~~~~~~~~~~ 4342 | L"%lld", __val); } | ~~~~~~~~~~~~~~~ /usr/include/c++/13/ext/string_conversions.h:101:5: note: candidate: 'template<class _String, class _CharT> _String __gnu_cxx::__to_xstring(int (*)(_CharT*, int, const _CharT*, __va_list_tag*), int, const _CharT*, ...)' 101 | __to_xstring(int (*__convf) (_CharT*, std::size_t, const _CharT*, | ^~~~~~~~~~~~ /usr/include/c++/13/ext/string_conversions.h:101:5: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/basic_string.h:4340:44: note: mismatched types 'int' and 'size_t' {aka 'long unsigned int'} 4340 | { return __gnu_cxx::__to_xstring<wstring>(&std::vswprintf, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ 4341 | 4 * sizeof(long long), | ~~~~~~~~~~~~~~~~~~~~~~ 4342 | L"%lld", __val); } | ~~~~~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h: In function 'std::wstring std::__cxx11::to_wstring(long long unsigned int)': /usr/include/c++/13/bits/basic_string.h:4347:44: error: no matching function for call to '__to_xstring<std::wstring>(int (*)(wchar_t*, size_t, const wchar_t*, __va_list_tag*) noexcept, long unsigned int, const wchar_t [5], long long unsigned int&)' 4347 | { return __gnu_cxx::__to_xstring<wstring>(&std::vswprintf, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ 4348 | 4 * sizeof(unsigned long long), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4349 | L"%llu", __val); } | ~~~~~~~~~~~~~~~ /usr/include/c++/13/ext/string_conversions.h:101:5: note: candidate: 'template<class _String, class _CharT> _String __gnu_cxx::__to_xstring(int (*)(_CharT*, int, const _CharT*, __va_list_tag*), int, const _CharT*, ...)' 101 | __to_xstring(int (*__convf) (_CharT*, std::size_t, const _CharT*, | ^~~~~~~~~~~~ /usr/include/c++/13/ext/string_conversions.h:101:5: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/basic_string.h:4347:44: note: mismatched types 'int' and 'size_t' {aka 'long unsigned int'} 4347 | { return __gnu_cxx::__to_xstring<wstring>(&std::vswprintf, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ 4348 | 4 * sizeof(unsigned long long), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4349 | L"%llu", __val); } | ~~~~~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h: In function 'std::wstring std::__cxx11::to_wstring(float)': /usr/include/c++/13/bits/basic_string.h:4357:44: error: no matching function for call to '__to_xstring<std::wstring>(int (*)(wchar_t*, size_t, const wchar_t*, __va_list_tag*) noexcept, const int&, const wchar_t [3], float&)' 4357 | return __gnu_cxx::__to_xstring<wstring>(&std::vswprintf, __n, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 4358 | L"%f", __val); | ~~~~~~~~~~~~~ /usr/include/c++/13/ext/string_conversions.h:101:5: note: candidate: 'template<class _String, class _CharT> _String __gnu_cxx::__to_xstring(int (*)(_CharT*, int, const _CharT*, __va_list_tag*), int, const _CharT*, ...)' 101 | __to_xstring(int (*__convf) (_CharT*, std::size_t, const _CharT*, | ^~~~~~~~~~~~ /usr/include/c++/13/ext/string_conversions.h:101:5: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/basic_string.h:4357:44: note: mismatched types 'int' and 'size_t' {aka 'long unsigned int'} 4357 | return __gnu_cxx::__to_xstring<wstring>(&std::vswprintf, __n, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 4358 | L"%f", __val); | ~~~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h: In function 'std::wstring std::__cxx11::to_wstring(double)': /usr/include/c++/13/bits/basic_string.h:4367:44: error: no matching function for call to '__to_xstring<std::wstring>(int (*)(wchar_t*, size_t, const wchar_t*, __va_list_tag*) noexcept, const int&, const wchar_t [3], double&)' 4367 | return __gnu_cxx::__to_xstring<wstring>(&std::vswprintf, __n, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 4368 | L"%f", __val); | ~~~~~~~~~~~~~ /usr/include/c++/13/ext/string_conversions.h:101:5: note: candidate: 'template<class _String, class _CharT> _String __gnu_cxx::__to_xstring(int (*)(_CharT*, int, const _CharT*, __va_list_tag*), int, const _CharT*, ...)' 101 | __to_xstring(int (*__convf) (_CharT*, std::size_t, const _CharT*, | ^~~~~~~~~~~~ /usr/include/c++/13/ext/string_conversions.h:101:5: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/basic_string.h:4367:44: note: mismatched types 'int' and 'size_t' {aka 'long unsigned int'} 4367 | return __gnu_cxx::__to_xstring<wstring>(&std::vswprintf, __n, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 4368 | L"%f", __val); | ~~~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h: In function 'std::wstring std::__cxx11::to_wstring(long double)': /usr/include/c++/13/bits/basic_string.h:4377:44: error: no matching function for call to '__to_xstring<std::wstring>(int (*)(wchar_t*, size_t, const wchar_t*, __va_list_tag*) noexcept, const int&, const wchar_t [4], long double&)' 4377 | return __gnu_cxx::__to_xstring<wstring>(&std::vswprintf, __n, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 4378 | L"%Lf", __val); | ~~~~~~~~~~~~~~ /usr/include/c++/13/ext/string_conversions.h:101:5: note: candidate: 'template<class _String, class _CharT> _String __gnu_cxx::__to_xstring(int (*)(_CharT*, int, const _CharT*, __va_list_tag*), int, const _CharT*, ...)' 101 | __to_xstring(int (*__convf) (_CharT*, std::size_t, const _CharT*, | ^~~~~~~~~~~~ /usr/include/c++/13/ext/string_conversions.h:101:5: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/basic_string.h:4377:44: note: mismatched types 'int' and 'size_t' {aka 'long unsigned int'} 4377 | return __gnu_cxx::__to_xstring<wstring>(&std::vswprintf, __n, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 4378 | L"%Lf", __val); | ~~~~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h: In function 'constexpr std::__cxx11::basic_string<char> std::literals::string_literals::operator""s(const char*, size_t)': /usr/include/c++/13/bits/basic_string.h:4488:45: error: no matching function for call to 'std::__cxx11::basic_string<char>::basic_string(<brace-enclosed initializer list>)' 4488 | { return basic_string<char>{__str, __len}; } | ^ /usr/include/c++/13/bits/basic_string.h:795: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>]' 795 | basic_string(const _Tp& __t, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:795:9: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/basic_string.h:760: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>]' 760 | basic_string(_InputIterator __beg, _InputIterator __end, | ^~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:760:9: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/basic_string.h:4488:45: note: deduced conflicting types for parameter '_InputIterator' ('const char*' and 'long unsigned int') 4488 | { return basic_string<char>{__str, __len}; } | ^ /usr/include/c++/13/bits/basic_string.h:641: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>]' 641 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:641:7: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/basic_string.h:4488:40: note: cannot convert '__len' (type 'size_t' {aka 'long unsigned int'}) to type 'const std::allocator<char>&' 4488 | { return basic_string<char>{__str, __len}; } | ^~~~~ /usr/include/c++/13/bits/basic_string.h:716: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>]' 716 | basic_string(basic_string&& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:716:56: note: no known conversion for argument 2 from 'size_t' {aka 'long unsigned int'} to 'const std::allocator<char>&' 716 | basic_string(basic_string&& __str, const _Alloc& __a) | ~~~~~~~~~~~~~~^~~ /usr/include/c++/13/bits/basic_string.h:711: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>]' 711 | basic_string(const basic_string& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:711:61: note: no known conversion for argument 2 from 'size_t' {aka 'long unsigned int'} to 'const std::allocator<char>&' 711 | basic_string(const basic_string& __str, const _Alloc& __a) | ~~~~~~~~~~~~~~^~~ /usr/include/c++/13/bits/basic_string.h:706: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>]' 706 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:706:45: note: no known conversion for argument 1 from 'const char*' to 'std::initializer_list<char>' 706 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/13/bits/basic_string.h:677: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>]' 677 | basic_string(basic_string&& __str) noexcept | ^~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:677:7: note: candidate expects 1 argument, 2 provided /usr/include/c++/13/bits/basic_string.h:547: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>]' 547 | basic_string(const basic_string& __str) | ^~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:547:7: note: candidate expects 1 argument, 2 provided /usr/include/c++/13/bits/basic_string.h:535: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>]' 535 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ^~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:535:7: note: candidate expects 1 argument, 2 provided /usr/include/c++/13/bits/basic_string.h:522: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>]' 522 | basic_string() | ^~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:522:7: note: candidate expects 0 arguments, 2 provided /usr/include/c++/13/bits/basic_string.h:176: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>]' 176 | basic_string(__sv_wrapper __svw, const _Alloc& __a) | ^~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:176:33: note: no known conversion for argument 1 from 'const char*' to 'std::__cxx11::basic_string<char>::__sv_wrapper' 176 | basic_string(__sv_wrapper __svw, const _Alloc& __a) | ~~~~~~~~~~~~~^~~~~ /usr/include/c++/13/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/include/c++/13/bits/basic_string.h:4493:48: error: no matching function for call to 'std::__cxx11::basic_string<wchar_t>::basic_string(<brace-enclosed initializer list>)' 4493 | { return basic_string<wchar_t>{__str, __len}; } | ^ /usr/include/c++/13/bits/basic_string.h:795: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>]' 795 | basic_string(const _Tp& __t, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:795:9: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/basic_string.h:760: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>]' 760 | basic_string(_InputIterator __beg, _InputIterator __end, | ^~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:760:9: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/basic_string.h:4493:48: note: deduced conflicting types for parameter '_InputIterator' ('const wchar_t*' and 'long unsigned int') 4493 | { return basic_string<wchar_t>{__str, __len}; } | ^ /usr/include/c++/13/bits/basic_string.h:641: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>]' 641 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:641:7: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/basic_string.h:4493:43: note: cannot convert '__len' (type 'size_t' {aka 'long unsigned int'}) to type 'const std::allocator<wchar_t>&' 4493 | { return basic_string<wchar_t>{__str, __len}; } | ^~~~~ /usr/include/c++/13/bits/basic_string.h:716: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>]' 716 | basic_string(basic_string&& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:716:56: note: no known conversion for argument 2 from 'size_t' {aka 'long unsigned int'} to 'const std::allocator<wchar_t>&' 716 | basic_string(basic_string&& __str, const _Alloc& __a) | ~~~~~~~~~~~~~~^~~ /usr/include/c++/13/bits/basic_string.h:711: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>]' 711 | basic_string(const basic_string& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:711:61: note: no known conversion for argument 2 from 'size_t' {aka 'long unsigned int'} to 'const std::allocator<wchar_t>&' 711 | basic_string(const basic_string& __str, const _Alloc& __a) | ~~~~~~~~~~~~~~^~~ /usr/include/c++/13/bits/basic_string.h:706: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>]' 706 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:706:45: note: no known conversion for argument 1 from 'const wchar_t*' to 'std::initializer_list<wchar_t>' 706 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/13/bits/basic_string.h:677: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>]' 677 | basic_string(basic_string&& __str) noexcept | ^~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:677:7: note: candidate expects 1 argument, 2 provided /usr/include/c++/13/bits/basic_string.h:547: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>]' 547 | basic_string(const basic_string& __str) | ^~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:547:7: note: candidate expects 1 argument, 2 provided /usr/include/c++/13/bits/basic_string.h:535: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>]' 535 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ^~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:535:7: note: candidate expects 1 argument, 2 provided /usr/include/c++/13/bits/basic_string.h:522: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>]' 522 | basic_string() | ^~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:522:7: note: candidate expects 0 arguments, 2 provided /usr/include/c++/13/bits/basic_string.h:176: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>]' 176 | basic_string(__sv_wrapper __svw, const _Alloc& __a) | ^~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:176:33: note: no known conversion for argument 1 from 'const wchar_t*' to 'std::__cxx11::basic_string<wchar_t>::__sv_wrapper' 176 | basic_string(__sv_wrapper __svw, const _Alloc& __a) | ~~~~~~~~~~~~~^~~~~ /usr/include/c++/13/ext/alloc_traits.h: In instantiation of 'struct __gnu_cxx::__alloc_traits<std::allocator<char8_t>, char8_t>': /usr/include/c++/13/bits/basic_string.h:90:24: required from 'class std::__cxx11::basic_string<char8_t>' /usr/include/c++/13/bits/basic_string.h:4498:51: required from here /usr/include/c++/13/ext/alloc_traits.h:56:53: error: no type named 'size_type' in '__gnu_cxx::__alloc_traits<std::allocator<char8_t>, char8_t>::_Base_type' {aka 'struct std::allocator_traits<std::allocator<char8_t> >'} 56 | typedef typename _Base_type::size_type size_type; | ^~~~~~~~~ /usr/include/c++/13/ext/alloc_traits.h:57:53: error: no type named 'difference_type' in '__gnu_cxx::__alloc_traits<std::allocator<char8_t>, char8_t>::_Base_type' {aka 'struct std::allocator_traits<std::allocator<char8_t> >'} 57 | typedef typename _Base_type::difference_type difference_type; | ^~~~~~~~~~~~~~~ /usr/include/c++/13/ext/alloc_traits.h:65:23: error: 'max_size' has not been declared in '__gnu_cxx::__alloc_traits<std::allocator<char8_t>, char8_t>::_Base_type' 65 | using _Base_type::max_size; | ^~~~~~~~ /usr/include/c++/13/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/include/c++/13/bits/basic_string.h:4499:48: error: no matching function for call to 'std::__cxx11::basic_string<char8_t>::basic_string(<brace-enclosed initializer list>)' 4499 | { return basic_string<char8_t>{__str, __len}; } | ^ /usr/include/c++/13/bits/basic_string.h:795: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>]' 795 | basic_string(const _Tp& __t, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:795:9: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/basic_string.h:760: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>]' 760 | basic_string(_InputIterator __beg, _InputIterator __end, | ^~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:760:9: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/basic_string.h:4499:48: note: deduced conflicting types for parameter '_InputIterator' ('const char8_t*' and 'long unsigned int') 4499 | { return basic_string<char8_t>{__str, __len}; } | ^ /usr/include/c++/13/bits/basic_string.h:641: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>]' 641 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:641:7: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/basic_string.h:4499:43: note: cannot convert '__len' (type 'size_t' {aka 'long unsigned int'}) to type 'const std::allocator<char8_t>&' 4499 | { return basic_string<char8_t>{__str, __len}; } | ^~~~~ /usr/include/c++/13/bits/basic_string.h:716: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>]' 716 | basic_string(basic_string&& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:716:56: note: no known conversion for argument 2 from 'size_t' {aka 'long unsigned int'} to 'const std::allocator<char8_t>&' 716 | basic_string(basic_string&& __str, const _Alloc& __a) | ~~~~~~~~~~~~~~^~~ /usr/include/c++/13/bits/basic_string.h:711: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>]' 711 | basic_string(const basic_string& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:711:61: note: no known conversion for argument 2 from 'size_t' {aka 'long unsigned int'} to 'const std::allocator<char8_t>&' 711 | basic_string(const basic_string& __str, const _Alloc& __a) | ~~~~~~~~~~~~~~^~~ /usr/include/c++/13/bits/basic_string.h:706: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>]' 706 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:706:45: note: no known conversion for argument 1 from 'const char8_t*' to 'std::initializer_list<char8_t>' 706 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/13/bits/basic_string.h:677: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>]' 677 | basic_string(basic_string&& __str) noexcept | ^~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:677:7: note: candidate expects 1 argument, 2 provided /usr/include/c++/13/bits/basic_string.h:547: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>]' 547 | basic_string(const basic_string& __str) | ^~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:547:7: note: candidate expects 1 argument, 2 provided /usr/include/c++/13/bits/basic_string.h:535: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>]' 535 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ^~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:535:7: note: candidate expects 1 argument, 2 provided /usr/include/c++/13/bits/basic_string.h:522: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>]' 522 | basic_string() | ^~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:522:7: note: candidate expects 0 arguments, 2 provided /usr/include/c++/13/bits/basic_string.h:176: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>]' 176 | basic_string(__sv_wrapper __svw, const _Alloc& __a) | ^~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:176:33: note: no known conversion for argument 1 from 'const char8_t*' to 'std::__cxx11::basic_string<char8_t>::__sv_wrapper' 176 | basic_string(__sv_wrapper __svw, const _Alloc& __a) | ~~~~~~~~~~~~~^~~~~ /usr/include/c++/13/ext/alloc_traits.h: In instantiation of 'struct __gnu_cxx::__alloc_traits<std::allocator<char16_t>, char16_t>': /usr/include/c++/13/bits/basic_string.h:90:24: required from 'class std::__cxx11::basic_string<char16_t>' /usr/include/c++/13/bits/basic_string.h:4504:52: required from here /usr/include/c++/13/ext/alloc_traits.h:56:53: error: no type named 'size_type' in '__gnu_cxx::__alloc_traits<std::allocator<char16_t>, char16_t>::_Base_type' {aka 'struct std::allocator_traits<std::allocator<char16_t> >'} 56 | typedef typename _Base_type::size_type size_type; | ^~~~~~~~~ /usr/include/c++/13/ext/alloc_traits.h:57:53: error: no type named 'difference_type' in '__gnu_cxx::__alloc_traits<std::allocator<char16_t>, char16_t>::_Base_type' {aka 'struct std::allocator_traits<std::allocator<char16_t> >'} 57 | typedef typename _Base_type::difference_type difference_type; | ^~~~~~~~~~~~~~~ /usr/include/c++/13/ext/alloc_traits.h:65:23: error: 'max_size' has not been declared in '__gnu_cxx::__alloc_traits<std::allocator<char16_t>, char16_t>::_Base_type' 65 | using _Base_type::max_size; | ^~~~~~~~ /usr/include/c++/13/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/include/c++/13/bits/basic_string.h:4505:49: error: no matching function for call to 'std::__cxx11::basic_string<char16_t>::basic_string(<brace-enclosed initializer list>)' 4505 | { return basic_string<char16_t>{__str, __len}; } | ^ /usr/include/c++/13/bits/basic_string.h:795: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>]' 795 | basic_string(const _Tp& __t, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:795:9: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/basic_string.h:760: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>]' 760 | basic_string(_InputIterator __beg, _InputIterator __end, | ^~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:760:9: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/basic_string.h:4505:49: note: deduced conflicting types for parameter '_InputIterator' ('const char16_t*' and 'long unsigned int') 4505 | { return basic_string<char16_t>{__str, __len}; } | ^ /usr/include/c++/13/bits/basic_string.h:641: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>]' 641 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:641:7: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/basic_string.h:4505:44: note: cannot convert '__len' (type 'size_t' {aka 'long unsigned int'}) to type 'const std::allocator<char16_t>&' 4505 | { return basic_string<char16_t>{__str, __len}; } | ^~~~~ /usr/include/c++/13/bits/basic_string.h:716: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>]' 716 | basic_string(basic_string&& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:716:56: note: no known conversion for argument 2 from 'size_t' {aka 'long unsigned int'} to 'const std::allocator<char16_t>&' 716 | basic_string(basic_string&& __str, const _Alloc& __a) | ~~~~~~~~~~~~~~^~~ /usr/include/c++/13/bits/basic_string.h:711: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>]' 711 | basic_string(const basic_string& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:711:61: note: no known conversion for argument 2 from 'size_t' {aka 'long unsigned int'} to 'const std::allocator<char16_t>&' 711 | basic_string(const basic_string& __str, const _Alloc& __a) | ~~~~~~~~~~~~~~^~~ /usr/include/c++/13/bits/basic_string.h:706: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>]' 706 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:706:45: note: no known conversion for argument 1 from 'const char16_t*' to 'std::initializer_list<char16_t>' 706 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/13/bits/basic_string.h:677: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>]' 677 | basic_string(basic_string&& __str) noexcept | ^~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:677:7: note: candidate expects 1 argument, 2 provided /usr/include/c++/13/bits/basic_string.h:547: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>]' 547 | basic_string(const basic_string& __str) | ^~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:547:7: note: candidate expects 1 argument, 2 provided /usr/include/c++/13/bits/basic_string.h:535: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>]' 535 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ^~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:535:7: note: candidate expects 1 argument, 2 provided /usr/include/c++/13/bits/basic_string.h:522: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>]' 522 | basic_string() | ^~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:522:7: note: candidate expects 0 arguments, 2 provided /usr/include/c++/13/bits/basic_string.h:176: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>]' 176 | basic_string(__sv_wrapper __svw, const _Alloc& __a) | ^~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:176:33: note: no known conversion for argument 1 from 'const char16_t*' to 'std::__cxx11::basic_string<char16_t>::__sv_wrapper' 176 | basic_string(__sv_wrapper __svw, const _Alloc& __a) | ~~~~~~~~~~~~~^~~~~ /usr/include/c++/13/ext/alloc_traits.h: In instantiation of 'struct __gnu_cxx::__alloc_traits<std::allocator<char32_t>, char32_t>': /usr/include/c++/13/bits/basic_string.h:90:24: required from 'class std::__cxx11::basic_string<char32_t>' /usr/include/c++/13/bits/basic_string.h:4509:52: required from here /usr/include/c++/13/ext/alloc_traits.h:56:53: error: no type named 'size_type' in '__gnu_cxx::__alloc_traits<std::allocator<char32_t>, char32_t>::_Base_type' {aka 'struct std::allocator_traits<std::allocator<char32_t> >'} 56 | typedef typename _Base_type::size_type size_type; | ^~~~~~~~~ /usr/include/c++/13/ext/alloc_traits.h:57:53: error: no type named 'difference_type' in '__gnu_cxx::__alloc_traits<std::allocator<char32_t>, char32_t>::_Base_type' {aka 'struct std::allocator_traits<std::allocator<char32_t> >'} 57 | typedef typename _Base_type::difference_type difference_type; | ^~~~~~~~~~~~~~~ /usr/include/c++/13/ext/alloc_traits.h:65:23: error: 'max_size' has not been declared in '__gnu_cxx::__alloc_traits<std::allocator<char32_t>, char32_t>::_Base_type' 65 | using _Base_type::max_size; | ^~~~~~~~ /usr/include/c++/13/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/include/c++/13/bits/basic_string.h:4510:49: error: no matching function for call to 'std::__cxx11::basic_string<char32_t>::basic_string(<brace-enclosed initializer list>)' 4510 | { return basic_string<char32_t>{__str, __len}; } | ^ /usr/include/c++/13/bits/basic_string.h:795: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>]' 795 | basic_string(const _Tp& __t, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:795:9: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/basic_string.h:760: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>]' 760 | basic_string(_InputIterator __beg, _InputIterator __end, | ^~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:760:9: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/basic_string.h:4510:49: note: deduced conflicting types for parameter '_InputIterator' ('const char32_t*' and 'long unsigned int') 4510 | { return basic_string<char32_t>{__str, __len}; } | ^ /usr/include/c++/13/bits/basic_string.h:641: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>]' 641 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:641:7: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/basic_string.h:4510:44: note: cannot convert '__len' (type 'size_t' {aka 'long unsigned int'}) to type 'const std::allocator<char32_t>&' 4510 | { return basic_string<char32_t>{__str, __len}; } | ^~~~~ /usr/include/c++/13/bits/basic_string.h:716: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>]' 716 | basic_string(basic_string&& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:716:56: note: no known conversion for argument 2 from 'size_t' {aka 'long unsigned int'} to 'const std::allocator<char32_t>&' 716 | basic_string(basic_string&& __str, const _Alloc& __a) | ~~~~~~~~~~~~~~^~~ /usr/include/c++/13/bits/basic_string.h:711: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>]' 711 | basic_string(const basic_string& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:711:61: note: no known conversion for argument 2 from 'size_t' {aka 'long unsigned int'} to 'const std::allocator<char32_t>&' 711 | basic_string(const basic_string& __str, const _Alloc& __a) | ~~~~~~~~~~~~~~^~~ /usr/include/c++/13/bits/basic_string.h:706: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>]' 706 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:706:45: note: no known conversion for argument 1 from 'const char32_t*' to 'std::initializer_list<char32_t>' 706 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/13/bits/basic_string.h:677: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>]' 677 | basic_string(basic_string&& __str) noexcept | ^~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:677:7: note: candidate expects 1 argument, 2 provided /usr/include/c++/13/bits/basic_string.h:547: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>]' 547 | basic_string(const basic_string& __str) | ^~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:547:7: note: candidate expects 1 argument, 2 provided /usr/include/c++/13/bits/basic_string.h:535: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>]' 535 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ^~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:535:7: note: candidate expects 1 argument, 2 provided /usr/include/c++/13/bits/basic_string.h:522: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>]' 522 | basic_string() | ^~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:522:7: note: candidate expects 0 arguments, 2 provided /usr/include/c++/13/bits/basic_string.h:176: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>]' 176 | basic_string(__sv_wrapper __svw, const _Alloc& __a) | ^~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:176:33: note: no known conversion for argument 1 from 'const char32_t*' to 'std::__cxx11::basic_string<char32_t>::__sv_wrapper' 176 | basic_string(__sv_wrapper __svw, const _Alloc& __a) | ~~~~~~~~~~~~~^~~~~ In file included from /usr/include/c++/13/string:55: /usr/include/c++/13/bits/basic_string.tcc: At global scope: /usr/include/c++/13/bits/basic_string.tcc:979:73: error: no member function '_M_replace_cold' declared in 'std::__cxx11::basic_string<char>' 979 | const size_type, const size_type); | ^ /usr/include/c++/13/bits/basic_string.tcc:1005:76: error: no member function '_M_replace_cold' declared in 'std::__cxx11::basic_string<wchar_t>' 1005 | const size_type, const size_type); | ^ In file included from /usr/include/c++/13/string:58: /usr/include/c++/13/bits/memory_resource.h: In member function 'void* std::pmr::memory_resource::allocate(size_t, size_t)': /usr/include/c++/13/bits/memory_resource.h:76:28: error: no matching function for call to 'operator new(size_t&, void*)' 76 | { return ::operator new(__bytes, do_allocate(__bytes, __alignment)); } | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <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/include/c++/13/bits/memory_resource.h: At global scope: /usr/include/c++/13/bits/memory_resource.h:412:36: error: 'ptrdiff_t' in namespace 'std' does not name a type 412 | using difference_type = std::ptrdiff_t; | ^~~~~~~~~ /usr/include/c++/13/bits/memory_resource.h:415:30: error: 'size_t' in namespace 'std' does not name a type; did you mean 'size'? 415 | using size_type = std::size_t; | ^~~~~~ | size /usr/include/c++/13/bits/memory_resource.h:447:37: error: 'size_type' has not been declared 447 | allocate(allocator_type& __a, size_type __n) | ^~~~~~~~~ /usr/include/c++/13/bits/memory_resource.h:462:37: error: 'size_type' has not been declared 462 | allocate(allocator_type& __a, size_type __n, const_void_pointer) | ^~~~~~~~~ /usr/include/c++/13/bits/memory_resource.h:474:52: error: 'size_type' has not been declared 474 | deallocate(allocator_type& __a, pointer __p, size_type __n) | ^~~~~~~~~ /usr/include/c++/13/bits/memory_resource.h:510:35: error: 'size_type' does not name a type; did you mean 'true_type'? 510 | static _GLIBCXX20_CONSTEXPR size_type | ^~~~~~~~~ | true_type In file included from /usr/include/c++/13/bits/hashtable_policy.h:38, from /usr/include/c++/13/bits/hashtable.h:35, from /usr/include/c++/13/bits/unordered_map.h:33, from /usr/include/c++/13/unordered_map:41, from /usr/include/c++/13/functional:63, from /usr/include/x86_64-linux-gnu/c++/13/bits/stdc++.h:53: /usr/include/c++/13/ext/aligned_buffer.h:61:24: error: invalid use of '::' 61 | __aligned_membuf(std::nullptr_t) { } | ^~~ /usr/include/c++/13/ext/aligned_buffer.h:61:42: error: expected ';' at end of member declaration 61 | __aligned_membuf(std::nullptr_t) { } | ^ | ; /usr/include/c++/13/ext/aligned_buffer.h:96:60: error: '<declaration error>' is not a template [-fpermissive] 96 | std::aligned_storage<sizeof(_Tp), __alignof__(_Tp)>::type _M_storage; | ^~ /usr/include/c++/13/ext/aligned_buffer.h:101:24: error: invalid use of '::' 101 | __aligned_buffer(std::nullptr_t) { } | ^~~ /usr/include/c++/13/ext/aligned_buffer.h:101:42: error: expected ';' at end of member declaration 101 | __aligned_buffer(std::nullptr_t) { } | ^ | ; /usr/include/c++/13/bits/hashtable_policy.h:296:29: error: 'size_t' in namespace 'std' does not name a type; did you mean 'size'? 296 | static constexpr std::size_t | ^~~~~~ | size /usr/include/c++/13/bits/hashtable_policy.h:363:12: error: 'size_t' in namespace 'std' does not name a type; did you mean 'size'? 363 | { std::size_t _M_hash_code; }; | ^~~~~~ | size /usr/include/c++/13/bits/hashtable_policy.h:424:36: error: 'ptrdiff_t' in namespace 'std' does not name a type 424 | using difference_type = std::ptrdiff_t; | ^~~~~~~~~ /usr/include/c++/13/bits/hashtable_policy.h:474:20: error: 'ptrdiff_t' in namespace 'std' does not name a type 474 | typedef std::ptrdiff_t difference_type; | ^~~~~~~~~ /usr/include/c++/13/bits/hashtable_policy.h:521:18: error: 'size_t' in namespace 'std' does not name a type; did you mean 'size'? 521 | typedef std::size_t first_argument_type; | ^~~~~~ | size /usr/include/c++/13/bits/hashtable_policy.h:522:18: error: 'size_t' in namespace 'std' does not name a type; did you mean 'size'? 522 | typedef std::size_t second_argument_type; | ^~~~~~ | size /usr/include/c++/13/bits/hashtable_policy.h:523:18: error: 'size_t' in namespace 'std' does not name a type; did you mean 'size'? 523 | typedef std::size_t result_type; | ^~~~~~ | size /usr/include/c++/13/bits/hashtable_policy.h:525:5: error: 'result_type' does not name a type 525 | result_type | ^~~~~~~~~~~ /usr/include/c++/13/bits/hashtable_policy.h:552:10: error: 'size_t' in namespace 'std' does not name a type; did you mean 'size'? 552 | std::size_t | ^~~~~~ | size /usr/include/c++/13/bits/hashtable_policy.h:556:10: error: 'size_t' in namespace 'std' does not name a type; did you mean 'size'? 556 | std::size_t | ^~~~~~ | size /usr/include/c++/13/bits/hashtable_policy.h:564:26: error: 'size_t' is not a member of 'std'; did you mean 'size'? 564 | std::pair<bool, std::size_t> | ^~~~~~ | size /usr/include/c++/13/bits/hashtable_policy.h:564:32: error: template argument 2 is invalid 564 | std::pair<bool, std::size_t> | ^ /usr/include/c++/13/bits/hashtable_policy.h:564:10: error: '<expression error>' in namespace 'std' does not name a type 564 | std::pair<bool, std::size_t> | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/13/bits/hashtable_policy.h:568:18: error: 'size_t' in namespace 'std' does not name a type; did you mean 'size'? 568 | typedef std::size_t _State; | ^~~~~~ | size /usr/include/c++/13/bits/hashtable_policy.h:570:5: error: '_State' does not name a type 570 | _State | ^~~~~~ /usr/include/c++/13/bits/hashtable_policy.h:579:14: error: '_State' has not been declared 579 | _M_reset(_State __state) | ^~~~~~ /usr/include/c++/13/bits/hashtable_policy.h:582:23: error: 'size_t' in namespace 'std' does not name a type; did you mean 'size'? 582 | static const std::size_t _S_growth_factor = 2; | ^~~~~~ | size /usr/include/c++/13/bits/hashtable_policy.h:585:18: error: 'size_t' in namespace 'std' does not name a type; did you mean 'size'? 585 | mutable std::size_t _M_next_resize; | ^~~~~~ | size /usr/include/c++/13/bits/hashtable_policy.h: In constructor 'std::__detail::_Prime_rehash_policy::_Prime_rehash_policy(float)': /usr/include/c++/13/bits/hashtable_policy.h:545:32: error: class 'std::__detail::_Prime_rehash_policy' does not have any field named '_M_next_resize' 545 | : _M_max_load_factor(__z), _M_next_resize(0) { } | ^~~~~~~~~~~~~~ /usr/include/c++/13/bits/hashtable_policy.h: In member function 'void std::__detail::_Prime_rehash_policy::_M_reset()': /usr/include/c++/13/bits/hashtable_policy.h:576:7: error: '_M_next_resize' was not declared in this scope 576 | { _M_next_resize = 0; } | ^~~~~~~~~~~~~~ /usr/include/c++/13/bits/hashtable_policy.h: In member function 'void std::__detail::_Prime_rehash_policy::_M_reset(int)': /usr/include/c++/13/bits/hashtable_policy.h:580:7: error: '_M_next_resize' was not declared in this scope 580 | { _M_next_resize = __state; } | ^~~~~~~~~~~~~~ /usr/include/c++/13/bits/hashtable_policy.h: At global scope: /usr/include/c++/13/bits/hashtable_policy.h:591:18: error: 'size_t' in namespace 'std' does not name a type; did you mean 'size'? 591 | typedef std::size_t first_argument_type; | ^~~~~~ | size /usr/include/c++/13/bits/hashtable_policy.h:592:18: error: 'size_t' in namespace 'std' does not name a type; did you mean 'size'? 592 | typedef std::size_t second_argument_type; | ^~~~~~ | size /usr/include/c++/13/bits/hashtable_policy.h:593:18: error: 'size_t' in namespace 'std' does not name a type; did you mean 'size'? 593 | typedef std::size_t result_type; | ^~~~~~ | size /usr/include/c++/13/bits/hashtable_policy.h:595:5: error: 'result_type' does not name a type 595 | result_type | ^~~~~~~~~~~ /usr/include/c++/13/bits/hashtable_policy.h:602:15: error: 'size_t' in namespace 'std' does not name a type; did you mean 'size'? 602 | inline std::size_t | ^~~~~~ | size /usr/include/c++/13/bits/hashtable_policy.h:631:10: error: 'size_t' in namespace 'std' does not name a type; did you mean 'size'? 631 | std::size_t | ^~~~~~ | size /usr/include/c++/13/bits/hashtable_policy.h:665:10: error: 'size_t' in namespace 'std' does not name a type; did you mean 'size'? 665 | std::size_t | ^~~~~~ | size /usr/include/c++/13/bits/hashtable_policy.h:673:26: error: 'size_t' is not a member of 'std'; did you mean 'size'? 673 | std::pair<bool, std::size_t> | ^~~~~~ | size /usr/include/c++/13/bits/hashtable_policy.h:673:32: error: template argument 2 is invalid 673 | std::pair<bool, std::size_t> | ^ /usr/include/c++/13/bits/hashtable_policy.h:673:10: error: '<expression error>' in namespace 'std' does not name a type 673 | std::pair<bool, std::size_t> | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/13/bits/hashtable_policy.h:698:18: error: 'size_t' in namespace 'std' does not name a type; did you mean 'size'? 698 | typedef std::size_t _State; | ^~~~~~ | size /usr/include/c++/13/bits/hashtable_policy.h:700:5: error: '_State' does not name a type 700 | _State | ^~~~~~ /usr/include/c++/13/bits/hashtable_policy.h:709:14: error: '_State' has not been declared 709 | _M_reset(_State __state) noexcept | ^~~~~~ /usr/include/c++/13/bits/hashtable_policy.h:712:23: error: 'size_t' in namespace 'std' does not name a type; did you mean 'size'? 712 | static const std::size_t _S_growth_factor = 2; | ^~~~~~ | size /usr/include/c++/13/bits/hashtable_policy.h:715:10: error: 'size_t' in namespace 'std' does not name a type; did you mean 'size'? 715 | std::size_t _M_next_resize; | ^~~~~~ | size /usr/include/c++/13/bits/hashtable_policy.h: In constructor 'std::__detail::_Power2_rehash_policy::_Power2_rehash_policy(float)': /usr/include/c++/13/bits/hashtable_policy.h:623:32: error: class 'std::__detail::_Power2_rehash_policy' does not have any field named '_M_next_resize' 623 | : _M_max_load_factor(__z), _M_next_resize(0) { } | ^~~~~~~~~~~~~~ /usr/include/c++/13/bits/hashtable_policy.h: In member function 'void std::__detail::_Power2_rehash_policy::_M_reset()': /usr/include/c++/13/bits/hashtable_policy.h:706:7: error: '_M_next_resize' was not declared in this scope 706 | { _M_next_resize = 0; } | ^~~~~~~~~~~~~~ /usr/include/c++/13/bits/hashtable_policy.h: In member function 'void std::__detail::_Power2_rehash_policy::_M_reset(int)': /usr/include/c++/13/bits/hashtable_policy.h:710:7: error: '_M_next_resize' was not declared in this scope 710 | { _M_next_resize = __state; } | ^~~~~~~~~~~~~~ /usr/include/c++/13/bits/hashtable_policy.h: In member function 'std::__detail::_Map_base<_Key, std::pair<const _Key, _Val>, _Alloc, std::__detail::_Select1st, _Equal, _Hash, _RangeHash, _Unused, _RehashPolicy, _Traits, true>::mapped_type& std::__detail::_Map_base<_Key, std::pair<const _Key, _Val>, _Alloc, std::__detail::_Select1st, _Equal, _Hash, _RangeHash, _Unused, _RehashPolicy, _Traits, true>::operator[](const key_type&)': /usr/include/c++/13/bits/hashtable_policy.h:814:12: error: 'size_t' is not a member of 'std'; did you mean 'size'? 814 | std::size_t __bkt = __h->_M_bucket_index(__code); | ^~~~~~ | size /usr/include/c++/13/bits/hashtable_policy.h:815:43: error: '__bkt' was not declared in this scope; did you mean '__k'? 815 | if (auto __node = __h->_M_find_node(__bkt, __k, __code)) | ^~~~~ | __k /usr/include/c++/13/bits/hashtable_policy.h:825:38: error: '__bkt' was not declared in this scope; did you mean '__k'? 825 | = __h->_M_insert_unique_node(__bkt, __code, __node._M_node); | ^~~~~ | __k /usr/include/c++/13/bits/hashtable_policy.h: In member function 'std::__detail::_Map_base<_Key, std::pair<const _Key, _Val>, _Alloc, std::__detail::_Select1st, _Equal, _Hash, _RangeHash, _Unused, _RehashPolicy, _Traits, true>::mapped_type& std::__detail::_Map_base<_Key, std::pair<const _Key, _Val>, _Alloc, std::__detail::_Select1st, _Equal, _Hash, _RangeHash, _Unused, _RehashPolicy, _Traits, true>::operator[](key_type&&)': /usr/include/c++/13/bits/hashtable_policy.h:841:12: error: 'size_t' is not a member of 'std'; did you mean 'size'? 841 | std::size_t __bkt = __h->_M_bucket_index(__code); | ^~~~~~ | size /usr/include/c++/13/bits/hashtable_policy.h:842:43: error: '__bkt' was not declared in this scope; did you mean '__k'? 842 | if (auto __node = __h->_M_find_node(__bkt, __k, __code)) | ^~~~~ | __k /usr/include/c++/13/bits/hashtable_policy.h:852:38: error: '__bkt' was not declared in this scope; did you mean '__k'? 852 | = __h->_M_insert_unique_node(__bkt, __code, __node._M_node); | ^~~~~ | __k /usr/include/c++/13/bits/hashtable_policy.h: In member function 'std::pair<std::__detail::_Node_iterator<_Value, typename _Traits::__constant_iterators::value, typename _Traits::__hash_cached::value>, bool> std::__detail::_Insert_base<_Key, _Value, _Alloc, _ExtractKey, _Equal, _Hash, _RangeHash, _Unused, _RehashPolicy, _Traits>::try_emplace(const_iterator, _KType&&, _Args&& ...)': /usr/include/c++/13/bits/hashtable_policy.h:950:16: error: 'size_t' is not a member of 'std'; did you mean 'size'? 950 | std::size_t __bkt = __h._M_bucket_index(__code); | ^~~~~~ | size /usr/include/c++/13/bits/hashtable_policy.h:951:46: error: '__bkt' was not declared in this scope; did you mean '__k'? 951 | if (auto __node = __h._M_find_node(__bkt, __k, __code)) | ^~~~~ | __k /usr/include/c++/13/bits/hashtable_policy.h:961:41: error: '__bkt' was not declared in this scope 961 | = __h._M_insert_unique_node(__bkt, __code, __node._M_node); | ^~~~~ /usr/include/c++/13/bits/hashtable_policy.h: In member function 'void std::__detail::_Insert_base<_Key, _Value, _Alloc, _ExtractKey, _Equal, _Hash, _RangeHash, _Unused, _RehashPolicy, _Traits>::_M_insert_range(_InputIterator, _InputIterator, const _NodeGetter&, std::false_type)': /usr/include/c++/13/bits/hashtable_policy.h:1011:48: error: 'size_t' is not a member of 'std'; did you mean 'size'? 1011 | using pair_type = std::pair<bool, std::size_t>; | ^~~~~~ | size /usr/include/c++/13/bits/hashtable_policy.h:1011:54: error: template argument 2 is invalid 1011 | using pair_type = std::pair<bool, std::size_t>; | ^ /usr/include/c++/13/bits/hashtable_policy.h:1011:32: error: '<expression error>' in namespace 'std' does not name a type 1011 | using pair_type = std::pair<bool, std::size_t>; | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/13/bits/hashtable_policy.h:1020:9: error: 'pair_type' was not declared in this scope 1020 | pair_type __do_rehash = __rehash._M_need_rehash(__h._M_bucket_count, | ^~~~~~~~~ /usr/include/c++/13/bits/hashtable_policy.h:1024:13: error: '__do_rehash' was not declared in this scope; did you mean '__rehash'? 1024 | if (__do_rehash.first) | ^~~~~~~~~~~ | __rehash /usr/include/c++/13/bits/hashtable_policy.h: At global scope: /usr/include/c++/13/bits/hashtable_policy.h:1196:15: error: 'std::size_t' has not been declared 1196 | reserve(std::size_t __n) | ^~~ /usr/include/c++/13/bits/hashtable_policy.h:1297:20: error: 'size_t' in namespace 'std' does not name a type; did you mean 'size'? 1297 | typedef std::size_t __hash_code; | ^~~~~~ | size /usr/include/c++/13/bits/hashtable_policy.h:1305:7: error: '__hash_code' does not name a type; did you mean '_Hash_node'? 1305 | __hash_code | ^~~~~~~~~~~ | _Hash_node /usr/include/c++/13/bits/hashtable_policy.h:1314:9: error: '__hash_code' does not name a type; did you mean '_Hash_node'? 1314 | __hash_code | ^~~~~~~~~~~ | _Hash_node /usr/include/c++/13/bits/hashtable_policy.h:1322:7: error: '__hash_code' does not name a type; did you mean '_Hash_node'? 1322 | __hash_code | ^~~~~~~~~~~ | _Hash_node /usr/include/c++/13/bits/hashtable_policy.h:1326:7: error: '__hash_code' does not name a type; did you mean '_Hash_node'? 1326 | __hash_code | ^~~~~~~~~~~ | _Hash_node /usr/include/c++/13/bits/hashtable_policy.h:1330:12: error: 'size_t' in namespace 'std' does not name a type; did you mean 'size'? 1330 | std::size_t | ^~~~~~ | size /usr/include/c++/13/bits/hashtable_policy.h:1334:12: error: 'size_t' in namespace 'std' does not name a type; did you mean 'size'? 1334 | std::size_t | ^~~~~~ | size /usr/include/c++/13/bits/hashtable_policy.h:1345:12: error: 'size_t' in namespace 'std' does not name a type; did you mean 'size'? 1345 | std::size_t | ^~~~~~ | size /usr/include/c++/13/bits/hashtable_policy.h:1353:52: error: '__hash_code' has not been declared 1353 | _M_store_code(_Hash_node_code_cache<false>&, __hash_code) const | ^~~~~~~~~~~ /usr/include/c++/13/bits/hashtable_policy.h:1362:55: error: '__hash_code' has not been declared 1362 | _M_store_code(_Hash_node_code_cache<true>& __n, __hash_code __c) const | ^~~~~~~~~~~ /usr/include/c++/13/bits/hashtable_policy.h: In member function 'void std::__detail::_Hash_code_base<_Key, _Value, _ExtractKey, _Hash, _RangeHash, _Unused, __cache_hash_code>::_M_store_code(std::__detail::_Hash_node_code_cache<true>&, int) const': /usr/include/c++/13/bits/hashtable_policy.h:1363:13: error: 'struct std::__detail::_Hash_node_code_cache<true>' has no member named '_M_hash_code' 1363 | { __n._M_hash_code = __c; } | ^~~~~~~~~~~~ /usr/include/c++/13/bits/hashtable_policy.h: In member function 'void std::__detail::_Hash_code_base<_Key, _Value, _ExtractKey, _Hash, _RangeHash, _Unused, __cache_hash_code>::_M_copy_code(std::__detail::_Hash_node_code_cache<true>&, const std::__detail::_Hash_node_code_cache<true>&) const': /usr/include/c++/13/bits/hashtable_policy.h:1368:14: error: 'struct std::__detail::_Hash_node_code_cache<true>' has no member named '_M_hash_code' 1368 | { __to._M_hash_code = __from._M_hash_code; } | ^~~~~~~~~~~~ /usr/include/c++/13/bits/hashtable_policy.h:1368:36: error: 'const struct std::__detail::_Hash_node_code_cache<true>' has no member named '_M_hash_code' 1368 | { __to._M_hash_code = __from._M_hash_code; } | ^~~~~~~~~~~~ /usr/include/c++/13/bits/hashtable_policy.h: At global scope: /usr/include/c++/13/bits/hashtable_policy.h:1393:28: error: 'std::size_t' has not been declared 1393 | std::size_t __bkt, std::size_t __bkt_count) | ^~~ /usr/include/c++/13/bits/hashtable_policy.h:1393:47: error: 'std::size_t' has not been declared 1393 | std::size_t __bkt, std::size_t __bkt_count) | ^~~ /usr/include/c++/13/bits/hashtable_policy.h:1410:12: error: 'size_t' in namespace 'std' does not name a type; did you mean 'size'? 1410 | std::size_t _M_bucket; | ^~~~~~ | size /usr/include/c++/13/bits/hashtable_policy.h:1411:12: error: 'size_t' in namespace 'std' does not name a type; did you mean 'size'? 1411 | std::size_t _M_bucket_count; | ^~~~~~ | size /usr/include/c++/13/bits/hashtable_policy.h:1414:12: error: 'size_t' in namespace 'std' does not name a type; did you mean 'size'? 1414 | std::size_t | ^~~~~~ | size /usr/include/c++/13/bits/hashtable_policy.h: In constructor 'std::__detail::_Local_iterator_base<_Key, _Value, _ExtractKey, _Hash, _RangeHash, _Unused, true>::_Local_iterator_base(const __hash_code_base&, std::__detail::_Hash_node<_Value, true>*, int, int)': /usr/include/c++/13/bits/hashtable_policy.h:1394:32: error: class 'std::__detail::_Local_iterator_base<_Key, _Value, _ExtractKey, _Hash, _RangeHash, _Unused, true>' does not have any field named '_M_bucket' 1394 | : __base_node_iter(__p), _M_bucket(__bkt), _M_bucket_count(__bkt_count) | ^~~~~~~~~ /usr/include/c++/13/bits/hashtable_policy.h:1394:50: error: class 'std::__detail::_Local_iterator_base<_Key, _Value, _ExtractKey, _Hash, _RangeHash, _Unused, true>' does not have any field named '_M_bucket_count' 1394 | : __base_node_iter(__p), _M_bucket(__bkt), _M_bucket_count(__bkt_count) | ^~~~~~~~~~~~~~~ /usr/include/c++/13/bits/hashtable_policy.h: In member function 'void std::__detail::_Local_iterator_base<_Key, _Value, _ExtractKey, _Hash, _RangeHash, _Unused, true>::_M_incr()': /usr/include/c++/13/bits/hashtable_policy.h:1403:18: error: 'size_t' is not a member of 'std'; did you mean 'size'? 1403 | std::size_t __bkt | ^~~~~~ | size /usr/include/c++/13/bits/hashtable_policy.h:1404:58: error: '_M_bucket_count' was not declared in this scope 1404 | = _RangeHash{}(this->_M_cur->_M_hash_code, _M_bucket_count); | ^~~~~~~~~~~~~~~ /usr/include/c++/13/bits/hashtable_policy.h:1405:17: error: '__bkt' was not declared in this scope 1405 | if (__bkt != _M_bucket) | ^~~~~ /usr/include/c++/13/bits/hashtable_policy.h:1405:26: error: '_M_bucket' was not declared in this scope 1405 | if (__bkt != _M_bucket) | ^~~~~~~~~ /usr/include/c++/13/bits/hashtable_policy.h: At global scope: /usr/include/c++/13/bits/hashtable_policy.h:1473:28: error: 'std::size_t' has not been declared 1473 | std::size_t __bkt, std::size_t __bkt_count) | ^~~ /usr/include/c++/13/bits/hashtable_policy.h:1473:47: error: 'std::size_t' has not been declared 1473 | std::size_t __bkt, std::size_t __bkt_count) | ^~~ /usr/include/c++/13/bits/hashtable_policy.h:1517:12: error: 'size_t' in namespace 'std' does not name a type; did you mean 'size'? 1517 | std::size_t _M_bucket; | ^~~~~~ | size /usr/include/c++/13/bits/hashtable_policy.h:1518:12: error: 'size_t' in namespace 'std' does not name a type; did you mean 'size'? 1518 | std::size_t _M_bucket_count; | ^~~~~~ | size /usr/include/c++/13/bits/hashtable_policy.h:1528:12: error: 'size_t' in namespace 'std' does not name a type; did you mean 'size'? 1528 | std::size_t | ^~~~~~ | size /usr/include/c++/13/bits/hashtable_policy.h: In constructor 'std::__detail::_Local_iterator_base<_Key, _Value, _ExtractKey, _Hash, _RangeHash, _Unused, false>::_Local_iterator_base()': /usr/include/c++/13/bits/hashtable_policy.h:1469:32: error: class 'std::__detail::_Local_iterator_base<_Key, _Value, _ExtractKey, _Hash, _RangeHash, _Unused, false>' does not have any field named '_M_bucket_count' 1469 | _Local_iterator_base() : _M_bucket_count(-1) { } | ^~~~~~~~~~~~~~~ /usr/include/c++/13/bits/hashtable_policy.h: In constructor 'std::__detail::_Local_iterator_base<_Key, _Value, _ExtractKey, _Hash, _RangeHash, _Unused, false>::_Local_iterator_base(const __hash_code_base&, std::__detail::_Hash_node<_Value, false>*, int, int)': /usr/include/c++/13/bits/hashtable_policy.h:1474:32: error: class 'std::__detail::_Local_iterator_base<_Key, _Value, _ExtractKey, _Hash, _RangeHash, _Unused, false>' does not have any field named '_M_bucket' 1474 | : __node_iter_base(__p), _M_bucket(__bkt), _M_bucket_count(__bkt_count) | ^~~~~~~~~ /usr/include/c++/13/bits/hashtable_policy.h:1474:50: error: class 'std::__detail::_Local_iterator_base<_Key, _Value, _ExtractKey, _Hash, _RangeHash, _Unused, false>' does not have any field named '_M_bucket_count' 1474 | : __node_iter_base(__p), _M_bucket(__bkt), _M_bucket_count(__bkt_count) | ^~~~~~~~~~~~~~~ /usr/include/c++/13/bits/hashtable_policy.h: In destructor 'std::__detail::_Local_iterator_base<_Key, _Value, _ExtractKey, _Hash, _RangeHash, _Unused, false>::~_Local_iterator_base()': /usr/include/c++/13/bits/hashtable_policy.h:1479:13: error: '_M_bucket_count' was not declared in this scope 1479 | if (_M_bucket_count != size_t(-1)) | ^~~~~~~~~~~~~~~ /usr/include/c++/13/bits/hashtable_policy.h: In copy constructor 'std::__detail::_Local_iterator_base<_Key, _Value, _ExtractKey, _Hash, _RangeHash, _Unused, false>::_Local_iterator_base(const std::__detail::_Local_iterator_base<_Key, _Value, _ExtractKey, _Hash, _RangeHash, _Unused, false>&)': /usr/include/c++/13/bits/hashtable_policy.h:1484:42: error: class 'std::__detail::_Local_iterator_base<_Key, _Value, _ExtractKey, _Hash, _RangeHash, _Unused, false>' does not have any field named '_M_bucket' 1484 | : __node_iter_base(__iter._M_cur), _M_bucket(__iter._M_bucket) | ^~~~~~~~~ /usr/include/c++/13/bits/hashtable_policy.h:1485:9: error: class 'std::__detail::_Local_iterator_base<_Key, _Value, _ExtractKey, _Hash, _RangeHash, _Unused, false>' does not have any field named '_M_bucket_count' 1485 | , _M_bucket_count(__iter._M_bucket_count) | ^~~~~~~~~~~~~~~ /usr/include/c++/13/bits/hashtable_policy.h:1487:13: error: '_M_bucket_count' was not declared in this scope 1487 | if (_M_bucket_count != size_t(-1)) | ^~~~~~~~~~~~~~~ /usr/include/c++/13/bits/hashtable_policy.h: In member function 'std::__detail::_Local_iterator_base<_Key, _Value, _ExtractKey, _Hash, _RangeHash, _Unused, false>& std::__detail::_Local_iterator_base<_Key, _Value, _ExtractKey, _Hash, _RangeHash, _Unused, false>::operator=(const std::__detail::_Local_iterator_base<_Key, _Value, _ExtractKey, _Hash, _RangeHash, _Unused, false>&)': /usr/include/c++/13/bits/hashtable_policy.h:1494:13: error: '_M_bucket_count' was not declared in this scope 1494 | if (_M_bucket_count != -1) | ^~~~~~~~~~~~~~~ /usr/include/c++/13/bits/hashtable_policy.h:1497:9: error: '_M_bucket' was not declared in this scope 1497 | _M_bucket = __iter._M_bucket; | ^~~~~~~~~ /usr/include/c++/13/bits/hashtable_policy.h:1498:9: error: '_M_bucket_count' was not declared in this scope 1498 | _M_bucket_count = __iter._M_bucket_count; | ^~~~~~~~~~~~~~~ /usr/include/c++/13/bits/hashtable_policy.h: In member function 'void std::__detail::_Local_iterator_base<_Key, _Value, _ExtractKey, _Hash, _RangeHash, _Unused, false>::_M_incr()': /usr/include/c++/13/bits/hashtable_policy.h:1510:18: error: 'size_t' is not a member of 'std'; did you mean 'size'? 1510 | std::size_t __bkt = this->_M_h()->_M_bucket_index(*this->_M_cur, | ^~~~~~ | size /usr/include/c++/13/bits/hashtable_policy.h:1512:17: error: '__bkt' was not declared in this scope 1512 | if (__bkt != _M_bucket) | ^~~~~ /usr/include/c++/13/bits/hashtable_policy.h:1512:26: error: '_M_bucket' was not declared in this scope 1512 | if (__bkt != _M_bucket) | ^~~~~~~~~ /usr/include/c++/13/bits/hashtable_policy.h: At global scope: /usr/include/c++/13/bits/hashtable_policy.h:1558:23: error: 'std::size_t' has not been declared 1558 | std::size_t __bkt, std::size_t __bkt_count) | ^~~ /usr/include/c++/13/bits/hashtable_policy.h:1558:42: error: 'std::size_t' has not been declared 1558 | std::size_t __bkt, std::size_t __bkt_count) | ^~~ /usr/include/c++/13/bits/hashtable_policy.h:1603:20: error: 'ptrdiff_t' in namespace 'std' does not name a type 1603 | typedef std::ptrdiff_t difference_type; | ^~~~~~~~~ /usr/include/c++/13/bits/hashtable_policy.h:1610:29: error: 'std::size_t' has not been declared 1610 | std::size_t __bkt, std::size_t __bkt_count) | ^~~ /usr/include/c++/13/bits/hashtable_policy.h:1610:48: error: 'std::size_t' has not been declared 1610 | std::size_t __bkt, std::size_t __bkt_count) | ^~~ /usr/include/c++/13/bits/hashtable_policy.h:1667:20: error: 'size_t' in namespace 'std' does not name a type; did you mean 'size'? 1667 | typedef std::size_t size_type; | ^~~~~~ | size /usr/include/c++/13/bits/hashtable_policy.h:1668:20: error: 'ptrdiff_t' in namespace 'std' does not name a type 1668 | typedef std::ptrdiff_t difference_type; | ^~~~~~~~~ /usr/include/c++/13/bits/hashtable_policy.h: In static member function 'static bool std::__detail::_Hashtable_base<_Key, _Value, _ExtractKey, _Equal, _Hash, _RangeHash, _Unused, _Traits>::_S_equals(__hash_code, const std::__detail::_Hash_node_code_cache<true>&)': /usr/include/c++/13/bits/hashtable_policy.h:1693:27: error: 'const struct std::__detail::_Hash_node_code_cache<true>' has no member named '_M_hash_code' 1693 | { return __c == __n._M_hash_code; } | ^~~~~~~~~~~~ /usr/include/c++/13/bits/hashtable_policy.h: In static member function 'static bool std::__detail::_Hashtable_base<_Key, _Value, _ExtractKey, _Equal, _Hash, _RangeHash, _Unused, _Traits>::_S_node_equals(const std::__detail::_Hash_node_code_cache<true>&, const std::__detail::_Hash_node_code_cache<true>&)': /usr/include/c++/13/bits/hashtable_policy.h:1698:22: error: 'const struct std::__detail::_Hash_node_code_cache<true>' has no member named '_M_hash_code' 1698 | { return __lhn._M_hash_code == __rhn._M_hash_code; } | ^~~~~~~~~~~~ /usr/include/c++/13/bits/hashtable_policy.h:1698:44: error: 'const struct std::__detail::_Hash_node_code_cache<true>' has no member named '_M_hash_code' 1698 | { return __lhn._M_hash_code == __rhn._M_hash_code; } | ^~~~~~~~~~~~ /usr/include/c++/13/bits/hashtable_policy.h: In member function 'bool std::__detail::_Equality<_Key, _Value, _Alloc, _ExtractKey, _Equal, _Hash, _RangeHash, _Unused, _RehashPolicy, _Traits, true>::_M_equal(const __hashtable&) const': /usr/include/c++/13/bits/hashtable_policy.h:1810:16: error: 'size_t' is not a member of 'std'; did you mean 'size'? 1810 | std::size_t __ybkt = __other._M_bucket_index(*__itx._M_cur); | ^~~~~~ | size /usr/include/c++/13/bits/hashtable_policy.h:1811:46: error: '__ybkt' was not declared in this scope 1811 | auto __prev_n = __other._M_buckets[__ybkt]; | ^~~~~~ /usr/include/c++/13/bits/hashtable_policy.h: In member function 'bool std::__detail::_Equality<_Key, _Value, _Alloc, _ExtractKey, _Equal, _Hash, _RangeHash, _Unused, _RehashPolicy, _Traits, false>::_M_equal(const __hashtable&) const': /usr/include/c++/13/bits/hashtable_policy.h:1862:16: error: 'size_t' is not a member of 'std'; did you mean 'size'? 1862 | std::size_t __x_count = 1; | ^~~~~~ | size /usr/include/c++/13/bits/hashtable_policy.h:1868:15: error: '__x_count' was not declared in this scope; did you mean '__popcount'? 1868 | ++__x_count; | ^~~~~~~~~ | __popcount /usr/include/c++/13/bits/hashtable_policy.h:1870:16: error: 'size_t' is not a member of 'std'; did you mean 'size'? 1870 | std::size_t __ybkt = __other._M_bucket_index(*__itx._M_cur); | ^~~~~~ | size /usr/include/c++/13/bits/hashtable_policy.h:1871:48: error: '__ybkt' was not declared in this scope 1871 | auto __y_prev_n = __other._M_buckets[__ybkt]; | ^~~~~~ /usr/include/c++/13/bits/hashtable_policy.h:1893:19: error: '__x_count' was not declared in this scope; did you mean '__popcount'? 1893 | if (--__x_count == 0) | ^~~~~~~~~ | __popcount /usr/include/c++/13/bits/hashtable_policy.h:1896:15: error: '__x_count' was not declared in this scope; did you mean '__popcount'? 1896 | if (__x_count != 0) | ^~~~~~~~~ | __popcount /usr/include/c++/13/bits/hashtable_policy.h: At global scope: /usr/include/c++/13/bits/hashtable_policy.h:1976:27: error: 'std::size_t' has not been declared 1976 | _M_allocate_buckets(std::size_t __bkt_count); | ^~~ /usr/include/c++/13/bits/hashtable_policy.h:1979:44: error: 'std::size_t' has not been declared 1979 | _M_deallocate_buckets(__buckets_ptr, std::size_t __bkt_count); | ^~~ /usr/include/c++/13/bits/hashtable_policy.h:2039:5: error: 'auto std::__detail::_Hashtable_alloc<_NodeAlloc>::_M_allocate_buckets' is not a static data member of 'struct std::__detail::_Hashtable_alloc<_NodeAlloc>' 2039 | _Hashtable_alloc<_NodeAlloc>::_M_allocate_buckets(std::size_t __bkt_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/13/bits/hashtable_policy.h:2039:60: error: template definition of non-template 'auto std::__detail::_Hashtable_alloc<_NodeAlloc>::_M_allocate_buckets' 2039 | _Hashtable_alloc<_NodeAlloc>::_M_allocate_buckets(std::size_t __bkt_count) | ^~~~~~ /usr/include/c++/13/bits/hashtable_policy.h:2039:60: error: 'size_t' is not a member of 'std'; did you mean 'size'? 2039 | _Hashtable_alloc<_NodeAlloc>::_M_allocate_buckets(std::size_t __bkt_count) | ^~~~~~ | size /usr/include/c++/13/bits/hashtable_policy.h:2054:27: error: 'std::size_t' has not been declared 2054 | std::size_t __bkt_count) | ^~~ /usr/include/c++/13/bits/hashtable.h:339:49: error: 'size_t' is not a member of 'std'; did you mean 'size'? 339 | std::declval<const _RangeHash&>()((std::size_t)0, (std::size_t)0)), | ^~~~~~ | size /usr/include/c++/13/bits/hashtable.h:339:65: error: 'size_t' is not a member of 'std'; did you mean 'size'? 339 | std::declval<const _RangeHash&>()((std::size_t)0, (std::size_t)0)), | ^~~~~~ | size /usr/include/c++/13/bits/hashtable.h: In member function 'std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _Hash, _RangeHash, _Unused, _RehashPolicy, _Traits>::node_type std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _Hash, _RangeHash, _Unused, _RehashPolicy, _Traits>::extract(const _Key&)': /usr/include/c++/13/bits/hashtable.h:1099:14: error: 'size_t' is not a member of 'std'; did you mean 'size'? 1099 | std::size_t __bkt = _M_bucket_index(__code); | ^~~~~~ | size /usr/include/c++/13/bits/hashtable.h:1100:63: error: '__bkt' was not declared in this scope; did you mean '__k'? 1100 | if (__node_base_ptr __prev_node = _M_find_before_node(__bkt, __k, __code)) | ^~~~~ | __k /usr/include/c++/13/bits/hashtable.h: In member function 'void std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _Hash, _RangeHash, _Unused, _RehashPolicy, _Traits>::_M_assign_elements(_Ht&&)': /usr/include/c++/13/bits/hashtable.h:1310:14: error: 'size_t' is not a member of 'std'; did you mean 'size'? 1310 | std::size_t __former_bucket_count = _M_bucket_count; | ^~~~~~ | size /usr/include/c++/13/bits/hashtable.h:1332:55: error: '__former_bucket_count' was not declared in this scope; did you mean '__former_buckets'? 1332 | _M_deallocate_buckets(__former_buckets, __former_bucket_count); | ^~~~~~~~~~~~~~~~~~~~~ | __former_buckets /usr/include/c++/13/bits/hashtable.h:1342:35: error: '__former_bucket_count' was not declared in this scope; did you mean '__former_buckets'? 1342 | _M_bucket_count = __former_bucket_count; | ^~~~~~~~~~~~~~~~~~~~~ | __former_buckets /usr/include/c++/13/bits/hashtable.h: In destructor 'std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _Hash, _RangeHash, _Unused, _RehashPolicy, _Traits>::~_Hashtable()': /usr/include/c++/13/bits/hashtable.h:1604:48: error: 'size_t' is not a member of 'std'; did you mean 'size'? 1604 | (std::size_t)0)), | ^~~~~~ | size /usr/include/c++/13/bits/hashtable.h: In member function 'std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _Hash, _RangeHash, _Unused, _RehashPolicy, _Traits>::iterator std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _Hash, _RangeHash, _Unused, _RehashPolicy, _Traits>::find(const key_type&)': /usr/include/c++/13/bits/hashtable.h:1678:12: error: 'size_t' is not a member of 'std'; did you mean 'size'? 1678 | std::size_t __bkt = _M_bucket_index(__code); | ^~~~~~ | size /usr/include/c++/13/bits/hashtable.h:1679:36: error: '__bkt' was not declared in this scope; did you mean '__k'? 1679 | return iterator(_M_find_node(__bkt, __k, __code)); | ^~~~~ | __k /usr/include/c++/13/bits/hashtable.h: In member function 'std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _Hash, _RangeHash, _Unused, _RehashPolicy, _Traits>::const_iterator std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _Hash, _RangeHash, _Unused, _RehashPolicy, _Traits>::find(const key_type&) const': /usr/include/c++/13/bits/hashtable.h:1701:12: error: 'size_t' is not a member of 'std'; did you mean 'size'? 1701 | std::size_t __bkt = _M_bucket_index(__code); | ^~~~~~ | size /usr/include/c++/13/bits/hashtable.h:1702:42: error: '__bkt' was not declared in this scope; did you mean '__k'? 1702 | return const_iterator(_M_find_node(__bkt, __k, __code)); | ^~~~~ | __k /usr/include/c++/13/bits/hashtable.h: In member function 'std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _Hash, _RangeHash, _Unused, _RehashPolicy, _Traits>::iterator std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _Hash, _RangeHash, _Unused, _RehashPolicy, _Traits>::_M_find_tr(const _Kt&)': /usr/include/c++/13/bits/hashtable.h:1718:14: error: 'size_t' is not a member of 'std'; did you mean 'size'? 1718 | std::size_t __bkt = _M_bucket_index(__code); | ^~~~~~ | size /usr/include/c++/13/bits/hashtable.h:1719:41: error: '__bkt' was not declared in this scope; did you mean '__k'? 1719 | return iterator(_M_find_node_tr(__bkt, __k, __code)); | ^~~~~ | __k /usr/include/c++/13/bits/hashtable.h: In member function 'std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _Hash, _RangeHash, _Unused, _RehashPolicy, _Traits>::const_iterator std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _Hash, _RangeHash, _Unused, _RehashPolicy, _Traits>::_M_find_tr(const _Kt&) const': /usr/include/c++/13/bits/hashtable.h:1734:14: error: 'size_t' is not a member of 'std'; did you mean 'size'? 1734 | std::size_t __bkt = _M_bucket_index(__code); | ^~~~~~ | size /usr/include/c++/13/bits/hashtable.h:1735:47: error: '__bkt' was not declared in this scope; did you mean '__k'? 1735 | return const_iterator(_M_find_node_tr(__bkt, __k, __code)); | ^~~~~ | __k /usr/include/c++/13/bits/hashtable.h: In member function 'std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _Hash, _RangeHash, _Unused, _RehashPolicy, _Traits>::size_type std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _Hash, _RangeHash, _Unused, _RehashPolicy, _Traits>::_M_count_tr(const _Kt&) const': /usr/include/c++/13/bits/hashtable.h:1781:14: error: 'size_t' is not a member of 'std'; did you mean 'size'? 1781 | std::size_t __bkt = _M_bucket_index(__code); | ^~~~~~ | size /usr/include/c++/13/bits/hashtable.h:1782:36: error: '__bkt' was not declared in this scope; did you mean '__k'? 1782 | auto __n = _M_find_node_tr(__bkt, __k, __code); | ^~~~~ | __k /usr/include/c++/13/bits/hashtable.h: In member function 'std::pair<typename std::__detail::_Insert<_Key, _Value, _Alloc, _ExtractKey, _Equal, _Hash, _RangeHash, _Unused, _RehashPolicy, _Traits>::iterator, typename std::__detail::_Insert<_Key, _Value, _Alloc, _ExtractKey, _Equal, _Hash, _RangeHash, _Unused, _RehashPolicy, _Traits>::iterator> std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _Hash, _RangeHash, _Unused, _RehashPolicy, _Traits>::_M_equal_range_tr(const _Kt&)': /usr/include/c++/13/bits/hashtable.h:1867:14: error: 'size_t' is not a member of 'std'; did you mean 'size'? 1867 | std::size_t __bkt = _M_bucket_index(__code); | ^~~~~~ | size /usr/include/c++/13/bits/hashtable.h:1868:36: error: '__bkt' was not declared in this scope; did you mean '__k'? 1868 | auto __n = _M_find_node_tr(__bkt, __k, __code); | ^~~~~ | __k /usr/include/c++/13/bits/hashtable.h: In member function 'std::pair<typename std::__detail::_Insert<_Key, _Value, _Alloc, _ExtractKey, _Equal, _Hash, _RangeHash, _Unused, _RehashPolicy, _Traits>::const_iterator, typename std::__detail::_Insert<_Key, _Value, _Alloc, _ExtractKey, _Equal, _Hash, _RangeHash, _Unused, _RehashPolicy, _Traits>::const_iterator> std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _Hash, _RangeHash, _Unused, _RehashPolicy, _Traits>::_M_equal_range_tr(const _Kt&) const': /usr/include/c++/13/bits/hashtable.h:1895:14: error: 'size_t' is not a member of 'std'; did you mean 'size'? 1895 | std::size_t __bkt = _M_bucket_index(__code); | ^~~~~~ | size /usr/include/c++/13/bits/hashtable.h:1896:36: error: '__bkt' was not declared in this scope; did you mean '__k'? 1896 | auto __n = _M_find_node_tr(__bkt, __k, __code); | ^~~~~ | __k /usr/include/c++/13/bits/hashtable.h: In member function 'std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _Hash, _RangeHash, _Unused, _RehashPolicy, _Traits>::iterator std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _Hash, _RangeHash, _Unused, _RehashPolicy, _Traits>::_M_insert_unique_node(size_type, __hash_code, __node_ptr, size_type)': /usr/include/c++/13/bits/hashtable.h:2173:28: error: 'size_t' is not a member of 'std'; did you mean 'size'? 2173 | std::pair<bool, std::size_t> __do_rehash | ^~~~~~ | size /usr/include/c++/13/bits/hashtable.h:2173:34: error: template argument 2 is invalid 2173 | std::pair<bool, std::size_t> __do_rehash | ^ /usr/include/c++/13/bits/hashtable.h:2177:23: error: request for member 'first' in '__do_rehash', which is of non-class type 'int' 2177 | if (__do_rehash.first) | ^~~~~ /usr/include/c++/13/bits/hashtable.h:2179:33: error: request for member 'second' in '__do_rehash', which is of non-class type 'int' 2179 | _M_rehash(__do_rehash.second, __saved_state); | ^~~~~~ /usr/include/c++/13/bits/hashtable.h: In member function 'std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _Hash, _RangeHash, _Unused, _RehashPolicy, _Traits>::iterator std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _Hash, _RangeHash, _Unused, _RehashPolicy, _Traits>::_M_insert_multi_node(__node_ptr, __hash_code, __node_ptr)': /usr/include/c++/13/bits/hashtable.h:2203:28: error: 'size_t' is not a member of 'std'; did you mean 'size'? 2203 | std::pair<bool, std::size_t> __do_rehash | ^~~~~~ | size /usr/include/c++/13/bits/hashtable.h:2203:34: error: template argument 2 is invalid 2203 | std::pair<bool, std::size_t> __do_rehash | ^ /usr/include/c++/13/bits/hashtable.h:2206:23: error: request for member 'first' in '__do_rehash', which is of non-class type 'int' 2206 | if (__do_rehash.first) | ^~~~~ /usr/include/c++/13/bits/hashtable.h:2207:31: error: request for member 'second' in '__do_rehash', which is of non-class type 'int' 2207 | _M_rehash(__do_rehash.second, __saved_state); | ^~~~~~ /usr/include/c++/13/bits/hashtable.h: In member function 'std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _Hash, _RangeHash, _Unused, _RehashPolicy, _Traits>::iterator std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _Hash, _RangeHash, _Unused, _RehashPolicy, _Traits>::erase(const_iterator)': /usr/include/c++/13/bits/hashtable.h:2322:12: error: 'size_t' is not a member of 'std'; did you mean 'size'? 2322 | std::size_t __bkt = _M_bucket_index(*__n); | ^~~~~~ | size /usr/include/c++/13/bits/hashtable.h:2327:55: error: '__bkt' was not declared in this scope 2327 | __node_base_ptr __prev_n = _M_get_previous_node(__bkt, __n); | ^~~~~ /usr/include/c++/13/bits/hashtable.h: In member function 'std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _Hash, _RangeHash, _Unused, _RehashPolicy, _Traits>::size_type std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _Hash, _RangeHash, _Unused, _RehashPolicy, _Traits>::_M_erase(std::true_type, const key_type&)': /usr/include/c++/13/bits/hashtable.h:2371:12: error: 'size_t' is not a member of 'std'; did you mean 'size'? 2371 | std::size_t __bkt; | ^~~~~~ | size /usr/include/c++/13/bits/hashtable.h:2380:11: error: '__bkt' was not declared in this scope; did you mean '__k'? 2380 | __bkt = _M_bucket_index(*__n); | ^~~~~ | __k /usr/include/c++/13/bits/hashtable.h:2385:11: error: '__bkt' was not declared in this scope; did you mean '__k'? 2385 | __bkt = _M_bucket_index(__code); | ^~~~~ | __k /usr/include/c++/13/bits/hashtable.h:2396:16: error: '__bkt' was not declared in this scope; did you mean '__k'? 2396 | _M_erase(__bkt, __prev_n, __n); | ^~~~~ | __k /usr/include/c++/13/bits/hashtable.h: In member function 'std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _Hash, _RangeHash, _Unused, _RehashPolicy, _Traits>::size_type std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _Hash, _RangeHash, _Unused, _RehashPolicy, _Traits>::_M_erase(std::false_type, const key_type&)': /usr/include/c++/13/bits/hashtable.h:2410:12: error: 'size_t' is not a member of 'std'; did you mean 'size'? 2410 | std::size_t __bkt; | ^~~~~~ | size /usr/include/c++/13/bits/hashtable.h:2421:11: error: '__bkt' was not declared in this scope; did you mean '__k'? 2421 | __bkt = _M_bucket_index(*__n); | ^~~~~ | __k /usr/include/c++/13/bits/hashtable.h:2426:11: error: '__bkt' was not declared in this scope; did you mean '__k'? 2426 | __bkt = _M_bucket_index(__code); | ^~~~~ | __k /usr/include/c++/13/bits/hashtable.h:2446:12: error: 'size_t' is not a member of 'std'; did you mean 'size'? 2446 | std::size_t __n_last_bkt = __n_last ? _M_bucket_index(*__n_last) : __bkt; | ^~~~~~ | size /usr/include/c++/13/bits/hashtable.h:2460:34: error: '__bkt' was not declared in this scope; did you mean '__k'? 2460 | if (__prev_n == _M_buckets[__bkt]) | ^~~~~ | __k /usr/include/c++/13/bits/hashtable.h:2461:49: error: '__n_last_bkt' was not declared in this scope; did you mean '__n_last'? 2461 | _M_remove_bucket_begin(__bkt, __n_last, __n_last_bkt); | ^~~~~~~~~~~~ | __n_last /usr/include/c++/13/bits/hashtable.h:2462:16: error: '__n_last_bkt' was not declared in this scope; did you mean '__n_last'? 2462 | else if (__n_last_bkt != __bkt) | ^~~~~~~~~~~~ | __n_last /usr/include/c++/13/bits/hashtable.h: In member function 'std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _Hash, _RangeHash, _Unused, _RehashPolicy, _Traits>::iterator std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _Hash, _RangeHash, _Unused, _RehashPolicy, _Traits>::erase(const_iterator, const_iterator)': /usr/include/c++/13/bits/hashtable.h:2483:12: error: 'size_t' is not a member of 'std'; did you mean 'size'? 2483 | std::size_t __bkt = _M_bucket_index(*__n); | ^~~~~~ | size /usr/include/c++/13/bits/hashtable.h:2485:55: error: '__bkt' was not declared in this scope 2485 | __node_base_ptr __prev_n = _M_get_previous_node(__bkt, __n); | ^~~~~ /usr/include/c++/13/bits/hashtable.h:2487:12: error: 'size_t' is not a member of 'std'; did you mean 'size'? 2487 | std::size_t __n_bkt = __bkt; | ^~~~~~ | size /usr/include/c++/13/bits/hashtable.h:2498:15: error: '__n_bkt' was not declared in this scope 2498 | __n_bkt = _M_bucket_index(*__n); | ^~~~~~~ /usr/include/c++/13/bits/hashtable.h:2500:37: error: '__n_bkt' was not declared in this scope 2500 | while (__n != __last_n && __n_bkt == __bkt); | ^~~~~~~ /usr/include/c++/13/bits/hashtable.h:2509:19: error: '__n_bkt' was not declared in this scope 2509 | if (__n && (__n_bkt != __bkt || __is_bucket_begin)) | ^~~~~~~ /usr/include/c++/13/bits/hashtable.h: In member function 'void std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _Hash, _RangeHash, _Unused, _RehashPolicy, _Traits>::_M_rehash_aux(size_type, std::true_type)': /usr/include/c++/13/bits/hashtable.h:2589:12: error: 'size_t' is not a member of 'std'; did you mean 'size'? 2589 | std::size_t __bbegin_bkt = 0; | ^~~~~~ | size /usr/include/c++/13/bits/hashtable.h:2593:16: error: 'size_t' is not a member of 'std'; did you mean 'size'? 2593 | std::size_t __bkt | ^~~~~~ | size /usr/include/c++/13/bits/hashtable.h:2595:30: error: '__bkt' was not declared in this scope 2595 | if (!__new_buckets[__bkt]) | ^~~~~ /usr/include/c++/13/bits/hashtable.h:2601:31: error: '__bbegin_bkt' was not declared in this scope 2601 | __new_buckets[__bbegin_bkt] = __p; | ^~~~~~~~~~~~ /usr/include/c++/13/bits/hashtable.h:2602:15: error: '__bbegin_bkt' was not declared in this scope 2602 | __bbegin_bkt = __bkt; | ^~~~~~~~~~~~ /usr/include/c++/13/bits/hashtable.h: In member function 'void std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _Hash, _RangeHash, _Unused, _RehashPolicy, _Traits>::_M_rehash_aux(size_type, std::false_type)': /usr/include/c++/13/bits/hashtable.h:2632:12: error: 'size_t' is not a member of 'std'; did you mean 'size'? 2632 | std::size_t __bbegin_bkt = 0; | ^~~~~~ | size /usr/include/c++/13/bits/hashtable.h:2633:12: error: 'size_t' is not a member of 'std'; did you mean 'size'? 2633 | std::size_t __prev_bkt = 0; | ^~~~~~ | size /usr/include/c++/13/bits/hashtable.h:2640:16: error: 'size_t' is not a member of 'std'; did you mean 'size'? 2640 | std::size_t __bkt | ^~~~~~ | size /usr/include/c++/13/bits/hashtable.h:2643:27: error: '__prev_bkt' was not declared in this scope; did you mean '__prev_p'? 2643 | if (__prev_p && __prev_bkt == __bkt) | ^~~~~~~~~~ | __prev_p /usr/include/c++/13/bits/hashtable.h:2643:41: error: '__bkt' was not declared in this scope 2643 | if (__prev_p && __prev_bkt == __bkt) | ^~~~~ /usr/include/c++/13/bits/hashtable.h:2666:28: error: 'size_t' is not a member of 'std'; did you mean 'size'? 2666 | std::size_t __next_bkt | ^~~~~~ | size /usr/include/c++/13/bits/hashtable.h:2669:27: error: '__next_bkt' was not declared in this scope; did you mean '__next'? 2669 | if (__next_bkt != __prev_bkt) | ^~~~~~~~~~ | __next /usr/include/c++/13/bits/hashtable.h:2681:35: error: '__bbegin_bkt' was not declared in this scope 2681 | __new_buckets[__bbegin_bkt] = __p; | ^~~~~~~~~~~~ /usr/include/c++/13/bits/hashtable.h:2682:19: error: '__bbegin_bkt' was not declared in this scope 2682 | __bbegin_bkt = __bkt; | ^~~~~~~~~~~~ /usr/include/c++/13/bits/hashtable.h:2691:11: error: '__prev_bkt' was not declared in this scope; did you mean '__prev_p'? 2691 | __prev_bkt = __bkt; | ^~~~~~~~~~ | __prev_p /usr/include/c++/13/bits/hashtable.h:2691:24: error: '__bkt' was not declared in this scope 2691 | __prev_bkt = __bkt; | ^~~~~ /usr/include/c++/13/bits/hashtable.h:2697:16: error: 'size_t' is not a member of 'std'; did you mean 'size'? 2697 | std::size_t __next_bkt | ^~~~~~ | size /usr/include/c++/13/bits/hashtable.h:2700:15: error: '__next_bkt' was not declared in this scope 2700 | if (__next_bkt != __prev_bkt) | ^~~~~~~~~~ /usr/include/c++/13/bits/hashtable.h:2700:29: error: '__prev_bkt' was not declared in this scope; did you mean '__prev_p'? 2700 | if (__next_bkt != __prev_bkt) | ^~~~~~~~~~ | __prev_p /usr/include/c++/13/bits/hashtable_policy.h: In instantiation of 'struct std::__detail::_Hashtable_base<int, std::pair<const int, int>, std::__detail::_Select1st, std::equal_to<int>, std::hash<int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Hashtable_traits<false, false, true> >': /usr/include/c++/13/bits/hashtable.h:181:11: required from 'class std::_Hashtable<int, std::pair<const int, int>, std::allocator<std::pair<const int, int> >, std::__detail::_Select1st, std::equal_to<int>, std::hash<int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, true> >' /usr/include/c++/13/bits/unordered_map.h:112:18: required from 'class std::unordered_map<int, int>' /usr/include/c++/13/bits/unordered_map.h:1154:37: required from here /usr/include/c++/13/bits/hashtable_policy.h:1677:13: error: no type named '__hash_code' in 'using std::__detail::_Hashtable_base<int, std::pair<const int, int>, std::__detail::_Select1st, std::equal_to<int>, std::hash<int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Hashtable_traits<false, false, true> >::__hash_code_base = struct std::__detail::_Hash_code_base<int, std::pair<const int, int>, std::__detail::_Select1st, std::hash<int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, false>' 1677 | using __hash_code = typename __hash_code_base::__hash_code; | ^~~~~~~~~~~ /usr/include/c++/13/bits/hashtable_policy.h: In instantiation of 'struct std::__detail::_Insert_base<int, std::pair<const int, int>, std::allocator<std::pair<const int, int> >, std::__detail::_Select1st, std::equal_to<int>, std::hash<int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, true> >': /usr/include/c++/13/bits/hashtable_policy.h:1093:12: required from 'struct std::__detail::_Insert<int, std::pair<const int, int>, std::allocator<std::pair<const int, int> >, std::__detail::_Select1st, std::equal_to<int>, std::hash<int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, true>, false>' /usr/include/c++/13/bits/hashtable.h:181:11: required from 'class std::_Hashtable<int, std::pair<const int, int>, std::allocator<std::pair<const int, int> >, std::__detail::_Select1st, std::equal_to<int>, std::hash<int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, true> >' /usr/include/c++/13/bits/unordered_map.h:112:18: required from 'class std::unordered_map<int, int>' /usr/include/c++/13/bits/unordered_map.h:1154:37: required from here /usr/include/c++/13/bits/hashtable_policy.h:896:13: error: no type named 'size_type' in 'using std::__detail::_Insert_base<int, std::pair<const int, int>, std::allocator<std::pair<const int, int> >, std::__detail::_Select1st, std::equal_to<int>, std::hash<int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, true> >::__hashtable_base = struct std::__detail::_Hashtable_base<int, std::pair<const int, int>, std::__detail::_Select1st, std::equal_to<int>, std::hash<int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Hashtable_traits<false, false, true> >' 896 | using size_type = typename __hashtable_base::size_type; | ^~~~~~~~~ /usr/include/c++/13/ext/alloc_traits.h: In instantiation of 'struct __gnu_cxx::__alloc_traits<std::allocator<std::__detail::_Hash_node<std::pair<const int, int>, false> >, std::__detail::_Hash_node<std::pair<const int, int>, false> >': /usr/include/c++/13/bits/hashtable_policy.h:1929:13: required from 'struct std::__detail::_Hashtable_alloc<std::allocator<std::__detail::_Hash_node<std::pair<const int, int>, false> > >' /usr/include/c++/13/bits/hashtable_policy.h:899:13: required from 'struct std::__detail::_Insert_base<int, std::pair<const int, int>, std::allocator<std::pair<const int, int> >, std::__detail::_Select1st, std::equal_to<int>, std::hash<int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, true> >' /usr/include/c++/13/bits/hashtable_policy.h:1093:12: required from 'struct std::__detail::_Insert<int, std::pair<const int, int>, std::allocator<std::pair<const int, int> >, std::__detail::_Select1st, std::equal_to<int>, std::hash<int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, true>, false>' /usr/include/c++/13/bits/hashtable.h:181:11: required from 'class std::_Hashtable<int, std::pair<const int, int>, std::allocator<std::pair<const int, int> >, std::__detail::_Select1st, std::equal_to<int>, std::hash<int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, true> >' /usr/include/c++/13/bits/unordered_map.h:112:18: required from 'class std::unordered_map<int, int>' /usr/include/c++/13/bits/unordered_map.h:1154:37: required from here /usr/include/c++/13/ext/alloc_traits.h:56:53: error: no type named 'size_type' in '__gnu_cxx::__alloc_traits<std::allocator<std::__detail::_Hash_node<std::pair<const int, int>, false> >, std::__detail::_Hash_node<std::pair<const int, int>, false> >::_Base_type' {aka 'struct std::allocator_traits<std::allocator<std::__detail::_Hash_node<std::pair<const int, int>, false> > >'} 56 | typedef typename _Base_type::size_type size_type; | ^~~~~~~~~ /usr/include/c++/13/ext/alloc_traits.h:57:53: error: no type named 'difference_type' in '__gnu_cxx::__alloc_traits<std::allocator<std::__detail::_Hash_node<std::pair<const int, int>, false> >, std::__detail::_Hash_node<std::pair<const int, int>, false> >::_Base_type' {aka 'struct std::allocator_traits<std::allocator<std::__detail::_Hash_node<std::pair<const int, int>, false> > >'} 57 | typedef typename _Base_type::difference_type difference_type; | ^~~~~~~~~~~~~~~ /usr/include/c++/13/ext/alloc_traits.h:65:23: error: 'max_size' has not been declared in '__gnu_cxx::__alloc_traits<std::allocator<std::__detail::_Hash_node<std::pair<const int, int>, false> >, std::__detail::_Hash_node<std::pair<const int, int>, false> >::_Base_type' 65 | using _Base_type::max_size; | ^~~~~~~~ /usr/include/c++/13/bits/hashtable.h: In instantiation of 'class std::_Hashtable<int, std::pair<const int, int>, std::allocator<std::pair<const int, int> >, std::__detail::_Select1st, std::equal_to<int>, std::hash<int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, true> >': /usr/include/c++/13/bits/unordered_map.h:112:18: required from 'class std::unordered_map<int, int>' /usr/include/c++/13/bits/unordered_map.h:1154:37: required from here /usr/include/c++/13/bits/hashtable.h:264:13: error: no type named '_State' in 'using std::_Hashtable<int, std::pair<const int, int>, std::allocator<std::pair<const int, int> >, std::__detail::_Select1st, std::equal_to<int>, std::hash<int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, true> >::__rehash_type = struct std::__detail::_Prime_rehash_policy' 264 | using __rehash_state = typename __rehash_type::_State; | ^~~~~~~~~~~~~~ /usr/include/c++/13/bits/hashtable.h:378:13: error: no type named 'size_type' in 'using std::_Hashtable<int, std::pair<const int, int>, std::allocator<std::pair<const int, int> >, std::__detail::_Select1st, std::equal_to<int>, std::hash<int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, true> >::__hashtable_base = struct std::__detail::_Hashtable_base<int, std::pair<const int, int>, std::__detail::_Select1st, std::equal_to<int>, std::hash<int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Hashtable_traits<false, false, true> >' 378 | using size_type = typename __hashtable_base::size_type; | ^~~~~~~~~ /usr/include/c++/13/bits/hashtable.h:379:13: error: no type named 'difference_type' in 'using std::_Hashtable<int, std::pair<const int, int>, std::allocator<std::pair<const int, int> >, std::__detail::_Select1st, std::equal_to<int>, std::hash<int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, true> >::__hashtable_base = struct std::__detail::_Hashtable_base<int, std::pair<const int, int>, std::__detail::_Select1st, std::equal_to<int>, std::hash<int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Hashtable_traits<false, false, true> >' 379 | using difference_type = typename __hashtable_base::difference_type; | ^~~~~~~~~~~~~~~ /usr/include/c++/13/bits/unordered_map.h: In instantiation of 'class std::unordered_map<int, int>': /usr/include/c++/13/bits/unordered_map.h:1154:37: required from here /usr/include/c++/13/bits/unordered_map.h:914:54: error: 'const std::unordered_map<int, int>::_Hashtable' has no member named '_M_count_tr' 914 | count(const _Kt& __x) const -> decltype(_M_h._M_count_tr(__x)) | ~~~~~^~~~~~~~~~~ /usr/include/c++/13/bits/unordered_map.h: At global scope: /usr/include/c++/13/bits/unordered_map.h:1154:53: error: invalid combination of multiple type-specifiers 1154 | typename unordered_map<int, int>::size_type = {}, | ^~~~~~~~~ /usr/include/c++/13/bits/unordered_map.h:1167:53: error: invalid combination of multiple type-specifiers 1167 | typename unordered_map<int, int>::size_type = {}, | ^~~~~~~~~ /usr/include/c++/13/bits/unordered_map.h:1175:53: error: invalid combination of multiple type-specifiers 1175 | typename unordered_map<int, int>::size_type, _Allocator) | ^~~~~~~~~ /usr/include/c++/13/bits/unordered_map.h:1197:53: error: invalid combination of multiple type-specifiers 1197 | typename unordered_map<int, int>::size_type, | ^~~~~~~~~ /usr/include/c++/13/bits/unordered_map.h:1206:53: error: invalid combination of multiple type-specifiers 1206 | typename unordered_map<int, int>::size_type, | ^~~~~~~~~ /usr/include/c++/13/bits/unordered_map.h:1219:53: error: invalid combination of multiple type-specifiers 1219 | typename unordered_map<int, int>::size_type, | ^~~~~~~~~ /usr/include/c++/13/bits/hashtable_policy.h: In instantiation of 'struct std::__detail::_Hashtable_base<int, std::pair<const int, int>, std::__detail::_Select1st, std::equal_to<int>, std::hash<int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Hashtable_traits<false, false, false> >': /usr/include/c++/13/bits/hashtable.h:181:11: required from 'class std::_Hashtable<int, std::pair<const int, int>, std::allocator<std::pair<const int, int> >, std::__detail::_Select1st, std::equal_to<int>, std::hash<int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, false> >' /usr/include/c++/13/bits/unordered_map.h:1257:18: required from 'class std::unordered_multimap<int, int>' /usr/include/c++/13/bits/unordered_map.h:2056:38: required from here /usr/include/c++/13/bits/hashtable_policy.h:1677:13: error: no type named '__hash_code' in 'using std::__detail::_Hashtable_base<int, std::pair<const int, int>, std::__detail::_Select1st, std::equal_to<int>, std::hash<int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Hashtable_traits<false, false, false> >::__hash_code_base = struct std::__detail::_Hash_code_base<int, std::pair<const int, int>, std::__detail::_Select1st, std::hash<int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, false>' 1677 | using __hash_code = typename __hash_code_base::__hash_code; | ^~~~~~~~~~~ /usr/include/c++/13/bits/hashtable_policy.h: In instantiation of 'struct std::__detail::_Insert_base<int, std::pair<const int, int>, std::allocator<std::pair<const int, int> >, std::__detail::_Select1st, std::equal_to<int>, std::hash<int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, false> >': /usr/include/c++/13/bits/hashtable_policy.h:1093:12: required from 'struct std::__detail::_Insert<int, std::pair<const int, int>, std::allocator<std::pair<const int, int> >, std::__detail::_Select1st, std::equal_to<int>, std::hash<int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, false>, false>' /usr/include/c++/13/bits/hashtable.h:181:11: required from 'class std::_Hashtable<int, std::pair<const int, int>, std::allocator<std::pair<const int, int> >, std::__detail::_Select1st, std::equal_to<int>, std::hash<int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, false> >' /usr/include/c++/13/bits/unordered_map.h:1257:18: required from 'class std::unordered_multimap<int, int>' /usr/include/c++/13/bits/unordered_map.h:2056:38: required from here /usr/include/c++/13/bits/hashtable_policy.h:896:13: error: no type named 'size_type' in 'using std::__detail::_Insert_base<int, std::pair<const int, int>, std::allocator<std::pair<const int, int> >, std::__detail::_Select1st, std::equal_to<int>, std::hash<int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, false> >::__hashtable_base = struct std::__detail::_Hashtable_base<int, std::pair<const int, int>, std::__detail::_Select1st, std::equal_to<int>, std::hash<int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Hashtable_traits<false, false, false> >' 896 | using size_type = typename __hashtable_base::size_type; | ^~~~~~~~~ /usr/include/c++/13/bits/hashtable.h: In instantiation of 'class std::_Hashtable<int, std::pair<const int, int>, std::allocator<std::pair<const int, int> >, std::__detail::_Select1st, std::equal_to<int>, std::hash<int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, false> >': /usr/include/c++/13/bits/unordered_map.h:1257:18: required from 'class std::unordered_multimap<int, int>' /usr/include/c++/13/bits/unordered_map.h:2056:38: required from here /usr/include/c++/13/bits/hashtable.h:264:13: error: no type named '_State' in 'using std::_Hashtable<int, std::pair<const int, int>, std::allocator<std::pair<const int, int> >, std::__detail::_Select1st, std::equal_to<int>, std::hash<int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, false> >::__rehash_type = struct std::__detail::_Prime_rehash_policy' 264 | using __rehash_state = typename __rehash_type::_State; | ^~~~~~~~~~~~~~ /usr/include/c++/13/bits/hashtable.h:378:13: error: no type named 'size_type' in 'using std::_Hashtable<int, std::pair<const int, int>, std::allocator<std::pair<const int, int> >, std::__detail::_Select1st, std::equal_to<int>, std::hash<int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, false> >::__hashtable_base = struct std::__detail::_Hashtable_base<int, std::pair<const int, int>, std::__detail::_Select1st, std::equal_to<int>, std::hash<int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Hashtable_traits<false, false, false> >' 378 | using size_type = typename __hashtable_base::size_type; | ^~~~~~~~~ /usr/include/c++/13/bits/hashtable.h:379:13: error: no type named 'difference_type' in 'using std::_Hashtable<int, std::pair<const int, int>, std::allocator<std::pair<const int, int> >, std::__detail::_Select1st, std::equal_to<int>, std::hash<int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, false> >::__hashtable_base = struct std::__detail::_Hashtable_base<int, std::pair<const int, int>, std::__detail::_Select1st, std::equal_to<int>, std::hash<int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Hashtable_traits<false, false, false> >' 379 | using difference_type = typename __hashtable_base::difference_type; | ^~~~~~~~~~~~~~~ /usr/include/c++/13/bits/unordered_map.h: In instantiation of 'class std::unordered_multimap<int, int>': /usr/include/c++/13/bits/unordered_map.h:2056:38: required from here /usr/include/c++/13/bits/unordered_map.h:1855:54: error: 'const std::unordered_multimap<int, int>::_Hashtable' has no member named '_M_count_tr' 1855 | count(const _Kt& __x) const -> decltype(_M_h._M_count_tr(__x)) | ~~~~~^~~~~~~~~~~ In file included from /usr/include/c++/13/functional:65: /usr/include/c++/13/array:93:26: error: 'std::size_t' has not been declared 93 | template<typename _Tp, std::size_t _Nm> | ^~~ In file included from /usr/include/c++/13/bits/uses_allocator_args.h:38, from /usr/include/c++/13/bits/memory_resource.h:41: /usr/include/c++/13/tuple:2019:33: error: template parameter 'long unsigned int _Nm' 2019 | template<typename _Tp, size_t _Nm> struct array; | ^~~ /usr/include/c++/13/array:94:12: note: redeclared here 94 | struct array | ^~~~~ /usr/include/c++/13/array:293:26: error: 'std::size_t' has not been declared 293 | template<typename _Tp, std::size_t _Nm> | ^~~ /usr/include/c++/13/array:297:33: error: '_Nm' was not declared in this scope 297 | operator==(const array<_Tp, _Nm>& __one, const array<_Tp, _Nm>& __two) | ^~~ /usr/include/c++/13/array:297:36: error: template argument 2 is invalid 297 | operator==(const array<_Tp, _Nm>& __one, const array<_Tp, _Nm>& __two) | ^ /usr/include/c++/13/array:297:63: error: '_Nm' was not declared in this scope 297 | operator==(const array<_Tp, _Nm>& __one, const array<_Tp, _Nm>& __two) | ^~~ /usr/include/c++/13/array:297:66: error: template argument 2 is invalid 297 | operator==(const array<_Tp, _Nm>& __one, const array<_Tp, _Nm>& __two) | ^ /usr/include/c++/13/array:297:5: error: 'constexpr bool std::operator==(const int&, const int&)' must have an argument of class or enumerated type 297 | operator==(const array<_Tp, _Nm>& __one, const array<_Tp, _Nm>& __two) | ^~~~~~~~ /usr/include/c++/13/array:362:26: error: 'std::size_t' has not been declared 362 | template<typename _Tp, std::size_t _Nm> | ^~~ /usr/include/c++/13/array:367:39: error: '_Nm' was not declared in this scope 367 | __enable_if_t<__array_traits<_Tp, _Nm>::_Is_swappable::value> | ^~~ /usr/include/c++/13/array:367:42: error: template argument 2 is invalid 367 | __enable_if_t<__array_traits<_Tp, _Nm>::_Is_swappable::value> | ^ /usr/include/c++/13/array:367:65: error: template argument 1 is invalid 367 | __enable_if_t<__array_traits<_Tp, _Nm>::_Is_swappable::value> | ^ /usr/include/c++/13/array:371:21: error: '_Nm' was not declared in this scope 371 | swap(array<_Tp, _Nm>& __one, array<_Tp, _Nm>& __two) | ^~~ /usr/include/c++/13/array:371:24: error: template argument 2 is invalid 371 | swap(array<_Tp, _Nm>& __one, array<_Tp, _Nm>& __two) | ^ /usr/include/c++/13/array:371:45: error: '_Nm' was not declared in this scope 371 | swap(array<_Tp, _Nm>& __one, array<_Tp, _Nm>& __two) | ^~~ /usr/include/c++/13/array:371:48: error: template argument 2 is invalid 371 | swap(array<_Tp, _Nm>& __one, array<_Tp, _Nm>& __two) | ^ /usr/include/c++/13/array:372:29: error: request for member 'swap' in '__one', which is of non-class type 'int' 372 | noexcept(noexcept(__one.swap(__two))) | ^~~~ /usr/include/c++/13/array: In function 'constexpr int std::swap(int&, int&)': /usr/include/c++/13/array:373:13: error: request for member 'swap' in '__one', which is of non-class type 'int' 373 | { __one.swap(__two); } | ^~~~ /usr/include/c++/13/array:373:26: error: no return statement in 'constexpr' function returning non-void 373 | { __one.swap(__two); } | ^ /usr/include/c++/13/array: At global scope: /usr/include/c++/13/array:376:26: error: 'std::size_t' has not been declared 376 | template<typename _Tp, std::size_t _Nm> | ^~~ /usr/include/c++/13/array:377:40: error: '_Nm' was not declared in this scope 377 | __enable_if_t<!__array_traits<_Tp, _Nm>::_Is_swappable::value> | ^~~ /usr/include/c++/13/array:377:43: error: template argument 2 is invalid 377 | __enable_if_t<!__array_traits<_Tp, _Nm>::_Is_swappable::value> | ^ /usr/include/c++/13/array:377:66: error: template argument 1 is invalid 377 | __enable_if_t<!__array_traits<_Tp, _Nm>::_Is_swappable::value> | ^ /usr/include/c++/13/array:378:21: error: '_Nm' was not declared in this scope 378 | swap(array<_Tp, _Nm>&, array<_Tp, _Nm>&) = delete; | ^~~ /usr/include/c++/13/array:378:24: error: template argument 2 is invalid 378 | swap(array<_Tp, _Nm>&, array<_Tp, _Nm>&) = delete; | ^ /usr/include/c++/13/array:378:39: error: '_Nm' was not declared in this scope 378 | swap(array<_Tp, _Nm>&, array<_Tp, _Nm>&) = delete; | ^~~ /usr/include/c++/13/array:378:42: error: template argument 2 is invalid 378 | swap(array<_Tp, _Nm>&, array<_Tp, _Nm>&) = delete; | ^ /usr/include/c++/13/array:378:5: error: redefinition of 'template<class _Tp, <declaration error> > int std::swap(int&, int&)' 378 | swap(array<_Tp, _Nm>&, array<_Tp, _Nm>&) = delete; | ^~~~ /usr/include/c++/13/array:371:5: note: 'template<class _Tp, <declaration error> > constexpr int std::swap(int&, int&)' previously declared here 371 | swap(array<_Tp, _Nm>& __one, array<_Tp, _Nm>& __two) | ^~~~ /usr/include/c++/13/array:381:12: error: 'std::size_t' has not been declared 381 | template<std::size_t _Int, typename _Tp, std::size_t _Nm> | ^~~ /usr/include/c++/13/array:381:44: error: 'std::size_t' has not been declared 381 | template<std::size_t _Int, typename _Tp, std::size_t _Nm> | ^~~ /usr/include/c++/13/array:384:20: error: '_Nm' was not declared in this scope 384 | get(array<_Tp, _Nm>& __arr) noexcept | ^~~ /usr/include/c++/13/array:384:23: error: template argument 2 is invalid 384 | get(array<_Tp, _Nm>& __arr) noexcept | ^ /usr/include/c++/13/array: In function 'constexpr _Tp& std::get(int&)': /usr/include/c++/13/array:386:28: error: '_Nm' was not declared in this scope 386 | static_assert(_Int < _Nm, "array index is within bounds"); | ^~~ /usr/include/c++/13/array:386:21: error: '_Int' was not declared in this scope 386 | static_assert(_Int < _Nm, "array index is within bounds"); | ^~~~ /usr/include/c++/13/array:387:20: error: request for member '_M_elems' in '__arr', which is of non-class type 'int' 387 | return __arr._M_elems[_Int]; | ^~~~~~~~ /usr/include/c++/13/array: At global scope: /usr/include/c++/13/array:390:12: error: 'std::size_t' has not been declared 390 | template<std::size_t _Int, typename _Tp, std::size_t _Nm> | ^~~ /usr/include/c++/13/array:390:44: error: 'std::size_t' has not been declared 390 | template<std::size_t _Int, typename _Tp, std::size_t _Nm> | ^~~ /usr/include/c++/13/array:393:20: error: '_Nm' was not declared in this scope 393 | get(array<_Tp, _Nm>&& __arr) noexcept | ^~~ /usr/include/c++/13/array:393:23: error: template argument 2 is invalid 393 | get(array<_Tp, _Nm>&& __arr) noexcept | ^ /usr/include/c++/13/array: In function 'constexpr _Tp&& std::get(int&&)': /usr/include/c++/13/array:395:28: error: '_Nm' was not declared in this scope 395 | static_assert(_Int < _Nm, "array index is within bounds"); | ^~~ /usr/include/c++/13/array:395:21: error: '_Int' was not declared in this scope 395 | static_assert(_Int < _Nm, "array index is within bounds"); | ^~~~ /usr/include/c++/13/array:396:38: error: no matching function for call to 'get<_Int>(int&)' 396 | return std::move(std::get<_Int>(__arr)); | ~~~~~~~~~~~~~~^~~~~~~ /usr/include/c++/13/bits/stl_pair.h:1035:5: note: candidate: 'template<long unsigned int _Int, class _Tp1, class _Tp2> constexpr typename std::tuple_element<_Int, std::pair<_Tp1, _Tp2> >::type& std::get(pair<_Tp1, _Tp2>&)' 1035 | get(pair<_Tp1, _Tp2>& __in) noexcept | ^~~ /usr/include/c++/13/bits/stl_pair.h:1035:5: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/stl_pair.h:1040:5: note: candidate: 'template<long unsigned int _Int, class _Tp1, class _Tp2> constexpr typename std::tuple_element<_Int, std::pair<_Tp1, _Tp2> >::type&& std::get(pair<_Tp1, _Tp2>&&)' 1040 | get(pair<_Tp1, _Tp2>&& __in) noexcept | ^~~ /usr/include/c++/13/bits/stl_pair.h:1040:5: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/stl_pair.h:1045:5: note: candidate: 'template<long unsigned int _Int, class _Tp1, class _Tp2> constexpr const typename std::tuple_element<_Int, std::pair<_Tp1, _Tp2> >::type& std::get(const pair<_Tp1, _Tp2>&)' 1045 | get(const pair<_Tp1, _Tp2>& __in) noexcept | ^~~ /usr/include/c++/13/bits/stl_pair.h:1045:5: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/stl_pair.h:1050:5: note: candidate: 'template<long unsigned int _Int, class _Tp1, class _Tp2> constexpr const typename std::tuple_element<_Int, std::pair<_Tp1, _Tp2> >::type&& std::get(const pair<_Tp1, _Tp2>&&)' 1050 | get(const pair<_Tp1, _Tp2>&& __in) noexcept | ^~~ /usr/include/c++/13/bits/stl_pair.h:1050:5: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/stl_pair.h:1059:5: note: candidate: 'template<class _Tp, class _Up> constexpr _Tp& std::get(pair<_T1, _T2>&)' 1059 | get(pair<_Tp, _Up>& __p) noexcept | ^~~ /usr/include/c++/13/bits/stl_pair.h:1059:5: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/stl_pair.h:1064:5: note: candidate: 'template<class _Tp, class _Up> constexpr const _Tp& std::get(const pair<_T1, _T2>&)' 1064 | get(const pair<_Tp, _Up>& __p) noexcept | ^~~ /usr/include/c++/13/bits/stl_pair.h:1064:5: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/stl_pair.h:1069:5: note: candidate: 'template<class _Tp, class _Up> constexpr _Tp&& std::get(pair<_T1, _T2>&&)' 1069 | get(pair<_Tp, _Up>&& __p) noexcept | ^~~ /usr/include/c++/13/bits/stl_pair.h:1069:5: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/stl_pair.h:1074:5: note: candidate: 'template<class _Tp, class _Up> constexpr const _Tp&& std::get(const pair<_T1, _T2>&&)' 1074 | get(const pair<_Tp, _Up>&& __p) noexcept | ^~~ /usr/include/c++/13/bits/stl_pair.h:1074:5: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/stl_pair.h:1079:5: note: candidate: 'template<class _Tp, class _Up> constexpr _Tp& std::get(pair<_Up, _Tp>&)' 1079 | get(pair<_Up, _Tp>& __p) noexcept | ^~~ /usr/include/c++/13/bits/stl_pair.h:1079:5: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/stl_pair.h:1084:5: note: candidate: 'template<class _Tp, class _Up> constexpr const _Tp& std::get(const pair<_Up, _Tp>&)' 1084 | get(const pair<_Up, _Tp>& __p) noexcept | ^~~ /usr/include/c++/13/bits/stl_pair.h:1084:5: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/stl_pair.h:1089:5: note: candidate: 'template<class _Tp, class _Up> constexpr _Tp&& std::get(pair<_Up, _Tp>&&)' 1089 | get(pair<_Up, _Tp>&& __p) noexcept | ^~~ /usr/include/c++/13/bits/stl_pair.h:1089:5: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/stl_pair.h:1094:5: note: candidate: 'template<class _Tp, class _Up> constexpr const _Tp&& std::get(const pair<_Up, _Tp>&&)' 1094 | get(const pair<_Up, _Tp>&& __p) noexcept | ^~~ /usr/include/c++/13/bits/stl_pair.h:1094:5: note: template argument deduction/substitution failed: In file included from /usr/include/c++/13/bits/ranges_algo.h:39, from /usr/include/c++/13/algorithm:63: /usr/include/c++/13/bits/ranges_util.h:449:5: note: candidate: 'template<long unsigned int _Num, class _It, class _Sent, std::ranges::subrange_kind _Kind> requires _Num < 2 constexpr auto std::ranges::get(subrange<_It, _Sent, _Kind>&&)' 449 | get(subrange<_It, _Sent, _Kind>&& __r) | ^~~ /usr/include/c++/13/bits/ranges_util.h:449:5: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/ranges_util.h:438:5: note: candidate: 'template<long unsigned int _Num, class _It, class _Sent, std::ranges::subrange_kind _Kind> requires _Num < 2 constexpr auto std::ranges::get(const subrange<_It, _Sent, _Kind>&)' 438 | get(const subrange<_It, _Sent, _Kind>& __r) | ^~~ /usr/include/c++/13/bits/ranges_util.h:438:5: note: template argument deduction/substitution failed: /usr/include/c++/13/tuple:1803:5: note: candidate: 'template<long unsigned int __i, class ... _Elements> constexpr std::__tuple_element_t<__i, std::tuple<_UTypes ...> >& std::get(tuple<_UTypes ...>&)' 1803 | get(tuple<_Elements...>& __t) noexcept | ^~~ /usr/include/c++/13/tuple:1803:5: note: template argument deduction/substitution failed: /usr/include/c++/13/tuple:1809:5: note: candidate: 'template<long unsigned int __i, class ... _Elements> constexpr std::__tuple_element_t<__i, std::tuple<_UTypes ...> >& std::get(const tuple<_UTypes ...>&)' 1809 | get(const tuple<_Elements...>& __t) noexcept | ^~~ /usr/include/c++/13/tuple:1809:5: note: template argument deduction/substitution failed: /usr/include/c++/13/tuple:1815:5: note: candidate: 'template<long unsigned int __i, class ... _Elements> constexpr std::__tuple_element_t<__i, std::tuple<_UTypes ...> >&& std::get(tuple<_UTypes ...>&&)' 1815 | get(tuple<_Elements...>&& __t) noexcept | ^~~ /usr/include/c++/13/tuple:1815:5: note: template argument deduction/substitution failed: /usr/include/c++/13/tuple:1824:5: note: candidate: 'template<long unsigned int __i, class ... _Elements> constexpr std::__tuple_element_t<__i, std::tuple<_UTypes ...> >&& std::get(const tuple<_UTypes ...>&&)' 1824 | get(const tuple<_Elements...>&& __t) noexcept | ^~~ /usr/include/c++/13/tuple:1824:5: note: template argument deduction/substitution failed: /usr/include/c++/13/tuple:1834:5: note: candidate: 'template<long unsigned int __i, class ... _Elements> constexpr std::__enable_if_t<(__i >= sizeof... (_Types))> std::get(const tuple<_UTypes ...>&)' (deleted) 1834 | get(const tuple<_Elements...>&) = delete; | ^~~ /usr/include/c++/13/tuple:1834:5: note: template argument deduction/substitution failed: /usr/include/c++/13/tuple:1844:5: note: candidate: 'template<class _Tp, class ... _Types> constexpr _Tp& std::get(tuple<_UTypes ...>&)' 1844 | get(tuple<_Types...>& __t) noexcept | ^~~ /usr/include/c++/13/tuple:1844:5: note: template argument deduction/substitution failed: /usr/include/c++/13/tuple:1855:5: note: candidate: 'template<class _Tp, class ... _Types> constexpr _Tp&& std::get(tuple<_UTypes ...>&&)' 1855 | get(tuple<_Types...>&& __t) noexcept | ^~~ /usr/include/c++/13/tuple:1855:5: note: template argument deduction/substitution failed: /usr/include/c++/13/tuple:1866:5: note: candidate: 'template<class _Tp, class ... _Types> constexpr const _Tp& std::get(const tuple<_UTypes ...>&)' 1866 | get(const tuple<_Types...>& __t) noexcept | ^~~ /usr/include/c++/13/tuple:1866:5: note: template argument deduction/substitution failed: /usr/include/c++/13/tuple:1878:5: note: candidate: 'template<class _Tp, class ... _Types> constexpr const _Tp&& std::get(const tuple<_UTypes ...>&&)' 1878 | get(const tuple<_Types...>&& __t) noexcept | ^~~ /usr/include/c++/13/tuple:1878:5: note: template argument deduction/substitution failed: /usr/include/c++/13/tuple:2023:5: note: candidate: 'template<long unsigned int _Int, class _Tp, long unsigned int _Nm> constexpr _Tp& std::get(array<_Tp, _Nm>&)' 2023 | get(array<_Tp, _Nm>&) noexcept; | ^~~ /usr/include/c++/13/tuple:2023:5: note: template argument deduction/substitution failed: /usr/include/c++/13/tuple:2027:5: note: candidate: 'template<long unsigned int _Int, class _Tp, long unsigned int _Nm> constexpr _Tp&& std::get(array<_Tp, _Nm>&&)' 2027 | get(array<_Tp, _Nm>&&) noexcept; | ^~~ /usr/include/c++/13/tuple:2027:5: note: template argument deduction/substitution failed: /usr/include/c++/13/tuple:2031:5: note: candidate: 'template<long unsigned int _Int, class _Tp, long unsigned int _Nm> constexpr const _Tp& std::get(const array<_Tp, _Nm>&)' 2031 | get(const array<_Tp, _Nm>&) noexcept; | ^~~ /usr/include/c++/13/tuple:2031:5: note: template argument deduction/substitution failed: /usr/include/c++/13/tuple:2035:5: note: candidate: 'template<long unsigned int _Int, class _Tp, long unsigned int _Nm> constexpr const _Tp&& std::get(const array<_Tp, _Nm>&&)' 2035 | get(const array<_Tp, _Nm>&&) noexcept; | ^~~ /usr/include/c++/13/tuple:2035:5: note: template argument deduction/substitution failed: /usr/include/c++/13/array:384:5: note: candidate: 'template<<declaration error>, class _Tp, <declaration error> > constexpr _Tp& std::get(int&)' 384 | get(array<_Tp, _Nm>& __arr) noexcept | ^~~ /usr/include/c++/13/array:384:5: note: template argument deduction/substitution failed: /usr/include/c++/13/array:393:5: note: candidate: 'template<<declaration error>, class _Tp, <declaration error> > constexpr _Tp&& std::get(int&&)' 393 | get(array<_Tp, _Nm>&& __arr) noexcept | ^~~ /usr/include/c++/13/array:393:5: note: template argument deduction/substitution failed: /usr/include/c++/13/array: At global scope: /usr/include/c++/13/array:399:12: error: 'std::size_t' has not been declared 399 | template<std::size_t _Int, typename _Tp, std::size_t _Nm> | ^~~ /usr/include/c++/13/array:399:44: error: 'std::size_t' has not been declared 399 | template<std::size_t _Int, typename _Tp, std::size_t _Nm> | ^~~ /usr/include/c++/13/array:402:26: error: '_Nm' was not declared in this scope 402 | get(const array<_Tp, _Nm>& __arr) noexcept | ^~~ /usr/include/c++/13/array:402:29: error: template argument 2 is invalid 402 | get(const array<_Tp, _Nm>& __arr) noexcept | ^ /usr/include/c++/13/array: In function 'constexpr const _Tp& std::get(const int&)': /usr/include/c++/13/array:404:28: error: '_Nm' was not declared in this scope 404 | static_assert(_Int < _Nm, "array index is within bounds"); | ^~~ /usr/include/c++/13/array:404:21: error: '_Int' was not declared in this scope 404 | static_assert(_Int < _Nm, "array index is within bounds"); | ^~~~ /usr/include/c++/13/array:405:20: error: request for member '_M_elems' in '__arr', which is of non-class type 'const int' 405 | return __arr._M_elems[_Int]; | ^~~~~~~~ /usr/include/c++/13/array: At global scope: /usr/include/c++/13/array:408:12: error: 'std::size_t' has not been declared 408 | template<std::size_t _Int, typename _Tp, std::size_t _Nm> | ^~~ /usr/include/c++/13/array:408:44: error: 'std::size_t' has not been declared 408 | template<std::size_t _Int, typename _Tp, std::size_t _Nm> | ^~~ /usr/include/c++/13/array:411:26: error: '_Nm' was not declared in this scope 411 | get(const array<_Tp, _Nm>&& __arr) noexcept | ^~~ /usr/include/c++/13/array:411:29: error: template argument 2 is invalid 411 | get(const array<_Tp, _Nm>&& __arr) noexcept | ^ /usr/include/c++/13/array: In function 'constexpr const _Tp&& std::get(const int&&)': /usr/include/c++/13/array:413:28: error: '_Nm' was not declared in this scope 413 | static_assert(_Int < _Nm, "array index is within bounds"); | ^~~ /usr/include/c++/13/array:413:21: error: '_Int' was not declared in this scope 413 | static_assert(_Int < _Nm, "array index is within bounds"); | ^~~~ /usr/include/c++/13/array:414:38: error: no matching function for call to 'get<_Int>(const int&)' 414 | return std::move(std::get<_Int>(__arr)); | ~~~~~~~~~~~~~~^~~~~~~ /usr/include/c++/13/bits/stl_pair.h:1035:5: note: candidate: 'template<long unsigned int _Int, class _Tp1, class _Tp2> constexpr typename std::tuple_element<_Int, std::pair<_Tp1, _Tp2> >::type& std::get(pair<_Tp1, _Tp2>&)' 1035 | get(pair<_Tp1, _Tp2>& __in) noexcept | ^~~ /usr/include/c++/13/bits/stl_pair.h:1035:5: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/stl_pair.h:1040:5: note: candidate: 'template<long unsigned int _Int, class _Tp1, class _Tp2> constexpr typename std::tuple_element<_Int, std::pair<_Tp1, _Tp2> >::type&& std::get(pair<_Tp1, _Tp2>&&)' 1040 | get(pair<_Tp1, _Tp2>&& __in) noexcept | ^~~ /usr/include/c++/13/bits/stl_pair.h:1040:5: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/stl_pair.h:1045:5: note: candidate: 'template<long unsigned int _Int, class _Tp1, class _Tp2> constexpr const typename std::tuple_element<_Int, std::pair<_Tp1, _Tp2> >::type& std::get(const pair<_Tp1, _Tp2>&)' 1045 | get(const pair<_Tp1, _Tp2>& __in) noexcept | ^~~ /usr/include/c++/13/bits/stl_pair.h:1045:5: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/stl_pair.h:1050:5: note: candidate: 'template<long unsigned int _Int, class _Tp1, class _Tp2> constexpr const typename std::tuple_element<_Int, std::pair<_Tp1, _Tp2> >::type&& std::get(const pair<_Tp1, _Tp2>&&)' 1050 | get(const pair<_Tp1, _Tp2>&& __in) noexcept | ^~~ /usr/include/c++/13/bits/stl_pair.h:1050:5: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/stl_pair.h:1059:5: note: candidate: 'template<class _Tp, class _Up> constexpr _Tp& std::get(pair<_T1, _T2>&)' 1059 | get(pair<_Tp, _Up>& __p) noexcept | ^~~ /usr/include/c++/13/bits/stl_pair.h:1059:5: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/stl_pair.h:1064:5: note: candidate: 'template<class _Tp, class _Up> constexpr const _Tp& std::get(const pair<_T1, _T2>&)' 1064 | get(const pair<_Tp, _Up>& __p) noexcept | ^~~ /usr/include/c++/13/bits/stl_pair.h:1064:5: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/stl_pair.h:1069:5: note: candidate: 'template<class _Tp, class _Up> constexpr _Tp&& std::get(pair<_T1, _T2>&&)' 1069 | get(pair<_Tp, _Up>&& __p) noexcept | ^~~ /usr/include/c++/13/bits/stl_pair.h:1069:5: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/stl_pair.h:1074:5: note: candidate: 'template<class _Tp, class _Up> constexpr const _Tp&& std::get(const pair<_T1, _T2>&&)' 1074 | get(const pair<_Tp, _Up>&& __p) noexcept | ^~~ /usr/include/c++/13/bits/stl_pair.h:1074:5: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/stl_pair.h:1079:5: note: candidate: 'template<class _Tp, class _Up> constexpr _Tp& std::get(pair<_Up, _Tp>&)' 1079 | get(pair<_Up, _Tp>& __p) noexcept | ^~~ /usr/include/c++/13/bits/stl_pair.h:1079:5: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/stl_pair.h:1084:5: note: candidate: 'template<class _Tp, class _Up> constexpr const _Tp& std::get(const pair<_Up, _Tp>&)' 1084 | get(const pair<_Up, _Tp>& __p) noexcept | ^~~ /usr/include/c++/13/bits/stl_pair.h:1084:5: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/stl_pair.h:1089:5: note: candidate: 'template<class _Tp, class _Up> constexpr _Tp&& std::get(pair<_Up, _Tp>&&)' 1089 | get(pair<_Up, _Tp>&& __p) noexcept | ^~~ /usr/include/c++/13/bits/stl_pair.h:1089:5: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/stl_pair.h:1094:5: note: candidate: 'template<class _Tp, class _Up> constexpr const _Tp&& std::get(const pair<_Up, _Tp>&&)' 1094 | get(const pair<_Up, _Tp>&& __p) noexcept | ^~~ /usr/include/c++/13/bits/stl_pair.h:1094:5: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/ranges_util.h:449:5: note: candidate: 'template<long unsigned int _Num, class _It, class _Sent, std::ranges::subrange_kind _Kind> requires _Num < 2 constexpr auto std::ranges::get(subrange<_It, _Sent, _Kind>&&)' 449 | get(subrange<_It, _Sent, _Kind>&& __r) | ^~~ /usr/include/c++/13/bits/ranges_util.h:449:5: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/ranges_util.h:438:5: note: candidate: 'template<long unsigned int _Num, class _It, class _Sent, std::ranges::subrange_kind _Kind> requires _Num < 2 constexpr auto std::ranges::get(const subrange<_It, _Sent, _Kind>&)' 438 | get(const subrange<_It, _Sent, _Kind>& __r) | ^~~ /usr/include/c++/13/bits/ranges_util.h:438:5: note: template argument deduction/substitution failed: /usr/include/c++/13/tuple:1803:5: note: candidate: 'template<long unsigned int __i, class ... _Elements> constexpr std::__tuple_element_t<__i, std::tuple<_UTypes ...> >& std::get(tuple<_UTypes ...>&)' 1803 | get(tuple<_Elements...>& __t) noexcept | ^~~ /usr/include/c++/13/tuple:1803:5: note: template argument deduction/substitution failed: /usr/include/c++/13/tuple:1809:5: note: candidate: 'template<long unsigned int __i, class ... _Elements> constexpr std::__tuple_element_t<__i, std::tuple<_UTypes ...> >& std::get(const tuple<_UTypes ...>&)' 1809 | get(const tuple<_Elements...>& __t) noexcept | ^~~ /usr/include/c++/13/tuple:1809:5: note: template argument deduction/substitution failed: /usr/include/c++/13/tuple:1815:5: note: candidate: 'template<long unsigned int __i, class ... _Elements> constexpr std::__tuple_element_t<__i, std::tuple<_UTypes ...> >&& std::get(tuple<_UTypes ...>&&)' 1815 | get(tuple<_Elements...>&& __t) noexcept | ^~~ /usr/include/c++/13/tuple:1815:5: note: template argument deduction/substitution failed: /usr/include/c++/13/tuple:1824:5: note: candidate: 'template<long unsigned int __i, class ... _Elements> constexpr std::__tuple_element_t<__i, std::tuple<_UTypes ...> >&& std::get(const tuple<_UTypes ...>&&)' 1824 | get(const tuple<_Elements...>&& __t) noexcept | ^~~ /usr/include/c++/13/tuple:1824:5: note: template argument deduction/substitution failed: /usr/include/c++/13/tuple:1834:5: note: candidate: 'template<long unsigned int __i, class ... _Elements> constexpr std::__enable_if_t<(__i >= sizeof... (_Types))> std::get(const tuple<_UTypes ...>&)' (deleted) 1834 | get(const tuple<_Elements...>&) = delete; | ^~~ /usr/include/c++/13/tuple:1834:5: note: template argument deduction/substitution failed: /usr/include/c++/13/tuple:1844:5: note: candidate: 'template<class _Tp, class ... _Types> constexpr _Tp& std::get(tuple<_UTypes ...>&)' 1844 | get(tuple<_Types...>& __t) noexcept | ^~~ /usr/include/c++/13/tuple:1844:5: note: template argument deduction/substitution failed: /usr/include/c++/13/tuple:1855:5: note: candidate: 'template<class _Tp, class ... _Types> constexpr _Tp&& std::get(tuple<_UTypes ...>&&)' 1855 | get(tuple<_Types...>&& __t) noexcept | ^~~ /usr/include/c++/13/tuple:1855:5: note: template argument deduction/substitution failed: /usr/include/c++/13/tuple:1866:5: note: candidate: 'template<class _Tp, class ... _Types> constexpr const _Tp& std::get(const tuple<_UTypes ...>&)' 1866 | get(const tuple<_Types...>& __t) noexcept | ^~~ /usr/include/c++/13/tuple:1866:5: note: template argument deduction/substitution failed: /usr/include/c++/13/tuple:1878:5: note: candidate: 'template<class _Tp, class ... _Types> constexpr const _Tp&& std::get(const tuple<_UTypes ...>&&)' 1878 | get(const tuple<_Types...>&& __t) noexcept | ^~~ /usr/include/c++/13/tuple:1878:5: note: template argument deduction/substitution failed: /usr/include/c++/13/tuple:2023:5: note: candidate: 'template<long unsigned int _Int, class _Tp, long unsigned int _Nm> constexpr _Tp& std::get(array<_Tp, _Nm>&)' 2023 | get(array<_Tp, _Nm>&) noexcept; | ^~~ /usr/include/c++/13/tuple:2023:5: note: template argument deduction/substitution failed: /usr/include/c++/13/tuple:2027:5: note: candidate: 'template<long unsigned int _Int, class _Tp, long unsigned int _Nm> constexpr _Tp&& std::get(array<_Tp, _Nm>&&)' 2027 | get(array<_Tp, _Nm>&&) noexcept; | ^~~ /usr/include/c++/13/tuple:2027:5: note: template argument deduction/substitution failed: /usr/include/c++/13/tuple:2031:5: note: candidate: 'template<long unsigned int _Int, class _Tp, long unsigned int _Nm> constexpr const _Tp& std::get(const array<_Tp, _Nm>&)' 2031 | get(const array<_Tp, _Nm>&) noexcept; | ^~~ /usr/include/c++/13/tuple:2031:5: note: template argument deduction/substitution failed: /usr/include/c++/13/tuple:2035:5: note: candidate: 'template<long unsigned int _Int, class _Tp, long unsigned int _Nm> constexpr const _Tp&& std::get(const array<_Tp, _Nm>&&)' 2035 | get(const array<_Tp, _Nm>&&) noexcept; | ^~~ /usr/include/c++/13/tuple:2035:5: note: template argument deduction/substitution failed: /usr/include/c++/13/array:384:5: note: candidate: 'template<<declaration error>, class _Tp, <declaration error> > constexpr _Tp& std::get(int&)' 384 | get(array<_Tp, _Nm>& __arr) noexcept | ^~~ /usr/include/c++/13/array:384:5: note: template argument deduction/substitution failed: /usr/include/c++/13/array:393:5: note: candidate: 'template<<declaration error>, class _Tp, <declaration error> > constexpr _Tp&& std::get(int&&)' 393 | get(array<_Tp, _Nm>&& __arr) noexcept | ^~~ /usr/include/c++/13/array:393:5: note: template argument deduction/substitution failed: /usr/include/c++/13/array:402:5: note: candidate: 'template<<declaration error>, class _Tp, <declaration error> > constexpr const _Tp& std::get(const int&)' 402 | get(const array<_Tp, _Nm>& __arr) noexcept | ^~~ /usr/include/c++/13/array:402:5: note: template argument deduction/substitution failed: /usr/include/c++/13/array:411:5: note: candidate: 'template<<declaration error>, class _Tp, <declaration error> > constexpr const _Tp&& std::get(const int&&)' 411 | get(const array<_Tp, _Nm>&& __arr) noexcept | ^~~ /usr/include/c++/13/array:411:5: note: template argument deduction/substitution failed: /usr/include/c++/13/functional: At global scope: /usr/include/c++/13/functional:346:12: error: 'std::size_t' has not been declared 346 | template<std::size_t __i, typename _Tuple> | ^~~ /usr/include/c++/13/functional:348:29: error: '__i' was not declared in this scope 348 | = typename enable_if<(__i < tuple_size<_Tuple>::value), | ^~~ /usr/include/c++/13/functional:349:42: error: '__i' was not declared in this scope 349 | tuple_element<__i, _Tuple>>::type::type; | ^~~ /usr/include/c++/13/functional:349:47: error: template argument 1 is invalid 349 | tuple_element<__i, _Tuple>>::type::type; | ^~~~~~ /usr/include/c++/13/functional:349:53: error: template argument 2 is invalid 349 | tuple_element<__i, _Tuple>>::type::type; | ^~ /usr/include/c++/13/functional:349:57: error: '<expression error>::type' has not been declared 349 | tuple_element<__i, _Tuple>>::type::type; | ^~~~ /usr/include/c++/13/functional:413:52: error: 'std::size_t' has not been declared 413 | template<typename _CVArg, typename... _Args, std::size_t... _Indexes> | ^~~ /usr/include/c++/13/functional:417:35: error: '_Indexes' was not declared in this scope 417 | const _Index_tuple<_Indexes...>&) const volatile | ^~~~~~~~ /usr/include/c++/13/functional:417:43: error: expected parameter pack before '...' 417 | const _Index_tuple<_Indexes...>&) const volatile | ^~~ /usr/include/c++/13/functional:417:46: error: template argument 1 is invalid 417 | const _Index_tuple<_Indexes...>&) const volatile | ^ /usr/include/c++/13/functional: In member function 'constexpr decltype (__arg((declval<_Args>)()...)) std::_Mu<_Arg, true, false>::__call(_CVArg&, std::tuple<_Args2 ...>&, const int&) const volatile': /usr/include/c++/13/functional:420:33: error: '_Indexes' was not declared in this scope 420 | return __arg(std::get<_Indexes>(std::move(__tuple))...); | ^~~~~~~~ /usr/include/c++/13/functional:420:62: error: expansion pattern 'get<<expression error> >(std::move(__tuple))' contains no parameter packs 420 | return __arg(std::get<_Indexes>(std::move(__tuple))...); | ^~~ /usr/include/c++/13/functional: At global scope: /usr/include/c++/13/functional:435:9: error: '_Safe_tuple_element_t' does not name a type; did you mean '__tuple_element_t'? 435 | _Safe_tuple_element_t<(is_placeholder<_Arg>::value - 1), _Tuple>&& | ^~~~~~~~~~~~~~~~~~~~~ | __tuple_element_t /usr/include/c++/13/functional:460:12: error: 'std::size_t' has not been declared 460 | template<std::size_t _Ind, typename... _Tp> | ^~~ /usr/include/c++/13/functional:463:26: error: '_Ind' was not declared in this scope 463 | -> __tuple_element_t<_Ind, tuple<_Tp...>> volatile& | ^~~~ /usr/include/c++/13/functional:463:44: error: template argument 1 is invalid 463 | -> __tuple_element_t<_Ind, tuple<_Tp...>> volatile& | ^~ /usr/include/c++/13/functional:463:55: error: expected initializer before '&' token 463 | -> __tuple_element_t<_Ind, tuple<_Tp...>> volatile& | ^ /usr/include/c++/13/functional:467:12: error: 'std::size_t' has not been declared 467 | template<std::size_t _Ind, typename... _Tp> | ^~~ /usr/include/c++/13/functional:470:26: error: '_Ind' was not declared in this scope 470 | -> __tuple_element_t<_Ind, tuple<_Tp...>> const volatile& | ^~~~ /usr/include/c++/13/functional:470:44: error: template argument 1 is invalid 470 | -> __tuple_element_t<_Ind, tuple<_Tp...>> const volatile& | ^~ /usr/include/c++/13/functional:470:61: error: expected initializer before '&' token 470 | -> __tuple_element_t<_Ind, tuple<_Tp...>> const volatile& | ^ /usr/include/c++/13/functional:501:53: error: 'std::size_t' has not been declared 501 | template<typename _Result, typename... _Args, std::size_t... _Indexes> | ^~~ /usr/include/c++/13/functional:504:55: error: '_Indexes' was not declared in this scope 504 | __call(tuple<_Args...>&& __args, _Index_tuple<_Indexes...>) | ^~~~~~~~ /usr/include/c++/13/functional:504:63: error: expected parameter pack before '...' 504 | __call(tuple<_Args...>&& __args, _Index_tuple<_Indexes...>) | ^~~ /usr/include/c++/13/functional:504:66: error: template argument 1 is invalid 504 | __call(tuple<_Args...>&& __args, _Index_tuple<_Indexes...>) | ^ /usr/include/c++/13/functional:512:53: error: 'std::size_t' has not been declared 512 | template<typename _Result, typename... _Args, std::size_t... _Indexes> | ^~~ /usr/include/c++/13/functional:515:57: error: '_Indexes' was not declared in this scope 515 | __call_c(tuple<_Args...>&& __args, _Index_tuple<_Indexes...>) const | ^~~~~~~~ /usr/include/c++/13/functional:515:65: error: expected parameter pack before '...' 515 | __call_c(tuple<_Args...>&& __args, _Index_tuple<_Indexes...>) const | ^~~ /usr/include/c++/13/functional:515:68: error: template argument 1 is invalid 515 | __call_c(tuple<_Args...>&& __args, _Index_tuple<_Indexes...>) const | ^ /usr/include/c++/13/functional: In member function 'constexpr _Result std::_Bind<_Functor(_Bound_args ...)>::__call(std::tuple<_Args2 ...>&&, int)': /usr/include/c++/13/functional:507:43: error: '_Indexes' was not declared in this scope 507 | _Mu<_Bound_args>()(std::get<_Indexes>(_M_bound_args), __args)... | ^~~~~~~~ /usr/include/c++/13/functional: In member function 'constexpr _Result std::_Bind<_Functor(_Bound_args ...)>::__call_c(std::tuple<_Args2 ...>&&, int) const': /usr/include/c++/13/functional:518:43: error: '_Indexes' was not declared in this scope 518 | _Mu<_Bound_args>()(std::get<_Indexes>(_M_bound_args), __args)... | ^~~~~~~~ /usr/include/c++/13/functional: At global scope: /usr/include/c++/13/functional:649:50: error: 'std::size_t' has not been declared 649 | template<typename _Res, typename... _Args, std::size_t... _Indexes> | ^~~ /usr/include/c++/13/functional:652:55: error: '_Indexes' was not declared in this scope 652 | __call(tuple<_Args...>&& __args, _Index_tuple<_Indexes...>) | ^~~~~~~~ /usr/include/c++/13/functional:652:63: error: expected parameter pack before '...' 652 | __call(tuple<_Args...>&& __args, _Index_tuple<_Indexes...>) | ^~~ /usr/include/c++/13/functional:652:66: error: template argument 1 is invalid 652 | __call(tuple<_Args...>&& __args, _Index_tuple<_Indexes...>) | ^ /usr/include/c++/13/functional:659:50: error: 'std::size_t' has not been declared 659 | template<typename _Res, typename... _Args, std::size_t... _Indexes> | ^~~ /usr/include/c++/13/functional:662:55: error: '_Indexes' was not declared in this scope 662 | __call(tuple<_Args...>&& __args, _Index_tuple<_Indexes...>) const | ^~~~~~~~ /usr/include/c++/13/functional:662:63: error: expected parameter pack before '...' 662 | __call(tuple<_Args...>&& __args, _Index_tuple<_Indexes...>) const | ^~~ /usr/include/c++/13/functional:662:66: error: template argument 1 is invalid 662 | __call(tuple<_Args...>&& __args, _Index_tuple<_Indexes...>) const | ^ /usr/include/c++/13/functional: In member function 'constexpr _Res std::_Bind_result<_Result, _Functor(_Bound_args ...)>::__call(std::tuple<_Args2 ...>&&, int)': /usr/include/c++/13/functional:655:33: error: '_Indexes' was not declared in this scope 655 | (std::get<_Indexes>(_M_bound_args), __args)...); | ^~~~~~~~ /usr/include/c++/13/functional: In member function 'constexpr _Res std::_Bind_result<_Result, _Functor(_Bound_args ...)>::__call(std::tuple<_Args2 ...>&&, int) const': /usr/include/c++/13/functional:665:33: error: '_Indexes' was not declared in this scope 665 | (std::get<_Indexes>(_M_bound_args), __args)...); | ^~~~~~~~ In file included from /usr/include/c++/13/bits/locale_facets.h:2687, from /usr/include/c++/13/bits/basic_ios.h:37, from /usr/include/c++/13/ios:46, from /usr/include/c++/13/ostream:40, from /usr/include/c++/13/bits/unique_ptr.h:42, from /usr/include/c++/13/memory:78, from /usr/include/x86_64-linux-gnu/c++/13/bits/stdc++.h:56: /usr/include/c++/13/bits/locale_facets.tcc: In member function 'void std::__numpunct_cache<_CharT>::_M_cache(const std::locale&)': /usr/include/c++/13/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/include/c++/13/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/include/c++/13/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/include/c++/13/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/include/c++/13/bits/basic_string.h:1204: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>]' 1204 | reserve(); | ^~~~~~~ /usr/include/c++/13/bits/basic_string.h:1204:7: note: candidate expects 0 arguments, 1 provided /usr/include/c++/13/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/include/c++/13/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/include/c++/13/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/include/c++/13/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/include/c++/13/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/include/c++/13/bits/basic_string.h:1204: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>]' 1204 | reserve(); | ^~~~~~~ /usr/include/c++/13/bits/basic_string.h:1204:7: note: candidate expects 0 arguments, 1 provided /usr/include/c++/13/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/include/c++/13/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/include/c++/13/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/include/c++/13/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/include/c++/13/bits/basic_string.h:1204: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>]' 1204 | reserve(); | ^~~~~~~ /usr/include/c++/13/bits/basic_string.h:1204:7: note: candidate expects 0 arguments, 1 provided /usr/include/c++/13/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/include/c++/13/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/include/c++/13/bits/basic_string.h:1204: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>]' 1204 | reserve(); | ^~~~~~~ /usr/include/c++/13/bits/basic_string.h:1204:7: note: candidate expects 0 arguments, 1 provided /usr/include/c++/13/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/include/c++/13/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/include/c++/13/bits/basic_string.h:1204: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>]' 1204 | reserve(); | ^~~~~~~ /usr/include/c++/13/bits/basic_string.h:1204:7: note: candidate expects 0 arguments, 1 provided In file included from /usr/include/c++/13/bits/shared_ptr_base.h:53, from /usr/include/c++/13/bits/shared_ptr.h:53, from /usr/include/c++/13/memory:80: /usr/include/c++/13/bits/allocated_ptr.h: At global scope: /usr/include/c++/13/bits/allocated_ptr.h:79:17: error: 'std::nullptr_t' has not been declared 79 | operator=(std::nullptr_t) noexcept | ^~~ In file included from /usr/include/x86_64-linux-gnu/c++/13/bits/stdc++.h:67: /usr/include/c++/13/scoped_allocator:241:16: error: 'std::size_t' has not been declared 241 | template<std::size_t... _Indices> | ^~~ /usr/include/c++/13/scoped_allocator:244:47: error: '_Indices' was not declared in this scope 244 | _Index_tuple<_Indices...>) | ^~~~~~~~ /usr/include/c++/13/scoped_allocator:244:55: error: expected parameter pack before '...' 244 | _Index_tuple<_Indices...>) | ^~~ /usr/include/c++/13/scoped_allocator:244:58: error: template argument 1 is invalid 244 | _Index_tuple<_Indices...>) | ^ /usr/include/c++/13/scoped_allocator: In constructor 'std::scoped_allocator_adaptor<_OuterAlloc, _InnerAllocs>::scoped_allocator_adaptor(std::tuple<const _OuterAlloc&, const _InnerAllocs& ...>, int)': /usr/include/c++/13/scoped_allocator:246:47: error: '_Indices' was not declared in this scope 246 | _M_inner(_S_select_on_copy(std::get<_Indices+1>(__refs))...) | ^~~~~~~~ /usr/include/c++/13/scoped_allocator:246:67: error: expansion pattern 'std::scoped_allocator_adaptor<_OuterAlloc, _InnerAllocs>::_S_select_on_copy(get<<expression error> >(__refs))' contains no parameter packs 246 | _M_inner(_S_select_on_copy(std::get<_Indices+1>(__refs))...) | ^~~ In file included from /usr/include/x86_64-linux-gnu/c++/13/bits/stdc++.h:77: /usr/include/c++/13/any: At global scope: /usr/include/c++/13/any:92:56: error: expected ';' at end of member declaration 92 | aligned_storage<sizeof(_M_ptr), alignof(void*)>::type _M_buffer; | ^~~~ | ; /usr/include/c++/13/any:92:61: error: '_M_buffer' does not name a type 92 | aligned_storage<sizeof(_M_ptr), alignof(void*)>::type _M_buffer; | ^~~~~~~~~ /usr/include/c++/13/any: In static member function 'static void std::any::_Manager_internal<_Tp>::_S_create(std::any::_Storage&, _Up&&)': /usr/include/c++/13/any:379:39: error: 'union std::any::_Storage' has no member named '_M_buffer' 379 | void* __addr = &__storage._M_buffer; | ^~~~~~~~~ /usr/include/c++/13/any: In static member function 'static void std::any::_Manager_internal<_Tp>::_S_create(std::any::_Storage&, _Args&& ...)': /usr/include/c++/13/any:387:39: error: 'union std::any::_Storage' has no member named '_M_buffer' 387 | void* __addr = &__storage._M_buffer; | ^~~~~~~~~ /usr/include/c++/13/any: In static member function 'static _Tp* std::any::_Manager_internal<_Tp>::_S_access(const std::any::_Storage&)': /usr/include/c++/13/any:395:43: error: 'const union std::any::_Storage' has no member named '_M_buffer' 395 | const void* __addr = &__storage._M_buffer; | ^~~~~~~~~ /usr/include/c++/13/any: In static member function 'static void std::any::_Manager_internal<_Tp>::_S_manage(std::any::_Op, const std::any*, std::any::_Arg*)': /usr/include/c++/13/any:578:68: error: 'const union std::any::_Storage' has no member named '_M_buffer' 578 | auto __ptr = reinterpret_cast<const _Tp*>(&__any->_M_storage._M_buffer); | ^~~~~~~~~ /usr/include/c++/13/any:590:42: error: 'union std::any::_Storage' has no member named '_M_buffer' 590 | ::new(&__arg->_M_any->_M_storage._M_buffer) _Tp(*__ptr); | ^~~~~~~~~ /usr/include/c++/13/any:597:42: error: 'union std::any::_Storage' has no member named '_M_buffer' 597 | ::new(&__arg->_M_any->_M_storage._M_buffer) _Tp | ^~~~~~~~~ In file included from /usr/include/x86_64-linux-gnu/c++/13/bits/stdc++.h:99: /usr/include/c++/13/coroutine: At global scope: /usr/include/c++/13/coroutine:102:48: error: expected ')' before '__h' 102 | constexpr coroutine_handle(std::nullptr_t __h) noexcept | ~ ^~~~ | ) /usr/include/c++/13/coroutine:106:35: error: 'std::nullptr_t' has not been declared 106 | coroutine_handle& operator=(std::nullptr_t) noexcept | ^~~ In file included from /usr/include/c++/13/deque:69, from /usr/include/x86_64-linux-gnu/c++/13/bits/stdc++.h:139: /usr/include/c++/13/bits/deque.tcc: In function 'typename __gnu_cxx::__enable_if<std::__is_char<_CharT>::__value, std::_Deque_iterator<_CharT, _CharT&, _CharT*> >::__type std::__copy_move_a2(istreambuf_iterator<_CharT, char_traits<_CharT> >, istreambuf_iterator<_CharT, char_traits<_CharT> >, _Deque_iterator<_CharT, _CharT&, _CharT*>)': /usr/include/c++/13/bits/deque.tcc:1085:22: error: 'ptrdiff_t' in namespace 'std' does not name a type 1085 | const std::ptrdiff_t __len = __result._M_last - __result._M_cur; | ^~~~~~~~~ /usr/include/c++/13/bits/deque.tcc:1086:22: error: 'ptrdiff_t' in namespace 'std' does not name a type 1086 | const std::ptrdiff_t __nb | ^~~~~~~~~ /usr/include/c++/13/bits/deque.tcc:1089:23: error: '__nb' was not declared in this scope 1089 | __result += __nb; | ^~~~ /usr/include/c++/13/bits/deque.tcc:1091:23: error: '__len' was not declared in this scope 1091 | if (__nb != __len) | ^~~~~ In file included from /usr/include/c++/13/bits/locale_facets_nonio.h:2069, from /usr/include/c++/13/locale:43, from /usr/include/c++/13/iomanip:45, from /usr/include/x86_64-linux-gnu/c++/13/bits/stdc++.h:143: /usr/include/c++/13/bits/locale_facets_nonio.tcc: In member function 'void std::__moneypunct_cache<_CharT, _Intl>::_M_cache(const std::locale&)': /usr/include/c++/13/bits/locale_facets_nonio.tcc:100:35: error: 'const std::string' {aka 'const class std::__cxx11::basic_string<char>'} has no member named 'size' 100 | const size_t __g_size = __g.size(); | ^~~~ /usr/include/c++/13/bits/locale_facets_nonio.tcc:102:11: error: 'const std::string' {aka 'const class std::__cxx11::basic_string<char>'} has no member named 'copy' 102 | __g.copy(__grouping, __g_size); | ^~~~ /usr/include/c++/13/bits/locale_facets_nonio.tcc: In member function '_InIter std::__cxx11::money_get<_CharT, _InIter>::_M_extract(iter_type, iter_type, std::ios_base&, std::ios_base::iostate&, std::string&) const': /usr/include/c++/13/bits/locale_facets_nonio.tcc:162:33: error: no matching function for call to 'std::__cxx11::basic_string<char>::reserve(int)' 162 | __grouping_tmp.reserve(32); | ~~~~~~~~~~~~~~~~~~~~~~^~~~ /usr/include/c++/13/bits/basic_string.h:1204: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>]' 1204 | reserve(); | ^~~~~~~ /usr/include/c++/13/bits/basic_string.h:1204:7: note: candidate expects 0 arguments, 1 provided /usr/include/c++/13/bits/locale_facets_nonio.tcc:174:22: error: no matching function for call to 'std::__cxx11::basic_string<char>::reserve(int)' 174 | __res.reserve(32); | ~~~~~~~~~~~~~^~~~ /usr/include/c++/13/bits/basic_string.h:1204: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>]' 1204 | reserve(); | ^~~~~~~ /usr/include/c++/13/bits/basic_string.h:1204:7: note: candidate expects 0 arguments, 1 provided /usr/include/c++/13/bits/locale_facets_nonio.tcc:311:23: error: 'std::string' {aka 'class std::__cxx11::basic_string<char>'} has no member named 'size' 311 | if (__res.size() > 1) | ^~~~ /usr/include/c++/13/bits/locale_facets_nonio.tcc:313:49: error: 'std::string' {aka 'class std::__cxx11::basic_string<char>'} has no member named 'find_first_not_of' 313 | const size_type __first = __res.find_first_not_of('0'); | ^~~~~~~~~~~~~~~~~ /usr/include/c++/13/bits/locale_facets_nonio.tcc:314:62: error: 'npos' is not a member of 'std::string' {aka 'std::__cxx11::basic_string<char>'} 314 | const bool __only_zeros = __first == string::npos; | ^~~~ /usr/include/c++/13/bits/locale_facets_nonio.tcc:316:55: error: 'std::string' {aka 'class std::__cxx11::basic_string<char>'} has no member named 'size' 316 | __res.erase(0, __only_zeros ? __res.size() - 1 : __first); | ^~~~ /usr/include/c++/13/bits/locale_facets_nonio.tcc:320:36: error: no match for 'operator[]' (operand types are 'std::string' {aka 'std::__cxx11::basic_string<char>'} and 'int') 320 | if (__negative && __res[0] != '0') | ^ /usr/include/c++/13/bits/locale_facets_nonio.tcc:324:32: error: 'std::string' {aka 'class std::__cxx11::basic_string<char>'} has no member named 'size' 324 | if (__grouping_tmp.size()) | ^~~~ /usr/include/c++/13/bits/locale_facets_nonio.tcc: In member function 'virtual _InIter std::__cxx11::money_get<_CharT, _InIter>::do_get(iter_type, iter_type, bool, std::ios_base&, std::ios_base::iostate&, string_type&) const': /usr/include/c++/13/bits/locale_facets_nonio.tcc:387:32: error: invalid combination of multiple type-specifiers 387 | typedef typename string::size_type size_type; | ^~~~~~~~~ /usr/include/c++/13/bits/locale_facets_nonio.tcc:395:37: error: 'std::string' {aka 'class std::__cxx11::basic_string<char>'} has no member named 'size' 395 | const size_type __len = __str.size(); | ^~~~ In file included from /usr/include/c++/13/list:65, from /usr/include/x86_64-linux-gnu/c++/13/bits/stdc++.h:150: /usr/include/c++/13/bits/stl_list.h: At global scope: /usr/include/c++/13/bits/stl_list.h:107:12: error: 'size_t' in namespace 'std' does not name a type; did you mean 'time_t'? 107 | std::size_t _M_size; | ^~~~~~ | time_t /usr/include/c++/13/bits/stl_list.h: In constructor 'std::__detail::_List_node_header::_List_node_header(std::__detail::_List_node_header&&)': /usr/include/c++/13/bits/stl_list.h:117:9: error: class 'std::__detail::_List_node_header' does not have any field named '_M_size' 117 | , _M_size(__x._M_size) | ^~~~~~~ /usr/include/c++/13/bits/stl_list.h:117:21: error: 'struct std::__detail::_List_node_header' has no member named '_M_size' 117 | , _M_size(__x._M_size) | ^~~~~~~ /usr/include/c++/13/bits/stl_list.h: In member function 'void std::__detail::_List_node_header::_M_move_nodes(std::__detail::_List_node_header&&)': /usr/include/c++/13/bits/stl_list.h:142:13: error: '_M_size' was not declared in this scope; did you mean 'ssize'? 142 | _M_size = __x._M_size; | ^~~~~~~ | ssize /usr/include/c++/13/bits/stl_list.h:142:27: error: 'struct std::__detail::_List_node_header' has no member named '_M_size' 142 | _M_size = __x._M_size; | ^~~~~~~ /usr/include/c++/13/bits/stl_list.h: In member function 'void std::__detail::_List_node_header::_M_init()': /usr/include/c++/13/bits/stl_list.h:154:15: error: 'struct std::__detail::_List_node_header' has no member named '_M_size' 154 | this->_M_size = 0; | ^~~~~~~ /usr/include/c++/13/bits/stl_list.h: In function 'ptrdiff_t std::__distance(_List_const_iterator<_Tp>, _List_const_iterator<_Tp>, input_iterator_tag)': /usr/include/c++/13/bits/stl_list.h:2246:63: error: 'const _Sentinel' has no member named '_M_size' 2246 | return static_cast<const _Sentinel*>(__last._M_node)->_M_size; | ^~~~~~~ /usr/include/c++/13/ext/alloc_traits.h: In instantiation of 'struct __gnu_cxx::__alloc_traits<std::allocator<std::chrono::time_zone>, std::chrono::time_zone>': /usr/include/c++/13/bits/stl_vector.h:88:21: required from 'struct std::_Vector_base<std::chrono::time_zone, std::allocator<std::chrono::time_zone> >' /usr/include/c++/13/bits/stl_vector.h:428:11: required from 'class std::vector<std::chrono::time_zone>' /usr/include/c++/13/chrono:2975:41: required from here /usr/include/c++/13/ext/alloc_traits.h:56:53: error: no type named 'size_type' in '__gnu_cxx::__alloc_traits<std::allocator<std::chrono::time_zone>, std::chrono::time_zone>::_Base_type' {aka 'struct std::allocator_traits<std::allocator<std::chrono::time_zone> >'} 56 | typedef typename _Base_type::size_type size_type; | ^~~~~~~~~ /usr/include/c++/13/ext/alloc_traits.h:57:53: error: no type named 'difference_type' in '__gnu_cxx::__alloc_traits<std::allocator<std::chrono::time_zone>, std::chrono::time_zone>::_Base_type' {aka 'struct std::allocator_traits<std::allocator<std::chrono::time_zone> >'} 57 | typedef typename _Base_type::difference_type difference_type; | ^~~~~~~~~~~~~~~ /usr/include/c++/13/ext/alloc_traits.h:65:23: error: 'max_size' has not been declared in '__gnu_cxx::__alloc_traits<std::allocator<std::chrono::time_zone>, std::chrono::time_zone>::_Base_type' 65 | using _Base_type::max_size; | ^~~~~~~~ /usr/include/c++/13/ext/alloc_traits.h: In instantiation of 'struct __gnu_cxx::__alloc_traits<std::allocator<std::chrono::time_zone_link>, std::chrono::time_zone_link>': /usr/include/c++/13/bits/stl_vector.h:88:21: required from 'struct std::_Vector_base<std::chrono::time_zone_link, std::allocator<std::chrono::time_zone_link> >' /usr/include/c++/13/bits/stl_vector.h:428:11: required from 'class std::vector<std::chrono::time_zone_link>' /usr/include/c++/13/chrono:2976:46: required from here /usr/include/c++/13/ext/alloc_traits.h:56:53: error: no type named 'size_type' in '__gnu_cxx::__alloc_traits<std::allocator<std::chrono::time_zone_link>, std::chrono::time_zone_link>::_Base_type' {aka 'struct std::allocator_traits<std::allocator<std::chrono::time_zone_link> >'} 56 | typedef typename _Base_type::size_type size_type; | ^~~~~~~~~ /usr/include/c++/13/ext/alloc_traits.h:57:53: error: no type named 'difference_type' in '__gnu_cxx::__alloc_traits<std::allocator<std::chrono::time_zone_link>, std::chrono::time_zone_link>::_Base_type' {aka 'struct std::allocator_traits<std::allocator<std::chrono::time_zone_link> >'} 57 | typedef typename _Base_type::difference_type difference_type; | ^~~~~~~~~~~~~~~ /usr/include/c++/13/ext/alloc_traits.h:65:23: error: 'max_size' has not been declared in '__gnu_cxx::__alloc_traits<std::allocator<std::chrono::time_zone_link>, std::chrono::time_zone_link>::_Base_type' 65 | using _Base_type::max_size; | ^~~~~~~~ /usr/include/c++/13/ext/alloc_traits.h: In instantiation of 'struct __gnu_cxx::__alloc_traits<std::allocator<std::chrono::leap_second>, std::chrono::leap_second>': /usr/include/c++/13/bits/stl_vector.h:88:21: required from 'struct std::_Vector_base<std::chrono::leap_second, std::allocator<std::chrono::leap_second> >' /usr/include/c++/13/bits/stl_vector.h:428:11: required from 'class std::vector<std::chrono::leap_second>' /usr/include/c++/13/chrono:2977:43: required from here /usr/include/c++/13/ext/alloc_traits.h:56:53: error: no type named 'size_type' in '__gnu_cxx::__alloc_traits<std::allocator<std::chrono::leap_second>, std::chrono::leap_second>::_Base_type' {aka 'struct std::allocator_traits<std::allocator<std::chrono::leap_second> >'} 56 | typedef typename _Base_type::size_type size_type; | ^~~~~~~~~ /usr/include/c++/13/ext/alloc_traits.h:57:53: error: no type named 'difference_type' in '__gnu_cxx::__alloc_traits<std::allocator<std::chrono::leap_second>, std::chrono::leap_second>::_Base_type' {aka 'struct std::allocator_traits<std::allocator<std::chrono::leap_second> >'} 57 | typedef typename _Base_type::difference_type difference_type; | ^~~~~~~~~~~~~~~ /usr/include/c++/13/ext/alloc_traits.h:65:23: error: 'max_size' has not been declared in '__gnu_cxx::__alloc_traits<std::allocator<std::chrono::leap_second>, std::chrono::leap_second>::_Base_type' 65 | using _Base_type::max_size; | ^~~~~~~~ In file included from /usr/include/c++/13/bits/chrono_io.h:39, from /usr/include/c++/13/chrono:3370, from /usr/include/x86_64-linux-gnu/c++/13/bits/stdc++.h:172: /usr/include/c++/13/format: In copy constructor 'std::__format::_Optional_locale::_Optional_locale(const std::__format::_Optional_locale&)': /usr/include/c++/13/format:701:26: error: no matching function for call to 'construct_at(std::locale*, const std::locale&)' 701 | std::construct_at(&_M_loc, __l._M_loc); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/13/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/include/c++/13/bits/stl_construct.h:94:5: note: template argument deduction/substitution failed: /usr/include/c++/13/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 = std::locale; _Args = {const std::locale&}]': /usr/include/c++/13/format:701:19: required from here /usr/include/c++/13/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/include/c++/13/format: In member function 'std::__format::_Optional_locale& std::__format::_Optional_locale::operator=(const std::__format::_Optional_locale&)': /usr/include/c++/13/format:719:28: error: no matching function for call to 'construct_at(std::locale*, const std::locale&)' 719 | std::construct_at(&_M_loc, __l._M_loc); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/13/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/include/c++/13/bits/stl_construct.h:94:5: note: template argument deduction/substitution failed: /usr/include/c++/13/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 = std::locale; _Args = {const std::locale&}]': /usr/include/c++/13/format:719:21: required from here /usr/include/c++/13/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/include/c++/13/format: In member function 'std::__format::_Optional_locale& std::__format::_Optional_locale::operator=(std::locale&&)': /usr/include/c++/13/format:734:28: error: no matching function for call to 'construct_at(std::locale*, std::remove_reference<std::locale&>::type)' 734 | std::construct_at(&_M_loc, std::move(__loc)); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/13/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/include/c++/13/bits/stl_construct.h:94:5: note: template argument deduction/substitution failed: /usr/include/c++/13/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 = std::locale; _Args = {std::locale}]': /usr/include/c++/13/format:734:21: required from here /usr/include/c++/13/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/include/c++/13/format: In member function 'const std::locale& std::__format::_Optional_locale::value()': /usr/include/c++/13/format:745:28: error: no matching function for call to 'construct_at(std::locale*)' 745 | std::construct_at(&_M_loc); | ~~~~~~~~~~~~~~~~~^~~~~~~~~ /usr/include/c++/13/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/include/c++/13/bits/stl_construct.h:94:5: note: template argument deduction/substitution failed: /usr/include/c++/13/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 = std::locale; _Args = {}]': /usr/include/c++/13/format:745:21: required from here /usr/include/c++/13/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/include/c++/13/format: In member function 'typename std::basic_format_context<_Out, _CharT>::iterator std::__format::__formatter_int<_CharT>::_M_format_int(std::string_view, size_t, std::basic_format_context<_Out, _CharT>&) const': /usr/include/c++/13/format:1176:62: error: 'std::string' {aka 'class std::__cxx11::basic_string<char>'} has no member named 'size' 1176 | __grp.size(), | ^~~~ /usr/include/c++/13/format: In member function 'typename std::basic_format_context<_Out, _CharT>::iterator std::__format::__formatter_fp<_CharT>::format(_Fp, std::basic_format_context<_Out, _CharT>&) const': /usr/include/c++/13/format:1524:31: error: no matching function for call to 'std::__cxx11::basic_string<char>::reserve(size_t&)' 1524 | __dynbuf.reserve(__guess); | ~~~~~~~~~~~~~~~~^~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:1204: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>]' 1204 | reserve(); | ^~~~~~~ /usr/include/c++/13/bits/basic_string.h:1204:7: note: candidate expects 0 arguments, 1 provided /usr/include/c++/13/format:1534:62: error: 'std::string' {aka 'class std::__cxx11::basic_string<char>'} has no member named 'capacity' 1534 | _S_resize_and_overwrite(__dynbuf, __dynbuf.capacity() * 2, | ^~~~~~~~ /usr/include/c++/13/format:1537:54: error: 'std::string' {aka 'class std::__cxx11::basic_string<char>'} has no member named 'size' 1537 | __end = __dynbuf.data() + __dynbuf.size(); | ^~~~ /usr/include/c++/13/format:1625:39: error: no matching function for call to 'std::__cxx11::basic_string<char>::reserve(std::basic_string_view<char>::size_type)' 1625 | __dynbuf.reserve(__s.size() + __extras); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:1204: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>]' 1204 | reserve(); | ^~~~~~~ /usr/include/c++/13/bits/basic_string.h:1204:7: note: candidate expects 0 arguments, 1 provided /usr/include/c++/13/format:1632:44: error: no matching function for call to 'std::__cxx11::basic_string<char>::append(size_t&, char)' 1632 | __dynbuf.append(__z, '0'); | ~~~~~~~~~~~~~~~^~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:1518:9: note: candidate: 'template<class _InputIterator, class> constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>& std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::append(_InputIterator, _InputIterator) [with <template-parameter-2-2> = _InputIterator; _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]' 1518 | append(_InputIterator __first, _InputIterator __last) | ^~~~~~ /usr/include/c++/13/bits/basic_string.h:1518:9: note: template argument deduction/substitution failed: /usr/include/c++/13/format:1632:44: note: deduced conflicting types for parameter '_InputIterator' ('long unsigned int' and 'char') 1632 | __dynbuf.append(__z, '0'); | ~~~~~~~~~~~~~~~^~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:1530:9: note: candidate: 'template<class _Tp> constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::_If_sv<_Tp, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&> std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::append(const _Tp&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]' 1530 | append(const _Tp& __svt) | ^~~~~~ /usr/include/c++/13/bits/basic_string.h:1530:9: note: template argument deduction/substitution failed: /usr/include/c++/13/format:1632:44: note: candidate expects 1 argument, 2 provided 1632 | __dynbuf.append(__z, '0'); | ~~~~~~~~~~~~~~~^~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:1424:7: note: candidate: 'constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>& std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::append(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]' 1424 | append(const basic_string& __str) | ^~~~~~ /usr/include/c++/13/bits/basic_string.h:1424:7: note: candidate expects 1 argument, 2 provided /usr/include/c++/13/bits/basic_string.h:1469:7: note: candidate: 'constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>& std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::append(const _CharT*) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]' 1469 | append(const _CharT* __s) | ^~~~~~ /usr/include/c++/13/bits/basic_string.h:1469:7: note: candidate expects 1 argument, 2 provided /usr/include/c++/13/bits/basic_string.h:1498:7: note: candidate: 'constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>& std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::append(std::initializer_list<_Tp>) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]' 1498 | append(initializer_list<_CharT> __l) | ^~~~~~ /usr/include/c++/13/bits/basic_string.h:1498:7: note: candidate expects 1 argument, 2 provided /usr/include/c++/13/format:1637:42: error: no matching function for call to 'std::__cxx11::basic_string<char>::insert(size_t&, size_t&, char)' 1637 | __dynbuf.insert(__p, __extras, '0'); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:1831: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>]' 1831 | insert(const_iterator __p, _InputIterator __beg, _InputIterator __end) | ^~~~~~ /usr/include/c++/13/bits/basic_string.h:1831:9: note: template argument deduction/substitution failed: /usr/include/c++/13/format:1637:42: note: deduced conflicting types for parameter '_InputIterator' ('long unsigned int' and 'char') 1637 | __dynbuf.insert(__p, __extras, '0'); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:1866: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]' 1866 | insert(const_iterator __p, initializer_list<_CharT> __l) | ^~~~~~ /usr/include/c++/13/bits/basic_string.h:1866:7: note: candidate expects 2 arguments, 3 provided /usr/include/c++/13/bits/basic_string.h:2006: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]' 2006 | insert(__const_iterator __p, _CharT __c) | ^~~~~~ /usr/include/c++/13/bits/basic_string.h:2006:7: note: candidate expects 2 arguments, 3 provided /usr/include/c++/13/format:1639:37: error: no match for 'operator[]' (operand types are 'std::string' {aka 'std::__cxx11::basic_string<char>'} and 'size_t' {aka 'long unsigned int'}) 1639 | __dynbuf[__p] = '.'; | ^ /usr/include/c++/13/format: In lambda function: /usr/include/c++/13/format:1746:64: error: 'const std::string' {aka 'const class std::__cxx11::basic_string<char>'} has no member named 'size' 1746 | __grp.data(), __grp.size(), | ^~~~ In file included from /usr/include/c++/13/stop_token:37, from /usr/include/c++/13/condition_variable:49, from /usr/include/x86_64-linux-gnu/c++/13/bits/stdc++.h:174: /usr/include/c++/13/bits/std_thread.h: In destructor 'std::thread::~thread()': /usr/include/c++/13/bits/std_thread.h:173:14: error: '__terminate' is not a member of 'std'; did you mean 'terminate'? 173 | std::__terminate(); | ^~~~~~~~~~~ | terminate /usr/include/c++/13/bits/std_thread.h: In member function 'std::thread& std::thread::operator=(std::thread&&)': /usr/include/c++/13/bits/std_thread.h:186:14: error: '__terminate' is not a member of 'std'; did you mean 'terminate'? 186 | std::__terminate(); | ^~~~~~~~~~~ | terminate In file included from /usr/include/c++/13/semaphore:37, from /usr/include/c++/13/stop_token:39: /usr/include/c++/13/bits/semaphore_base.h: At global scope: /usr/include/c++/13/bits/semaphore_base.h:107:16: error: 'std::ptrdiff_t' has not been declared 107 | _M_release(std::ptrdiff_t __update) noexcept | ^~~ /usr/include/c++/13/bits/semaphore_base.h: In member function 'void std::__platform_semaphore::_M_acquire()': /usr/include/c++/13/bits/semaphore_base.h:82:18: error: '__terminate' is not a member of 'std'; did you mean 'terminate'? 82 | std::__terminate(); | ^~~~~~~~~~~ | terminate /usr/include/c++/13/bits/semaphore_base.h: In member function 'bool std::__platform_semaphore::_M_try_acquire()': /usr/include/c++/13/bits/semaphore_base.h:99:18: error: '__terminate' is not a member of 'std'; did you mean 'terminate'? 99 | std::__terminate(); | ^~~~~~~~~~~ | terminate /usr/include/c++/13/bits/semaphore_base.h: In member function 'void std::__platform_semaphore::_M_release(int)': /usr/include/c++/13/bits/semaphore_base.h:113:19: error: '__terminate' is not a member of 'std'; did you mean 'terminate'? 113 | std::__terminate(); | ^~~~~~~~~~~ | terminate /usr/include/c++/13/bits/semaphore_base.h: In member function 'bool std::__platform_semaphore::_M_try_acquire_until_impl(const std::chrono::time_point<std::chrono::_V2::system_clock, std::chrono::duration<long int, std::ratio<1, 1000000000> > >&)': /usr/include/c++/13/bits/semaphore_base.h:140:22: error: '__terminate' is not a member of 'std'; did you mean 'terminate'? 140 | std::__terminate(); | ^~~~~~~~~~~ | terminate In file included from /usr/include/c++/13/forward_list:40, from /usr/include/x86_64-linux-gnu/c++/13/bits/stdc++.h:175: /usr/include/c++/13/bits/forward_list.h: At global scope: /usr/include/c++/13/bits/forward_list.h:460:20: error: 'size_t' in namespace 'std' does not name a type; did you mean 'time_t'? 460 | typedef std::size_t size_type; | ^~~~~~ | time_t /usr/include/c++/13/bits/forward_list.h:461:20: error: 'ptrdiff_t' in namespace 'std' does not name a type 461 | typedef std::ptrdiff_t difference_type; | ^~~~~~~~~ /usr/include/c++/13/bits/forward_list.h:530:29: error: expected ')' before '__n' 530 | forward_list(size_type __n, const _Alloc& __al = _Alloc()) | ~ ^~~~ | ) /usr/include/c++/13/bits/forward_list.h:543:29: error: expected ')' before '__n' 543 | forward_list(size_type __n, const _Tp& __value, | ~ ^~~~ | ) /usr/include/c++/13/bits/forward_list.h:687:14: error: 'size_type' has not been declared 687 | assign(size_type __n, const _Tp& __val) | ^~~~~~~~~ /usr/include/c++/13/bits/forward_list.h:810:7: error: 'size_type' does not name a type; did you mean 'true_type'? 810 | size_type | ^~~~~~~~~ | true_type /usr/include/c++/13/bits/forward_list.h:963:42: error: 'size_type' has not been declared 963 | insert_after(const_iterator __pos, size_type __n, const _Tp& __val); | ^~~~~~~~~ /usr/include/c++/13/bits/forward_list.h:1085:14: error: 'size_type' has not been declared 1085 | resize(size_type __sz); | ^~~~~~~~~ /usr/include/c++/13/bits/forward_list.h:1100:14: error: 'size_type' has not been declared 1100 | resize(size_type __sz, const value_type& __val); | ^~~~~~~~~ /usr/include/c++/13/bits/forward_list.h:1185:36: error: 'size_type' does not name a type; did you mean 'true_type'? 1185 | using __remove_return_type = size_type; | ^~~~~~~~~ | true_type /usr/include/c++/13/bits/forward_list.h:1206:7: error: '__remove_return_type' does not name a type; did you mean '__remove_reference'? 1206 | __remove_return_type | ^~~~~~~~~~~~~~~~~~~~ | __remove_reference /usr/include/c++/13/bits/forward_list.h:1221:9: error: '__remove_return_type' does not name a type; did you mean '__remove_reference'? 1221 | __remove_return_type | ^~~~~~~~~~~~~~~~~~~~ | __remove_reference /usr/include/c++/13/bits/forward_list.h:1235:7: error: '__remove_return_type' does not name a type; did you mean '__remove_reference'? 1235 | __remove_return_type | ^~~~~~~~~~~~~~~~~~~~ | __remove_reference /usr/include/c++/13/bits/forward_list.h:1254:9: error: '__remove_return_type' does not name a type; did you mean '__remove_reference'? 1254 | __remove_return_type | ^~~~~~~~~~~~~~~~~~~~ | __remove_reference /usr/include/c++/13/bits/forward_list.h:1332:26: error: 'size_type' has not been declared 1332 | _M_fill_initialize(size_type __n, const value_type& __value); | ^~~~~~~~~ /usr/include/c++/13/bits/forward_list.h:1341:29: error: 'size_type' has not been declared 1341 | _M_default_initialize(size_type __n); | ^~~~~~~~~ /usr/include/c++/13/bits/forward_list.h:1345:53: error: 'size_type' has not been declared 1345 | _M_default_insert_after(const_iterator __pos, size_type __n); | ^~~~~~~~~ /usr/include/c++/13/bits/forward_list.h:1405:19: error: 'size_type' has not been declared 1405 | _M_assign_n(size_type __n, const _Tp& __val, true_type) | ^~~~~~~~~ /usr/include/c++/13/bits/forward_list.h:1425:19: error: 'size_type' has not been declared 1425 | _M_assign_n(size_type __n, const _Tp& __val, false_type) | ^~~~~~~~~ In file included from /usr/include/c++/13/forward_list:42: /usr/include/c++/13/bits/forward_list.tcc:113:5: error: variable or field '_M_fill_initialize' declared void 113 | forward_list<_Tp, _Alloc>:: | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/13/bits/forward_list.tcc:114:24: error: 'size_type' was not declared in this scope; did you mean 'true_type'? 114 | _M_fill_initialize(size_type __n, const value_type& __value) | ^~~~~~~~~ | true_type /usr/include/c++/13/bits/forward_list.tcc:114:39: error: expected primary-expression before 'const' 114 | _M_fill_initialize(size_type __n, const value_type& __value) | ^~~~~ /usr/include/c++/13/bits/forward_list.tcc:126:5: error: variable or field '_M_default_initialize' declared void 126 | forward_list<_Tp, _Alloc>:: | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/13/bits/forward_list.tcc:127:27: error: 'size_type' was not declared in this scope; did you mean 'true_type'? 127 | _M_default_initialize(size_type __n) | ^~~~~~~~~ | true_type /usr/include/c++/13/bits/forward_list.tcc:164:51: error: 'size_type' has not been declared 164 | _M_default_insert_after(const_iterator __pos, size_type __n) | ^~~~~~~~~ /usr/include/c++/13/bits/forward_list.tcc:181:5: error: variable or field 'resize' declared void 181 | forward_list<_Tp, _Alloc>:: | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/13/bits/forward_list.tcc:182:12: error: 'size_type' was not declared in this scope; did you mean 'true_type'? 182 | resize(size_type __sz) | ^~~~~~~~~ | true_type /usr/include/c++/13/bits/forward_list.tcc:200:5: error: variable or field 'resize' declared void 200 | forward_list<_Tp, _Alloc>:: | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/13/bits/forward_list.tcc:201:12: error: 'size_type' was not declared in this scope; did you mean 'true_type'? 201 | resize(size_type __sz, const value_type& __val) | ^~~~~~~~~ | true_type /usr/include/c++/13/bits/forward_list.tcc:201:28: error: expected primary-expression before 'const' 201 | resize(size_type __sz, const value_type& __val) | ^~~~~ /usr/include/c++/13/bits/forward_list.tcc:256:40: error: 'size_type' has not been declared 256 | insert_after(const_iterator __pos, size_type __n, const _Tp& __val) | ^~~~~~~~~ /usr/include/c++/13/bits/forward_list.tcc:290:33: error: '__remove_return_type' does not name a type; did you mean '__remove_reference'? 290 | remove(const _Tp& __val) -> __remove_return_type | ^~~~~~~~~~~~~~~~~~~~ | __remove_reference /usr/include/c++/13/bits/forward_list.tcc:313:34: error: '__remove_return_type' does not name a type; did you mean '__remove_reference'? 313 | remove_if(_Pred __pred) -> __remove_return_type | ^~~~~~~~~~~~~~~~~~~~ | __remove_reference /usr/include/c++/13/bits/forward_list.tcc:336:41: error: '__remove_return_type' does not name a type; did you mean '__remove_reference'? 336 | unique(_BinPred __binary_pred) -> __remove_return_type | ^~~~~~~~~~~~~~~~~~~~ | __remove_reference /usr/include/c++/13/ext/alloc_traits.h: In instantiation of 'struct __gnu_cxx::__alloc_traits<std::allocator<double>, double>': /usr/include/c++/13/bits/stl_vector.h:88:21: required from 'struct std::_Vector_base<double, std::allocator<double> >' /usr/include/c++/13/bits/stl_vector.h:428:11: required from 'class std::vector<double>' /usr/include/c++/13/bits/random.h:5499:22: required from here /usr/include/c++/13/ext/alloc_traits.h:56:53: error: no type named 'size_type' in '__gnu_cxx::__alloc_traits<std::allocator<double>, double>::_Base_type' {aka 'struct std::allocator_traits<std::allocator<double> >'} 56 | typedef typename _Base_type::size_type size_type; | ^~~~~~~~~ /usr/include/c++/13/ext/alloc_traits.h:57:53: error: no type named 'difference_type' in '__gnu_cxx::__alloc_traits<std::allocator<double>, double>::_Base_type' {aka 'struct std::allocator_traits<std::allocator<double> >'} 57 | typedef typename _Base_type::difference_type difference_type; | ^~~~~~~~~~~~~~~ /usr/include/c++/13/ext/alloc_traits.h:65:23: error: 'max_size' has not been declared in '__gnu_cxx::__alloc_traits<std::allocator<double>, double>::_Base_type' 65 | using _Base_type::max_size; | ^~~~~~~~ /usr/include/c++/13/ext/alloc_traits.h: In instantiation of 'struct __gnu_cxx::__alloc_traits<std::allocator<unsigned int>, unsigned int>': /usr/include/c++/13/bits/stl_vector.h:88:21: required from 'struct std::_Vector_base<unsigned int, std::allocator<unsigned int> >' /usr/include/c++/13/bits/stl_vector.h:428:11: required from 'class std::vector<unsigned int>' /usr/include/c++/13/bits/random.h:6294:30: required from here /usr/include/c++/13/ext/alloc_traits.h:56:53: error: no type named 'size_type' in '__gnu_cxx::__alloc_traits<std::allocator<unsigned int>, unsigned int>::_Base_type' {aka 'struct std::allocator_traits<std::allocator<unsigned int> >'} 56 | typedef typename _Base_type::size_type size_type; | ^~~~~~~~~ /usr/include/c++/13/ext/alloc_traits.h:57:53: error: no type named 'difference_type' in '__gnu_cxx::__alloc_traits<std::allocator<unsigned int>, unsigned int>::_Base_type' {aka 'struct std::allocator_traits<std::allocator<unsigned int> >'} 57 | typedef typename _Base_type::difference_type difference_type; | ^~~~~~~~~~~~~~~ /usr/include/c++/13/ext/alloc_traits.h:65:23: error: 'max_size' has not been declared in '__gnu_cxx::__alloc_traits<std::allocator<unsigned int>, unsigned int>::_Base_type' 65 | using _Base_type::max_size; | ^~~~~~~~ /usr/include/c++/13/ext/alloc_traits.h: In instantiation of 'struct __gnu_cxx::__alloc_traits<std::allocator<long unsigned int>, long unsigned int>': /usr/include/c++/13/bits/stl_vector.h:88:21: required from 'struct std::_Vector_base<long unsigned int, std::allocator<long unsigned int> >' /usr/include/c++/13/bits/stl_vector.h:428:11: required from 'class std::vector<long unsigned int>' /usr/include/c++/13/bits/regex_automaton.h:212:36: required from here /usr/include/c++/13/ext/alloc_traits.h:56:53: error: no type named 'size_type' in '__gnu_cxx::__alloc_traits<std::allocator<long unsigned int>, long unsigned int>::_Base_type' {aka 'struct std::allocator_traits<std::allocator<long unsigned int> >'} 56 | typedef typename _Base_type::size_type size_type; | ^~~~~~~~~ /usr/include/c++/13/ext/alloc_traits.h:57:53: error: no type named 'difference_type' in '__gnu_cxx::__alloc_traits<std::allocator<long unsigned int>, long unsigned int>::_Base_type' {aka 'struct std::allocator_traits<std::allocator<long unsigned int> >'} 57 | typedef typename _Base_type::difference_type difference_type; | ^~~~~~~~~~~~~~~ /usr/include/c++/13/ext/alloc_traits.h:65:23: error: 'max_size' has not been declared in '__gnu_cxx::__alloc_traits<std::allocator<long unsigned int>, long unsigned int>::_Base_type' 65 | using _Base_type::max_size; | ^~~~~~~~ /usr/include/c++/13/ext/alloc_traits.h: In instantiation of 'struct __gnu_cxx::__alloc_traits<std::allocator<long int>, long int>': /usr/include/c++/13/bits/stl_deque.h:434:21: required from 'class std::_Deque_base<long int, std::allocator<long int> >' /usr/include/c++/13/bits/stl_deque.h:788:11: required from 'class std::deque<long int>' /usr/include/c++/13/bits/stl_stack.h:134:67: required from 'class std::stack<long int, std::deque<long int> >' /usr/include/c++/13/bits/regex_automaton.tcc:199:14: required from here /usr/include/c++/13/ext/alloc_traits.h:56:53: error: no type named 'size_type' in '__gnu_cxx::__alloc_traits<std::allocator<long int>, long int>::_Base_type' {aka 'struct std::allocator_traits<std::allocator<long int> >'} 56 | typedef typename _Base_type::size_type size_type; | ^~~~~~~~~ /usr/include/c++/13/ext/alloc_traits.h:57:53: error: no type named 'difference_type' in '__gnu_cxx::__alloc_traits<std::allocator<long int>, long int>::_Base_type' {aka 'struct std::allocator_traits<std::allocator<long int> >'} 57 | typedef typename _Base_type::difference_type difference_type; | ^~~~~~~~~~~~~~~ /usr/include/c++/13/ext/alloc_traits.h:65:23: error: 'max_size' has not been declared in '__gnu_cxx::__alloc_traits<std::allocator<long int>, long int>::_Base_type' 65 | using _Base_type::max_size; | ^~~~~~~~ /usr/include/c++/13/ext/alloc_traits.h: In instantiation of 'struct __gnu_cxx::__alloc_traits<std::allocator<std::pair<const long int, long int> >, std::pair<const long int, long int> >': /usr/include/c++/13/bits/stl_map.h:152:28: required from 'class std::map<long int, long int>' /usr/include/c++/13/bits/regex_automaton.tcc:207:11: required from here /usr/include/c++/13/ext/alloc_traits.h:56:53: error: no type named 'size_type' in '__gnu_cxx::__alloc_traits<std::allocator<std::pair<const long int, long int> >, std::pair<const long int, long int> >::_Base_type' {aka 'struct std::allocator_traits<std::allocator<std::pair<const long int, long int> > >'} 56 | typedef typename _Base_type::size_type size_type; | ^~~~~~~~~ /usr/include/c++/13/ext/alloc_traits.h:57:53: error: no type named 'difference_type' in '__gnu_cxx::__alloc_traits<std::allocator<std::pair<const long int, long int> >, std::pair<const long int, long int> >::_Base_type' {aka 'struct std::allocator_traits<std::allocator<std::pair<const long int, long int> > >'} 57 | typedef typename _Base_type::difference_type difference_type; | ^~~~~~~~~~~~~~~ /usr/include/c++/13/ext/alloc_traits.h:65:23: error: 'max_size' has not been declared in '__gnu_cxx::__alloc_traits<std::allocator<std::pair<const long int, long int> >, std::pair<const long int, long int> >::_Base_type' 65 | using _Base_type::max_size; | ^~~~~~~~ In file included from /usr/include/c++/13/regex:68, from /usr/include/x86_64-linux-gnu/c++/13/bits/stdc++.h:181: /usr/include/c++/13/bits/regex.h:188:19: error: 'size_t' in namespace 'std' does not name a type; did you mean 'time_t'? 188 | static std::size_t | ^~~~~~ | time_t /usr/include/c++/13/bits/regex.h:487:40: error: 'std::size_t' has not been declared 487 | basic_regex(const _Ch_type* __p, std::size_t __len, | ^~~ /usr/include/c++/13/bits/regex.h:2739:20: error: 'ptrdiff_t' in namespace 'std' does not name a type 2739 | typedef std::ptrdiff_t difference_type; | ^~~~~~~~~ /usr/include/c++/13/bits/regex.h:2868:20: error: 'ptrdiff_t' in namespace 'std' does not name a type 2868 | typedef std::ptrdiff_t difference_type; | ^~~~~~~~~ /usr/include/c++/13/bits/regex.h:2953:16: error: 'std::size_t' has not been declared 2953 | template<std::size_t _Nm> | ^~~ /usr/include/c++/13/bits/regex.h:2956:56: error: '_Nm' was not declared in this scope 2956 | const int (&__submatches)[_Nm], | ^~~ /usr/include/c++/13/bits/regex.h:2956:60: error: expected ')' before ',' token 2956 | const int (&__submatches)[_Nm], | ^ | ) /usr/include/c++/13/bits/regex.h:2954:29: note: to match this '(' 2954 | regex_token_iterator(_Bi_iter __a, _Bi_iter __b, | ^ /usr/include/c++/13/bits/regex.h:2956:60: error: expected ';' before ',' token 2956 | const int (&__submatches)[_Nm], | ^ | ; /usr/include/c++/13/bits/regex.h:2976:17: error: 'std::size_t' has not been declared 2976 | template <std::size_t _Nm> | ^~~ /usr/include/c++/13/bits/regex.h:2978:44: error: '_Nm' was not declared in this scope 2978 | const int (&)[_Nm], | ^~~ /usr/include/c++/13/bits/regex.h:2978:48: error: expected ')' before ',' token 2978 | const int (&)[_Nm], | ^ | ) /usr/include/c++/13/bits/regex.h:2977:29: note: to match this '(' 2977 | regex_token_iterator(_Bi_iter, _Bi_iter, const regex_type&&, | ^ /usr/include/c++/13/bits/regex.h:2978:48: error: expected ';' before ',' token 2978 | const int (&)[_Nm], | ^ | ; /usr/include/c++/13/bits/regex.h:2977:9: error: 'template<class _Bi_iter, class _Ch_type, class _Rx_traits> template<<declaration error> > std::__cxx11::regex_token_iterator<_Bi_iter, _Ch_type, _Rx_traits>::regex_token_iterator(...)' cannot be overloaded with 'template<class _Bi_iter, class _Ch_type, class _Rx_traits> template<<declaration error> > std::__cxx11::regex_token_iterator<_Bi_iter, _Ch_type, _Rx_traits>::regex_token_iterator(...)' 2977 | regex_token_iterator(_Bi_iter, _Bi_iter, const regex_type&&, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/c++/13/bits/regex.h:2954:9: note: previous declaration 'template<class _Bi_iter, class _Ch_type, class _Rx_traits> template<<declaration error> > std::__cxx11::regex_token_iterator<_Bi_iter, _Ch_type, _Rx_traits>::regex_token_iterator(...)' 2954 | regex_token_iterator(_Bi_iter __a, _Bi_iter __b, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/c++/13/ext/alloc_traits.h: In instantiation of 'struct __gnu_cxx::__alloc_traits<std::allocator<int>, int>': /usr/include/c++/13/bits/stl_vector.h:88:21: required from 'struct std::_Vector_base<int, std::allocator<int> >' /usr/include/c++/13/bits/stl_vector.h:428:11: required from 'class std::vector<int>' /usr/include/c++/13/bits/regex.h:3083:24: required from here /usr/include/c++/13/ext/alloc_traits.h:56:53: error: no type named 'size_type' in '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::_Base_type' {aka 'struct std::allocator_traits<std::allocator<int> >'} 56 | typedef typename _Base_type::size_type size_type; | ^~~~~~~~~ /usr/include/c++/13/ext/alloc_traits.h:57:53: error: no type named 'difference_type' in '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::_Base_type' {aka 'struct std::allocator_traits<std::allocator<int> >'} 57 | typedef typename _Base_type::difference_type difference_type; | ^~~~~~~~~~~~~~~ /usr/include/c++/13/ext/alloc_traits.h:65:23: error: 'max_size' has not been declared in '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::_Base_type' 65 | using _Base_type::max_size; | ^~~~~~~~ /usr/include/c++/13/bits/regex.h:3085:12: error: 'size_t' in namespace 'std' does not name a type; did you mean 'time_t'? 3085 | std::size_t _M_n; | ^~~~~~ | time_t /usr/include/c++/13/bits/regex.h: In constructor 'std::__cxx11::regex_token_iterator<_Bi_iter, _Ch_type, _Rx_traits>::regex_token_iterator()': /usr/include/c++/13/bits/regex.h:2882:48: error: class 'std::__cxx11::regex_token_iterator<_Bi_iter, _Ch_type, _Rx_traits>' does not have any field named '_M_n' 2882 | : _M_position(), _M_subs(), _M_suffix(), _M_n(0), _M_result(nullptr), | ^~~~ /usr/include/c++/13/bits/regex.h: In constructor 'std::__cxx11::regex_token_iterator<_Bi_iter, _Ch_type, _Rx_traits>::regex_token_iterator(_Bi_iter, _Bi_iter, const regex_type&, int, std::regex_constants::match_flag_type)': /usr/include/c++/13/bits/regex.h:2907:67: error: class 'std::__cxx11::regex_token_iterator<_Bi_iter, _Ch_type, _Rx_traits>' does not have any field named '_M_n' 2907 | : _M_position(__a, __b, __re, __m), _M_subs(1, __submatch), _M_n(0) | ^~~~ /usr/include/c++/13/bits/regex.h: In constructor 'std::__cxx11::regex_token_iterator<_Bi_iter, _Ch_type, _Rx_traits>::regex_token_iterator(_Bi_iter, _Bi_iter, const regex_type&, const std::vector<int>&, std::regex_constants::match_flag_type)': /usr/include/c++/13/bits/regex.h:2924:66: error: class 'std::__cxx11::regex_token_iterator<_Bi_iter, _Ch_type, _Rx_traits>' does not have any field named '_M_n' 2924 | : _M_position(__a, __b, __re, __m), _M_subs(__submatches), _M_n(0) | ^~~~ /usr/include/c++/13/bits/regex.h: In constructor 'std::__cxx11::regex_token_iterator<_Bi_iter, _Ch_type, _Rx_traits>::regex_token_iterator(_Bi_iter, _Bi_iter, const regex_type&, std::initializer_list<int>, std::regex_constants::match_flag_type)': /usr/include/c++/13/bits/regex.h:2941:66: error: class 'std::__cxx11::regex_token_iterator<_Bi_iter, _Ch_type, _Rx_traits>' does not have any field named '_M_n' 2941 | : _M_position(__a, __b, __re, __m), _M_subs(__submatches), _M_n(0) | ^~~~ /usr/include/c++/13/bits/regex.h: In copy constructor 'std::__cxx11::regex_token_iterator<_Bi_iter, _Ch_type, _Rx_traits>::regex_token_iterator(const std::__cxx11::regex_token_iterator<_Bi_iter, _Ch_type, _Rx_traits>&)': /usr/include/c++/13/bits/regex.h:2988:35: error: class 'std::__cxx11::regex_token_iterator<_Bi_iter, _Ch_type, _Rx_traits>' does not have any field named '_M_n' 2988 | _M_suffix(__rhs._M_suffix), _M_n(__rhs._M_n), _M_has_m1(__rhs._M_has_m1) | ^~~~ /usr/include/c++/13/bits/regex.h: In member function 'const std::__cxx11::regex_token_iterator<_Bi_iter, _Ch_type, _Rx_traits>::value_type& std::__cxx11::regex_token_iterator<_Bi_iter, _Ch_type, _Rx_traits>::_M_current_match() const': /usr/include/c++/13/bits/regex.h:3060:21: error: '_M_n' was not declared in this scope 3060 | if (_M_subs[_M_n] == -1) | ^~~~ In file included from /usr/include/c++/13/bits/regex.h:3112: /usr/include/c++/13/bits/regex.tcc: In member function 'std::__cxx11::regex_token_iterator<_Bi_iter, _Ch_type, _Rx_traits>& std::__cxx11::regex_token_iterator<_Bi_iter, _Ch_type, _Rx_traits>::operator=(const std::__cxx11::regex_token_iterator<_Bi_iter, _Ch_type, _Rx_traits>&)': /usr/include/c++/13/bits/regex.tcc:578:7: error: '_M_n' was not declared in this scope 578 | _M_n = __rhs._M_n; | ^~~~ /usr/include/c++/13/bits/regex.tcc: In member function 'bool std::__cxx11::regex_token_iterator<_Bi_iter, _Ch_type, _Rx_traits>::operator==(const std::__cxx11::regex_token_iterator<_Bi_iter, _Ch_type, _Rx_traits>&) const': /usr/include/c++/13/bits/regex.tcc:601:12: error: '_M_n' was not declared in this scope 601 | && _M_n == __rhs._M_n | ^~~~ /usr/include/c++/13/bits/regex.tcc: In member function 'std::__cxx11::regex_token_iterator<_Bi_iter, _Ch_type, _Rx_traits>& std::__cxx11::regex_token_iterator<_Bi_iter, _Ch_type, _Rx_traits>::operator++()': /usr/include/c++/13/bits/regex.tcc:615:16: error: '_M_n' was not declared in this scope 615 | else if (_M_n + 1 < _M_subs.size()) | ^~~~ /usr/include/c++/13/bits/hashtable_policy.h: In instantiation of 'struct std::__detail::_Hashtable_base<int, int, std::__detail::_Identity, std::equal_to<int>, std::hash<int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Hashtable_traits<false, true, true> >': /usr/include/c++/13/bits/hashtable.h:181:11: required from 'class std::_Hashtable<int, int, std::allocator<int>, std::__detail::_Identity, std::equal_to<int>, std::hash<int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, true, true> >' /usr/include/c++/13/bits/unordered_set.h:107:18: required from 'class std::unordered_set<int>' /usr/include/c++/13/bits/unordered_set.h:891:23: required from here /usr/include/c++/13/bits/hashtable_policy.h:1677:13: error: no type named '__hash_code' in 'using std::__detail::_Hashtable_base<int, int, std::__detail::_Identity, std::equal_to<int>, std::hash<int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Hashtable_traits<false, true, true> >::__hash_code_base = struct std::__detail::_Hash_code_base<int, int, std::__detail::_Identity, std::hash<int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, false>' 1677 | using __hash_code = typename __hash_code_base::__hash_code; | ^~~~~~~~~~~ /usr/include/c++/13/bits/hashtable_policy.h: In instantiation of 'struct std::__detail::_Insert_base<int, int, std::allocator<int>, std::__detail::_Identity, std::equal_to<int>, std::hash<int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, true, true> >': /usr/include/c++/13/bits/hashtable_policy.h:1049:12: required from 'struct std::__detail::_Insert<int, int, std::allocator<int>, std::__detail::_Identity, std::equal_to<int>, std::hash<int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, true, true>, true>' /usr/include/c++/13/bits/hashtable.h:181:11: required from 'class std::_Hashtable<int, int, std::allocator<int>, std::__detail::_Identity, std::equal_to<int>, std::hash<int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, true, true> >' /usr/include/c++/13/bits/unordered_set.h:107:18: required from 'class std::unordered_set<int>' /usr/include/c++/13/bits/unordered_set.h:891:23: required from here /usr/include/c++/13/bits/hashtable_policy.h:896:13: error: no type named 'size_type' in 'using std::__detail::_Insert_base<int, int, std::allocator<int>, std::__detail::_Identity, std::equal_to<int>, std::hash<int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, true, true> >::__hashtable_base = struct std::__detail::_Hashtable_base<int, int, std::__detail::_Identity, std::equal_to<int>, std::hash<int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Hashtable_traits<false, true, true> >' 896 | using size_type = typename __hashtable_base::size_type; | ^~~~~~~~~ /usr/include/c++/13/ext/alloc_traits.h: In instantiation of 'struct __gnu_cxx::__alloc_traits<std::allocator<std::__detail::_Hash_node<int, false> >, std::__detail::_Hash_node<int, false> >': /usr/include/c++/13/bits/hashtable_policy.h:1929:13: required from 'struct std::__detail::_Hashtable_alloc<std::allocator<std::__detail::_Hash_node<int, false> > >' /usr/include/c++/13/bits/hashtable_policy.h:899:13: required from 'struct std::__detail::_Insert_base<int, int, std::allocator<int>, std::__detail::_Identity, std::equal_to<int>, std::hash<int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, true, true> >' /usr/include/c++/13/bits/hashtable_policy.h:1049:12: required from 'struct std::__detail::_Insert<int, int, std::allocator<int>, std::__detail::_Identity, std::equal_to<int>, std::hash<int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, true, true>, true>' /usr/include/c++/13/bits/hashtable.h:181:11: required from 'class std::_Hashtable<int, int, std::allocator<int>, std::__detail::_Identity, std::equal_to<int>, std::hash<int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, true, true> >' /usr/include/c++/13/bits/unordered_set.h:107:18: required from 'class std::unordered_set<int>' /usr/include/c++/13/bits/unordered_set.h:891:23: required from here /usr/include/c++/13/ext/alloc_traits.h:56:53: error: no type named 'size_type' in '__gnu_cxx::__alloc_traits<std::allocator<std::__detail::_Hash_node<int, false> >, std::__detail::_Hash_node<int, false> >::_Base_type' {aka 'struct std::allocator_traits<std::allocator<std::__detail::_Hash_node<int, false> > >'} 56 | typedef typename _Base_type::size_type size_type; | ^~~~~~~~~ /usr/include/c++/13/ext/alloc_traits.h:57:53: error: no type named 'difference_type' in '__gnu_cxx::__alloc_traits<std::allocator<std::__detail::_Hash_node<int, false> >, std::__detail::_Hash_node<int, false> >::_Base_type' {aka 'struct std::allocator_traits<std::allocator<std::__detail::_Hash_node<int, false> > >'} 57 | typedef typename _Base_type::difference_type difference_type; | ^~~~~~~~~~~~~~~ /usr/include/c++/13/ext/alloc_traits.h:65:23: error: 'max_size' has not been declared in '__gnu_cxx::__alloc_traits<std::allocator<std::__detail::_Hash_node<int, false> >, std::__detail::_Hash_node<int, false> >::_Base_type' 65 | using _Base_type::max_size; | ^~~~~~~~ /usr/include/c++/13/bits/hashtable.h: In instantiation of 'class std::_Hashtable<int, int, std::allocator<int>, std::__detail::_Identity, std::equal_to<int>, std::hash<int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, true, true> >': /usr/include/c++/13/bits/unordered_set.h:107:18: required from 'class std::unordered_set<int>' /usr/include/c++/13/bits/unordered_set.h:891:23: required from here /usr/include/c++/13/bits/hashtable.h:264:13: error: no type named '_State' in 'using std::_Hashtable<int, int, std::allocator<int>, std::__detail::_Identity, std::equal_to<int>, std::hash<int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, true, true> >::__rehash_type = struct std::__detail::_Prime_rehash_policy' 264 | using __rehash_state = typename __rehash_type::_State; | ^~~~~~~~~~~~~~ /usr/include/c++/13/bits/hashtable.h:378:13: error: no type named 'size_type' in 'using std::_Hashtable<int, int, std::allocator<int>, std::__detail::_Identity, std::equal_to<int>, std::hash<int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, true, true> >::__hashtable_base = struct std::__detail::_Hashtable_base<int, int, std::__detail::_Identity, std::equal_to<int>, std::hash<int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Hashtable_traits<false, true, true> >' 378 | using size_type = typename __hashtable_base::size_type; | ^~~~~~~~~ /usr/include/c++/13/bits/hashtable.h:379:13: error: no type named 'difference_type' in 'using std::_Hashtable<int, int, std::allocator<int>, std::__detail::_Identity, std::equal_to<int>, std::hash<int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, true, true> >::__hashtable_base = struct std::__detail::_Hashtable_base<int, int, std::__detail::_Identity, std::equal_to<int>, std::hash<int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Hashtable_traits<false, true, true> >' 379 | using difference_type = typename __hashtable_base::difference_type; | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/13/unordered_set:41, from /usr/include/x86_64-linux-gnu/c++/13/bits/stdc++.h:189: /usr/include/c++/13/bits/unordered_set.h: In instantiation of 'class std::unordered_set<int>': /usr/include/c++/13/bits/unordered_set.h:891:23: required from here /usr/include/c++/13/bits/unordered_set.h:699:26: error: 'const std::unordered_set<int>::_Hashtable' has no member named '_M_count_tr' 699 | -> decltype(_M_h._M_count_tr(__k)) | ~~~~~^~~~~~~~~~~ /usr/include/c++/13/bits/hashtable_policy.h: In instantiation of 'struct std::__detail::_Hashtable_base<int, int, std::__detail::_Identity, std::equal_to<int>, std::hash<int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Hashtable_traits<false, true, false> >': /usr/include/c++/13/bits/hashtable.h:181:11: required from 'class std::_Hashtable<int, int, std::allocator<int>, std::__detail::_Identity, std::equal_to<int>, std::hash<int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, true, false> >' /usr/include/c++/13/bits/unordered_set.h:975:18: required from 'class std::unordered_multiset<int>' /usr/include/c++/13/bits/unordered_set.h:1737:33: required from here /usr/include/c++/13/bits/hashtable_policy.h:1677:13: error: no type named '__hash_code' in 'using std::__detail::_Hashtable_base<int, int, std::__detail::_Identity, std::equal_to<int>, std::hash<int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Hashtable_traits<false, true, false> >::__hash_code_base = struct std::__detail::_Hash_code_base<int, int, std::__detail::_Identity, std::hash<int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, false>' 1677 | using __hash_code = typename __hash_code_base::__hash_code; | ^~~~~~~~~~~ /usr/include/c++/13/bits/hashtable_policy.h: In instantiation of 'struct std::__detail::_Insert_base<int, int, std::allocator<int>, std::__detail::_Identity, std::equal_to<int>, std::hash<int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, true, false> >': /usr/include/c++/13/bits/hashtable_policy.h:1049:12: required from 'struct std::__detail::_Insert<int, int, std::allocator<int>, std::__detail::_Identity, std::equal_to<int>, std::hash<int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, true, false>, true>' /usr/include/c++/13/bits/hashtable.h:181:11: required from 'class std::_Hashtable<int, int, std::allocator<int>, std::__detail::_Identity, std::equal_to<int>, std::hash<int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, true, false> >' /usr/include/c++/13/bits/unordered_set.h:975:18: required from 'class std::unordered_multiset<int>' /usr/include/c++/13/bits/unordered_set.h:1737:33: required from here /usr/include/c++/13/bits/hashtable_policy.h:896:13: error: no type named 'size_type' in 'using std::__detail::_Insert_base<int, int, std::allocator<int>, std::__detail::_Identity, std::equal_to<int>, std::hash<int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, true, false> >::__hashtable_base = struct std::__detail::_Hashtable_base<int, int, std::__detail::_Identity, std::equal_to<int>, std::hash<int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Hashtable_traits<false, true, false> >' 896 | using size_type = typename __hashtable_base::size_type; | ^~~~~~~~~ /usr/include/c++/13/bits/hashtable.h: In instantiation of 'class std::_Hashtable<int, int, std::allocator<int>, std::__detail::_Identity, std::equal_to<int>, std::hash<int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, true, false> >': /usr/include/c++/13/bits/unordered_set.h:975:18: required from 'class std::unordered_multiset<int>' /usr/include/c++/13/bits/unordered_set.h:1737:33: required from here /usr/include/c++/13/bits/hashtable.h:264:13: error: no type named '_State' in 'using std::_Hashtable<int, int, std::allocator<int>, std::__detail::_Identity, std::equal_to<int>, std::hash<int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, true, false> >::__rehash_type = struct std::__detail::_Prime_rehash_policy' 264 | using __rehash_state = typename __rehash_type::_State; | ^~~~~~~~~~~~~~ /usr/include/c++/13/bits/hashtable.h:378:13: error: no type named 'size_type' in 'using std::_Hashtable<int, int, std::allocator<int>, std::__detail::_Identity, std::equal_to<int>, std::hash<int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, true, false> >::__hashtable_base = struct std::__detail::_Hashtable_base<int, int, std::__detail::_Identity, std::equal_to<int>, std::hash<int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Hashtable_traits<false, true, false> >' 378 | using size_type = typename __hashtable_base::size_type; | ^~~~~~~~~ /usr/include/c++/13/bits/hashtable.h:379:13: error: no type named 'difference_type' in 'using std::_Hashtable<int, int, std::allocator<int>, std::__detail::_Identity, std::equal_to<int>, std::hash<int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, true, false> >::__hashtable_base = struct std::__detail::_Hashtable_base<int, int, std::__detail::_Identity, std::equal_to<int>, std::hash<int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Hashtable_traits<false, true, false> >' 379 | using difference_type = typename __hashtable_base::difference_type; | ^~~~~~~~~~~~~~~ /usr/include/c++/13/bits/unordered_set.h: In instantiation of 'class std::unordered_multiset<int>': /usr/include/c++/13/bits/unordered_set.h:1737:33: required from here /usr/include/c++/13/bits/unordered_set.h:1546:54: error: 'const std::unordered_multiset<int>::_Hashtable' has no member named '_M_count_tr' 1546 | count(const _Kt& __x) const -> decltype(_M_h._M_count_tr(__x)) | ~~~~~^~~~~~~~~~~ In file included from /usr/include/c++/13/filesystem:49, from /usr/include/x86_64-linux-gnu/c++/13/bits/stdc++.h:200: /usr/include/c++/13/bits/fs_path.h: At global scope: /usr/include/c++/13/bits/fs_path.h:945:40: error: 'ptrdiff_t' in namespace 'std' does not name a type 945 | using difference_type = std::ptrdiff_t; | ^~~~~~~~~ /usr/include/c++/13/bits/fs_path.h:984:12: error: 'difference_type' does not name a type 984 | friend difference_type | ^~~~~~~~~~~~~~~ /usr/include/c++/13/bits/fs_path.h:999:40: error: 'difference_type' has not been declared 999 | __path_iter_advance(iterator& __i, difference_type __n) noexcept | ^~~~~~~~~~~~~~~ /usr/include/c++/13/bits/fs_path.h: In member function 'std::__cxx11::basic_string<_CharT, _Traits, _Allocator> std::filesystem::__cxx11::path::string(const _Allocator&) const': /usr/include/c++/13/bits/fs_path.h:1164:51: error: 'const std::filesystem::__cxx11::path::string_type' {aka 'const class std::__cxx11::basic_string<char>'} has no member named 'length' 1164 | return { _M_pathname.c_str(), _M_pathname.length(), __a }; | ^~~~~~ /usr/include/c++/13/bits/fs_path.h: In member function 'std::__cxx11::basic_string<_CharT, _Traits, _Allocator> std::filesystem::__cxx11::path::generic_string(const _Allocator&) const': /usr/include/c++/13/bits/fs_path.h:1222:37: error: 'const std::filesystem::__cxx11::path::string_type' {aka 'const class std::__cxx11::basic_string<char>'} has no member named 'size' 1222 | __str.reserve(_M_pathname.size()); | ^~~~ /usr/include/c++/13/bits/fs_path.h: In member function 'std::filesystem::__cxx11::path std::filesystem::__cxx11::path::stem() const': /usr/include/c++/13/bits/fs_path.h:1305:30: error: 'const class std::__cxx11::basic_string<char>' has no member named 'substr' 1305 | return path{ext.first->substr(0, ext.second)}; | ^~~~~~ /usr/include/c++/13/bits/fs_path.h:1305:51: error: no matching function for call to 'std::filesystem::__cxx11::path::path(<brace-enclosed initializer list>)' 1305 | return path{ext.first->substr(0, ext.second)}; | ^ /usr/include/c++/13/bits/fs_path.h:350:7: note: candidate: 'template<class _InputIterator, class _Require, class _Req2> std::filesystem::__cxx11::path::path(_InputIterator, _InputIterator, const std::locale&, format)' 350 | path(_InputIterator __first, _InputIterator __last, const locale& __loc, | ^~~~ /usr/include/c++/13/bits/fs_path.h:350:7: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/fs_path.h:343:7: note: candidate: 'template<class _Source, class _Require, class _Require2> std::filesystem::__cxx11::path::path(const _Source&, const std::locale&, format)' 343 | path(_Source const& __src, const locale& __loc, format = auto_format) | ^~~~ /usr/include/c++/13/bits/fs_path.h:343:7: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/fs_path.h:336:7: note: candidate: 'template<class _InputIterator, class _Require> std::filesystem::__cxx11::path::path(_InputIterator, _InputIterator, format)' 336 | path(_InputIterator __first, _InputIterator __last, format = auto_format) | ^~~~ /usr/include/c++/13/bits/fs_path.h:336:7: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/fs_path.h:330:7: note: candidate: 'template<class _Source, class _Require> std::filesystem::__cxx11::path::path(const _Source&, format)' 330 | path(_Source const& __source, format = auto_format) | ^~~~ /usr/include/c++/13/bits/fs_path.h:330:7: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/fs_path.h:603:5: note: candidate: 'std::filesystem::__cxx11::path::path(std::basic_string_view<char>, _Type)' 603 | path(basic_string_view<value_type> __str, _Type __type); | ^~~~ /usr/include/c++/13/bits/fs_path.h:603:5: note: candidate expects 2 arguments, 1 provided /usr/include/c++/13/bits/fs_path.h:324:5: note: candidate: 'std::filesystem::__cxx11::path::path(string_type&&, format)' 324 | path(string_type&& __source, format = auto_format) | ^~~~ /usr/include/c++/13/bits/fs_path.h:324:5: note: conversion of argument 1 would be ill-formed: /usr/include/c++/13/bits/fs_path.h:319:5: note: candidate: 'std::filesystem::__cxx11::path::path(std::filesystem::__cxx11::path&&)' 319 | path(path&& __p) noexcept | ^~~~ /usr/include/c++/13/bits/fs_path.h:319:5: note: conversion of argument 1 would be ill-formed: /usr/include/c++/13/bits/fs_path.h:317:5: note: candidate: 'std::filesystem::__cxx11::path::path(const std::filesystem::__cxx11::path&)' 317 | path(const path& __p) = default; | ^~~~ /usr/include/c++/13/bits/fs_path.h:317:5: note: conversion of argument 1 would be ill-formed: /usr/include/c++/13/bits/fs_path.h:315:5: note: candidate: 'std::filesystem::__cxx11::path::path()' 315 | path() noexcept { } | ^~~~ /usr/include/c++/13/bits/fs_path.h:315:5: note: candidate expects 0 arguments, 1 provided /usr/include/c++/13/bits/fs_path.h: In member function 'std::filesystem::__cxx11::path std::filesystem::__cxx11::path::extension() const': /usr/include/c++/13/bits/fs_path.h:1313:49: error: 'npos' is not a member of 'std::filesystem::__cxx11::path::string_type' {aka 'std::__cxx11::basic_string<char>'} 1313 | if (ext.first && ext.second != string_type::npos) | ^~~~ /usr/include/c++/13/bits/fs_path.h:1314:30: error: 'const class std::__cxx11::basic_string<char>' has no member named 'substr' 1314 | return path{ext.first->substr(ext.second)}; | ^~~~~~ /usr/include/c++/13/bits/fs_path.h:1314:48: error: no matching function for call to 'std::filesystem::__cxx11::path::path(<brace-enclosed initializer list>)' 1314 | return path{ext.first->substr(ext.second)}; | ^ /usr/include/c++/13/bits/fs_path.h:350:7: note: candidate: 'template<class _InputIterator, class _Require, class _Req2> std::filesystem::__cxx11::path::path(_InputIterator, _InputIterator, const std::locale&, format)' 350 | path(_InputIterator __first, _InputIterator __last, const locale& __loc, | ^~~~ /usr/include/c++/13/bits/fs_path.h:350:7: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/fs_path.h:343:7: note: candidate: 'template<class _Source, class _Require, class _Require2> std::filesystem::__cxx11::path::path(const _Source&, const std::locale&, format)' 343 | path(_Source const& __src, const locale& __loc, format = auto_format) | ^~~~ /usr/include/c++/13/bits/fs_path.h:343:7: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/fs_path.h:336:7: note: candidate: 'template<class _InputIterator, class _Require> std::filesystem::__cxx11::path::path(_InputIterator, _InputIterator, format)' 336 | path(_InputIterator __first, _InputIterator __last, format = auto_format) | ^~~~ /usr/include/c++/13/bits/fs_path.h:336:7: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/fs_path.h:330:7: note: candidate: 'template<class _Source, class _Require> std::filesystem::__cxx11::path::path(const _Source&, format)' 330 | path(_Source const& __source, format = auto_format) | ^~~~ /usr/include/c++/13/bits/fs_path.h:330:7: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/fs_path.h:603:5: note: candidate: 'std::filesystem::__cxx11::path::path(std::basic_string_view<char>, _Type)' 603 | path(basic_string_view<value_type> __str, _Type __type); | ^~~~ /usr/include/c++/13/bits/fs_path.h:603:5: note: candidate expects 2 arguments, 1 provided /usr/include/c++/13/bits/fs_path.h:324:5: note: candidate: 'std::filesystem::__cxx11::path::path(string_type&&, format)' 324 | path(string_type&& __source, format = auto_format) | ^~~~ /usr/include/c++/13/bits/fs_path.h:324:5: note: conversion of argument 1 would be ill-formed: /usr/include/c++/13/bits/fs_path.h:319:5: note: candidate: 'std::filesystem::__cxx11::path::path(std::filesystem::__cxx11::path&&)' 319 | path(path&& __p) noexcept | ^~~~ /usr/include/c++/13/bits/fs_path.h:319:5: note: conversion of argument 1 would be ill-formed: /usr/include/c++/13/bits/fs_path.h:317:5: note: candidate: 'std::filesystem::__cxx11::path::path(const std::filesystem::__cxx11::path&)' 317 | path(const path& __p) = default; | ^~~~ /usr/include/c++/13/bits/fs_path.h:317:5: note: conversion of argument 1 would be ill-formed: /usr/include/c++/13/bits/fs_path.h:315:5: note: candidate: 'std::filesystem::__cxx11::path::path()' 315 | path() noexcept { } | ^~~~ /usr/include/c++/13/bits/fs_path.h:315:5: note: candidate expects 0 arguments, 1 provided /usr/include/c++/13/bits/fs_path.h: In member function 'bool std::filesystem::__cxx11::path::has_extension() const': /usr/include/c++/13/bits/fs_path.h:1329:52: error: 'npos' is not a member of 'std::filesystem::__cxx11::path::string_type' {aka 'std::__cxx11::basic_string<char>'} 1329 | return ext.first && ext.second != string_type::npos; | ^~~~ /usr/include/c++/13/bits/fs_path.h: In function 'ptrdiff_t std::distance(filesystem::__cxx11::path::iterator, filesystem::__cxx11::path::iterator)': /usr/include/c++/13/bits/fs_path.h:1433:10: error: '__path_iter_distance' was not declared in this scope 1433 | { return __path_iter_distance(__first, __last); } | ^~~~~~~~~~~~~~~~~~~~ /usr/include/c++/13/ext/alloc_traits.h: In instantiation of 'struct __gnu_cxx::__alloc_traits<std::pmr::polymorphic_allocator<std::pmr::__pool_resource::_BigBlock>, std::pmr::__pool_resource::_BigBlock>': /usr/include/c++/13/bits/stl_vector.h:88:21: required from 'struct std::_Vector_base<std::pmr::__pool_resource::_BigBlock, std::pmr::polymorphic_allocator<std::pmr::__pool_resource::_BigBlock> >' /usr/include/c++/13/bits/stl_vector.h:428:11: required from 'class std::vector<std::pmr::__pool_resource::_BigBlock, std::pmr::polymorphic_allocator<std::pmr::__pool_resource::_BigBlock> >' /usr/include/c++/13/memory_resource:180:44: required from here /usr/include/c++/13/ext/alloc_traits.h:56:53: error: no type named 'size_type' in '__gnu_cxx::__alloc_traits<std::pmr::polymorphic_allocator<std::pmr::__pool_resource::_BigBlock>, std::pmr::__pool_resource::_BigBlock>::_Base_type' {aka 'struct std::allocator_traits<std::pmr::polymorphic_allocator<std::pmr::__pool_resource::_BigBlock> >'} 56 | typedef typename _Base_type::size_type size_type; | ^~~~~~~~~ /usr/include/c++/13/ext/alloc_traits.h:57:53: error: no type named 'difference_type' in '__gnu_cxx::__alloc_traits<std::pmr::polymorphic_allocator<std::pmr::__pool_resource::_BigBlock>, std::pmr::__pool_resource::_BigBlock>::_Base_type' {aka 'struct std::allocator_traits<std::pmr::polymorphic_allocator<std::pmr::__pool_resource::_BigBlock> >'} 57 | typedef typename _Base_type::difference_type difference_type; | ^~~~~~~~~~~~~~~ /usr/include/c++/13/ext/alloc_traits.h:65:23: error: 'max_size' has not been declared in '__gnu_cxx::__alloc_traits<std::pmr::polymorphic_allocator<std::pmr::__pool_resource::_BigBlock>, std::pmr::__pool_resource::_BigBlock>::_Base_type' 65 | using _Base_type::max_size; | ^~~~~~~~ In file included from /usr/include/x86_64-linux-gnu/c++/13/bits/stdc++.h:207: /usr/include/c++/13/barrier: At global scope: /usr/include/c++/13/barrier:93:48: error: field '__tickets' has incomplete type 'std::__tree_barrier<_CompletionF>::__tickets_t' {aka 'std::array<std::__barrier_phase_t, 64>'} 93 | alignas(__phase_alignment) __tickets_t __tickets; | ^~~~~~~~~ /usr/include/c++/13/tuple:2019:45: note: declaration of 'using std::__tree_barrier<_CompletionF>::__tickets_t = struct std::array<std::__barrier_phase_t, 64>' {aka 'struct std::array<std::__barrier_phase_t, 64>'} 2019 | template<typename _Tp, size_t _Nm> struct array; | ^~~~~ In file included from /usr/include/x86_64-linux-gnu/c++/13/bits/stdc++.h:227: /usr/include/c++/13/stacktrace: In member function 'std::basic_stacktrace<_Allocator>::_Impl::pointer std::basic_stacktrace<_Allocator>::_Impl::_M_allocate(std::basic_stacktrace<_Allocator>::allocator_type&, std::basic_stacktrace<_Allocator>::size_type)': /usr/include/c++/13/stacktrace:623:59: error: no matching function for call to 'operator new(size_t&, std::nothrow_t)' 623 | void* const __p = _GLIBCXX_OPERATOR_NEW (__nb, nothrow_t{}); | ^ <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 'std::nothrow_t' to 'std::align_val_t' /usr/include/c++/13/ext/alloc_traits.h: In instantiation of 'struct __gnu_cxx::__alloc_traits<std::allocator<long long int>, long long int>': /usr/include/c++/13/bits/stl_vector.h:88:21: required from 'struct std::_Vector_base<long long int, std::allocator<long long int> >' /usr/include/c++/13/bits/stl_vector.h:428:11: required from 'class std::vector<long long int>' /include/cpp/atcoder/convolution.hpp:270:70: required from here /usr/include/c++/13/ext/alloc_traits.h:56:53: error: no type named 'size_type' in '__gnu_cxx::__alloc_traits<std::allocator<long long int>, long long int>::_Base_type' {aka 'struct std::allocator_traits<std::allocator<long long int> >'} 56 | typedef typename _Base_type::size_type size_type; | ^~~~~~~~~ /usr/include/c++/13/ext/alloc_traits.h:57:53: error: no type named 'difference_type' in '__gnu_cxx::__alloc_traits<std::allocator<long long int>, long long int>::_Base_type' {aka 'struct std::allocator_traits<std::allocator<long long int> >'} 57 | typedef typename _Base_type::difference_type difference_type; | ^~~~~~~~~~~~~~~ /usr/include/c++/13/ext/alloc_traits.h:65:23: error: 'max_size' has not been declared in '__gnu_cxx::__alloc_traits<std::allocator<long long int>, long long int>::_Base_type' 65 | using _Base_type::max_size; | ^~~~~~~~ /usr/include/c++/13/ext/alloc_traits.h: In instantiation of 'struct __gnu_cxx::__alloc_traits<std::allocator<std::vector<int> >, std::vector<int> >': /usr/include/c++/13/bits/stl_vector.h:88:21: required from 'struct std::_Vector_base<std::vector<int>, std::allocator<std::vector<int> > >' /usr/include/c++/13/bits/stl_vector.h:428:11: required from 'class std::vector<std::vector<int> >' /include/cpp/atcoder/dsu.hpp:47:44: required from here /usr/include/c++/13/ext/alloc_traits.h:56:53: error: no type named 'size_type' in '__gnu_cxx::__alloc_traits<std::allocator<std::vector<int> >, std::vector<int> >::_Base_type' {aka 'struct std::allocator_traits<std::allocator<std::vector<int> > >'} 56 | typedef typename _Base_type::size_type size_type; | ^~~~~~~~~ /usr/include/c++/13/ext/alloc_traits.h:57:53: error: no type named 'difference_type' in '__gnu_cxx::__alloc_traits<std::allocator<std::vector<int> >, std::vector<int> >::_Base_type' {aka 'struct std::allocator_traits<std::allocator<std::vector<int> > >'} 57 | typedef typename _Base_type::difference_type difference_type; | ^~~~~~~~~~~~~~~ /usr/include/c++/13/ext/alloc_traits.h:65:23: error: 'max_size' has not been declared in '__gnu_cxx::__alloc_traits<std::allocator<std::vector<int> >, std::vector<int> >::_Base_type' 65 | using _Base_type::max_size; | ^~~~~~~~ /usr/include/c++/13/ext/alloc_traits.h: In instantiation of 'struct __gnu_cxx::__alloc_traits<std::allocator<std::pair<int, int> >, std::pair<int, int> >': /usr/include/c++/13/bits/stl_vector.h:88:21: required from 'struct std::_Vector_base<std::pair<int, int>, std::allocator<std::pair<int, int> > >' /usr/include/c++/13/bits/stl_vector.h:428:11: required from 'class std::vector<std::pair<int, int> >' /include/cpp/atcoder/maxflow.hpp:145:38: required from here /usr/include/c++/13/ext/alloc_traits.h:56:53: error: no type named 'size_type' in '__gnu_cxx::__alloc_traits<std::allocator<std::pair<int, int> >, std::pair<int, int> >::_Base_type' {aka 'struct std::allocator_traits<std::allocator<std::pair<int, int> > >'} 56 | typedef typename _Base_type::size_type size_type; | ^~~~~~~~~ /usr/include/c++/13/ext/alloc_traits.h:57:53: error: no type named 'difference_type' in '__gnu_cxx::__alloc_traits<std::allocator<std::pair<int, int> >, std::pair<int, int> >::_Base_type' {aka 'struct std::allocator_traits<std::allocator<std::pair<int, int> > >'} 57 | typedef typename _Base_type::difference_type difference_type; | ^~~~~~~~~~~~~~~ /usr/include/c++/13/ext/alloc_traits.h:65:23: error: 'max_size' has not been declared in '__gnu_cxx::__alloc_traits<std::allocator<std::pair<int, int> >, std::pair<int, int> >::_Base_type' 65 | using _Base_type::max_size; | ^~~~~~~~ /usr/include/c++/13/ext/alloc_traits.h: In instantiation of 'struct __gnu_cxx::__alloc_traits<std::allocator<bool>, bool>': /usr/include/c++/13/bits/stl_bvector.h:529:34: required from 'struct std::_Bvector_base<std::allocator<bool> >' /usr/include/c++/13/bits/stl_bvector.h:740:11: required from 'class std::vector<bool>' /include/cpp/atcoder/maxflow.hpp:121:38: required from here /usr/include/c++/13/ext/alloc_traits.h:56:53: error: no type named 'size_type' in '__gnu_cxx::__alloc_traits<std::allocator<bool>, bool>::_Base_type' {aka 'struct std::allocator_traits<std::allocator<bool> >'} 56 | typedef typename _Base_type::size_type size_type; | ^~~~~~~~~ /usr/include/c++/13/ext/alloc_traits.h:57:53: error: no type named 'difference_type' in '__gnu_cxx::__alloc_traits<std::allocator<bool>, bool>::_Base_type' {aka 'struct std::allocator_traits<std::allocator<bool> >'} 57 | typedef typename _Base_type::difference_type difference_type; | ^~~~~~~~~~~~~~~ /usr/include/c++/13/ext/alloc_traits.h:65:23: error: 'max_size' has not been declared in '__gnu_cxx::__alloc_traits<std::allocator<bool>, bool>::_Base_type' 65 | using _Base_type::max_size; | ^~~~~~~~ /usr/include/c++/13/ext/alloc_traits.h: In instantiation of 'struct __gnu_cxx::__alloc_traits<std::allocator<std::pair<int, atcoder::internal::scc_graph::edge> >, std::pair<int, atcoder::internal::scc_graph::edge> >': /usr/include/c++/13/bits/stl_vector.h:88:21: required from 'struct std::_Vector_base<std::pair<int, atcoder::internal::scc_graph::edge>, std::allocator<std::pair<int, atcoder::internal::scc_graph::edge> > >' /usr/include/c++/13/bits/stl_vector.h:428:11: required from 'class std::vector<std::pair<int, atcoder::internal::scc_graph::edge> >' /include/cpp/atcoder/internal_scc.hpp:82:39: required from here /usr/include/c++/13/ext/alloc_traits.h:56:53: error: no type named 'size_type' in '__gnu_cxx::__alloc_traits<std::allocator<std::pair<int, atcoder::internal::scc_graph::edge> >, std::pair<int, atcoder::internal::scc_graph::edge> >::_Base_type' {aka 'struct std::allocator_traits<std::allocator<std::pair<int, atcoder::internal::scc_graph::edge> > >'} 56 | typedef typename _Base_type::size_type size_type; | ^~~~~~~~~ /usr/include/c++/13/ext/alloc_traits.h:57:53: error: no type named 'difference_type' in '__gnu_cxx::__alloc_traits<std::allocator<std::pair<int, atcoder::internal::scc_graph::edge> >, std::pair<int, atcoder::internal::scc_graph::edge> >::_Base_type' {aka 'struct std::allocator_traits<std::allocator<std::pair<int, atcoder::internal::scc_graph::edge> > >'} 57 | typedef typename _Base_type::difference_type difference_type; | ^~~~~~~~~~~~~~~ /usr/include/c++/13/ext/alloc_traits.h:65:23: error: 'max_size' has not been declared in '__gnu_cxx::__alloc_traits<std::allocator<std::pair<int, atcoder::internal::scc_graph::edge> >, std::pair<int, atcoder::internal::scc_graph::edge> >::_Base_type' 65 | using _Base_type::max_size; | ^~~~~~~~ /usr/include/c++/13/ext/alloc_traits.h: In instantiation of 'struct __gnu_cxx::__alloc_traits<std::allocator<atcoder::internal::scc_graph::edge>, atcoder::internal::scc_graph::edge>': /usr/include/c++/13/bits/stl_vector.h:88:21: required from 'struct std::_Vector_base<atcoder::internal::scc_graph::edge, std::allocator<atcoder::internal::scc_graph::edge> >' /usr/include/c++/13/bits/stl_vector.h:428:11: required from 'class std::vector<atcoder::internal::scc_graph::edge, std::allocator<atcoder::internal::scc_graph::edge> >' /include/cpp/atcoder/internal_csr.hpp:13:20: required from 'struct atcoder::internal::csr<atcoder::internal::scc_graph::edge>' /include/cpp/atcoder/internal_scc.hpp:26:37: required from here /usr/include/c++/13/ext/alloc_traits.h:56:53: error: no type named 'size_type' in '__gnu_cxx::__alloc_traits<std::allocator<atcoder::internal::scc_graph::edge>, atcoder::internal::scc_graph::edge>::_Base_type' {aka 'struct std::allocator_traits<std::allocator<atcoder::internal::scc_graph::edge> >'} 56 | typedef typename _Base_type::size_type size_type; | ^~~~~~~~~ /usr/include/c++/13/ext/alloc_traits.h:57:53: error: no type named 'difference_type' in '__gnu_cxx::__alloc_traits<std::allocator<atcoder::internal::scc_graph::edge>, atcoder::internal::scc_graph::edge>::_Base_type' {aka 'struct std::allocator_traits<std::allocator<atcoder::internal::scc_graph::edge> >'} 57 | typedef typename _Base_type::difference_type difference_type; | ^~~~~~~~~~~~~~~ /usr/include/c++/13/ext/alloc_traits.h:65:23: error: 'max_size' has not been declared in '__gnu_cxx::__alloc_traits<std::allocator<atcoder::internal::scc_graph::edge>, atcoder::internal::scc_graph::edge>::_Base_type' 65 | using _Base_type::max_size; | ^~~~~~~~ In file included from /include/cpp/atcoder/string:1, from /include/cpp/atcoder/all:11, from Main.cpp:11: /include/cpp/atcoder/string.hpp: In function 'std::vector<int> atcoder::suffix_array(const std::string&)': /include/cpp/atcoder/string.hpp:201:19: error: 'const std::string' {aka 'const class std::__cxx11::basic_string<char>'} has no member named 'size' 201 | int n = int(s.size()); | ^~~~ /include/cpp/atcoder/string.hpp:204:18: error: no match for 'operator[]' (operand types are 'const std::string' {aka 'const std::__cxx11::basic_string<char>'} and 'int') 204 | s2[i] = s[i]; | ^ /include/cpp/atcoder/string.hpp: In function 'std::vector<int> atcoder::lcp_array(const std::string&, const std::vector<int>&)': /include/cpp/atcoder/string.hpp:237:19: error: 'const std::string' {aka 'const class std::__cxx11::basic_string<char>'} has no member named 'size' 237 | int n = int(s.size()); | ^~~~ /include/cpp/atcoder/string.hpp:240:18: error: no match for 'operator[]' (operand types are 'const std::string' {aka 'const std::__cxx11::basic_string<char>'} and 'int') 240 | s2[i] = s[i]; | ^ /include/cpp/atcoder/string.hpp: In function 'std::vector<int> atcoder::z_algorithm(const std::string&)': /include/cpp/atcoder/string.hpp:265:19: error: 'const std::string' {aka 'const class std::__cxx11::basic_string<char>'} has no member named 'size' 265 | int n = int(s.size()); | ^~~~ /include/cpp/atcoder/string.hpp:268:18: error: no match for 'operator[]' (operand types are 'const std::string' {aka 'const std::__cxx11::basic_string<char>'} and 'int') 268 | s2[i] = s[i]; | ^ Main.cpp: At global scope: Main.cpp:48:1: error: 'I問の解説' does not name a type 48 | I問の解説 | ^~~~~~~~~ Main.cpp:69:3: error: ambiguating new declaration of 'P e()' 69 | P e(){ | ^ Main.cpp:19:4: note: old declaration 'll e()' 19 | ll e(){ | ^ Main.cpp:72:5: error: redefinition of 'int main()' 72 | int main(){ | ^~~~ Main.cpp:31:5: note: 'int main()' previously defined here 31 | int main(){ | ^~~~ Main.cpp: In function 'int main()': Main.cpp:75:23: error: unable to deduce 'auto' from 'op' 75 | segtree<P,op,e>seg(n); | ^ Main.cpp:75:23: note: couldn't deduce template parameter 'auto' Main.cpp:78:21: error: request for member 'set' in 'seg', which is of non-class type 'int' 78 | seg.set(i,P(a,b)); | ^~~ Main.cpp:84:25: error: request for member 'prod' in 'seg', which is of non-class type 'int' 84 | P p=seg.prod(l,r); | ^~~~ /usr/include/c++/13/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/include/c++/13/system_error:566:51: required from here /usr/include/c++/13/bits/basic_string.h:3676:36: error: no matching function for call to 'std::__cxx11::basic_string<char>::insert(int, const char*&)' 3676 | { return std::move(__rhs.insert(0, __lhs)); } | ~~~~~~~~~~~~^~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:1831: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>]' 1831 | insert(const_iterator __p, _InputIterator __beg, _InputIterator __end) | ^~~~~~ /usr/include/c++/13/bits/basic_string.h:1831:9: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/basic_string.h:3676:36: note: candidate expects 3 arguments, 2 provided 3676 | { return std::move(__rhs.insert(0, __lhs)); } | ~~~~~~~~~~~~^~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:1866: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]' 1866 | insert(const_iterator __p, initializer_list<_CharT> __l) | ^~~~~~ /usr/include/c++/13/bits/basic_string.h:1866:29: note: no known conversion for argument 1 from 'int' to 'std::__cxx11::basic_string<char>::const_iterator' 1866 | insert(const_iterator __p, initializer_list<_CharT> __l) | ~~~~~~~~~~~~~~~^~~ /usr/include/c++/13/bits/basic_string.h:2006: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]' 2006 | insert(__const_iterator __p, _CharT __c) | ^~~~~~ /usr/include/c++/13/bits/basic_string.h:2006:31: note: no known conversion for argument 1 from 'int' to 'std::__cxx11::basic_string<char>::__const_iterator' {aka 'std::__cxx11::basic_string<char>::const_iterator'} 2006 | insert(__const_iterator __p, _CharT __c) | ~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/13/bits/basic_string.h: In instantiation of 'constexpr std::__cxx11::basic_string<_CharT, _Traits, _Allocator> std::operator+(const __cxx11::basic_string<_CharT, _Traits, _Allocator>&, __cxx11::basic_string<_CharT, _Traits, _Allocator>&&) [with _CharT = char; _Traits = char_traits<char>; _Alloc = allocator<char>]': /usr/include/c++/13/system_error:566:52: required from here /usr/include/c++/13/bits/basic_string.h:3646:36: error: no matching function for call to 'std::__cxx11::basic_string<char>::insert(int, const std::__cxx11::basic_string<char>&)' 3646 | { return std::move(__rhs.insert(0, __lhs)); } | ~~~~~~~~~~~~^~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:1831: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>]' 1831 | insert(const_iterator __p, _InputIterator __beg, _InputIterator __end) | ^~~~~~ /usr/include/c++/13/bits/basic_string.h:1831:9: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/basic_string.h:3646:36: note: candidate expects 3 arguments, 2 provided 3646 | { return std::move(__rhs.insert(0, __lhs)); } | ~~~~~~~~~~~~^~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:1866: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]' 1866 | insert(const_iterator __p, initializer_list<_CharT> __l) | ^~~~~~ /usr/include/c++/13/bits/basic_string.h:1866:29: note: no known conversion for argument 1 from 'int' to 'std::__cxx11::basic_string<char>::const_iterator' 1866 | insert(const_iterator __p, initializer_list<_CharT> __l) | ~~~~~~~~~~~~~~~^~~ /usr/include/c++/13/bits/basic_string.h:2006: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]' 2006 | insert(__const_iterator __p, _CharT __c) | ^~~~~~ /usr/include/c++/13/bits/basic_string.h:2006:31: note: no known conversion for argument 1 from 'int' to 'std::__cxx11::basic_string<char>::__const_iterator' {aka 'std::__cxx11::basic_string<char>::const_iterator'} 2006 | insert(__const_iterator __p, _CharT __c) | ~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/13/bits/basic_string.h: In instantiation of 'constexpr bool std::operator==(const __cxx11::basic_string<_CharT, _Traits, _Allocator>&, const __cxx11::basic_string<_CharT, _Traits, _Allocator>&) [with _CharT = char; _Traits = char_traits<char>; _Alloc = allocator<char>]': /usr/include/c++/13/chrono:2698:35: required from here /usr/include/c++/13/bits/basic_string.h:3714:20: error: 'const class std::__cxx11::basic_string<char>' has no member named 'size' 3714 | return __lhs.size() == __rhs.size() | ~~~~~~^~~~ /usr/include/c++/13/bits/basic_string.h:3714:36: error: 'const class std::__cxx11::basic_string<char>' has no member named 'size' 3714 | return __lhs.size() == __rhs.size() | ~~~~~~^~~~ /usr/include/c++/13/bits/basic_string.h:3715:71: error: 'const class std::__cxx11::basic_string<char>' has no member named 'size' 3715 | && !_Traits::compare(__lhs.data(), __rhs.data(), __lhs.size()); | ~~~~~~^~~~ In file included from /usr/include/c++/13/exception:164, from /usr/include/c++/13/optional:38, from /usr/include/c++/13/bits/ranges_algo.h:36: /usr/include/c++/13/bits/exception_ptr.h: In instantiation of 'std::__exception_ptr::exception_ptr std::make_exception_ptr(_Ex) [with _Ex = future_error]': /usr/include/c++/13/future:465:26: required from here /usr/include/c++/13/bits/exception_ptr.h:259:11: error: no matching function for call to 'operator new(sizetype, void*&)' 259 | ::new (__e) _Ex2(__ex); | ^~~~~~~~~~~~~~~~~~~~~~ <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/include/c++/13/bits/fs_path.h: In instantiation of 'std::__cxx11::basic_string<_CharT, _Traits, _Allocator> std::filesystem::__cxx11::path::string(const _Allocator&) const [with _CharT = char; _Traits = std::char_traits<char>; _Allocator = std::allocator<char>]': /usr/include/c++/13/bits/fs_path.h:1170:45: required from here /usr/include/c++/13/bits/fs_path.h:1164:65: error: could not convert '{((const std::filesystem::__cxx11::path*)this)->std::filesystem::__cxx11::path::_M_pathname.std::__cxx11::basic_string<char>::c_str(), <expression error>, __a}' from '<brace-enclosed initializer list>' to 'std::__cxx11::basic_string<char>' 1164 | return { _M_pathname.c_str(), _M_pathname.length(), __a }; | ^ | | | <brace-enclosed initializer list> /usr/include/c++/13/bits/fs_path.h: In instantiation of 'std::__cxx11::basic_string<_CharT, _Traits, _Allocator> std::filesystem::__cxx11::path::generic_string(const _Allocator&) const [with _CharT = char; _Traits = std::char_traits<char>; _Allocator = std::allocator<char>]': /usr/include/c++/13/bits/fs_path.h:1248:32: required from here /usr/include/c++/13/bits/fs_path.h:1219:21: error: no matching function for call to 'std::__cxx11::basic_string<char>::assign(int, const std::filesystem::__cxx11::path::value_type&)' 1219 | __str.assign(1, __slash); | ~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:1718:9: note: candidate: 'template<class _InputIterator, class> constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>& std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::assign(_InputIterator, _InputIterator) [with <template-parameter-2-2> = _InputIterator; _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]' 1718 | assign(_InputIterator __first, _InputIterator __last) | ^~~~~~ /usr/include/c++/13/bits/basic_string.h:1718:9: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/fs_path.h:1219:21: note: deduced conflicting types for parameter '_InputIterator' ('int' and 'char') 1219 | __str.assign(1, __slash); | ~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:1742:9: note: candidate: 'template<class _Tp> constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::_If_sv<_Tp, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&> std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::assign(const _Tp&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]' 1742 | assign(const _Tp& __svt) | ^~~~~~ /usr/include/c++/13/bits/basic_string.h:1742:9: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/fs_path.h:1219:21: note: candidate expects 1 argument, 2 provided 1219 | __str.assign(1, __slash); | ~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:1577:7: note: candidate: 'constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>& std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::assign(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]' 1577 | assign(const basic_string& __str) | ^~~~~~ /usr/include/c++/13/bits/basic_string.h:1577:7: note: candidate expects 1 argument, 2 provided /usr/include/c++/13/bits/basic_string.h:1623:7: note: candidate: 'constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>& std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::assign(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]' 1623 | assign(basic_string&& __str) | ^~~~~~ /usr/include/c++/13/bits/basic_string.h:1623:7: note: candidate expects 1 argument, 2 provided /usr/include/c++/13/bits/basic_string.h:1681:7: note: candidate: 'constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>& std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::assign(const _CharT*) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]' 1681 | assign(const _CharT* __s) | ^~~~~~ /usr/include/c++/13/bits/basic_string.h:1681:7: note: candidate expects 1 argument, 2 provided /usr/include/c++/13/bits/basic_string.h:1729:7: note: candidate: 'constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>& std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::assign(std::initializer_list<_Tp>) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]' 1729 | assign(initializer_list<_CharT> __l) | ^~~~~~ /usr/include/c++/13/bits/basic_string.h:1729:7: note: candidate expects 1 argument, 2 provided /usr/include/c++/13/bits/fs_path.h: In instantiation of 'std::__cxx11::basic_string<_CharT, _Traits, _Allocator> std::filesystem::__cxx11::path::generic_string(const _Allocator&) const [with _CharT = wchar_t; _Traits = std::char_traits<wchar_t>; _Allocator = std::allocator<wchar_t>]': /usr/include/c++/13/bits/fs_path.h:1253:35: required from here /usr/include/c++/13/bits/fs_path.h:1219:21: error: no matching function for call to 'std::__cxx11::basic_string<char>::assign(int, const std::filesystem::__cxx11::path::value_type&)' 1219 | __str.assign(1, __slash); | ~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:1718:9: note: candidate: 'template<class _InputIterator, class> constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>& std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::assign(_InputIterator, _InputIterator) [with <template-parameter-2-2> = _InputIterator; _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]' 1718 | assign(_InputIterator __first, _InputIterator __last) | ^~~~~~ /usr/include/c++/13/bits/basic_string.h:1718:9: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/fs_path.h:1219:21: note: deduced conflicting types for parameter '_InputIterator' ('int' and 'char') 1219 | __str.assign(1, __slash); | ~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:1742:9: note: candidate: 'template<class _Tp> constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::_If_sv<_Tp, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&> std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::assign(const _Tp&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]' 1742 | assign(const _Tp& __svt) | ^~~~~~ /usr/include/c++/13/bits/basic_string.h:1742:9: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/fs_path.h:1219:21: note: candidate expects 1 argument, 2 provided 1219 | __str.assign(1, __slash); | ~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:1577:7: note: candidate: 'constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>& std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::assign(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]' 1577 | assign(const basic_string& __str) | ^~~~~~ /usr/include/c++/13/bits/basic_string.h:1577:7: note: candidate expects 1 argument, 2 provided /usr/include/c++/13/bits/basic_string.h:1623:7: note: candidate: 'constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>& std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::assign(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]' 1623 | assign(basic_string&& __str) | ^~~~~~ /usr/include/c++/13/bits/basic_string.h:1623:7: note: candidate expects 1 argument, 2 provided /usr/include/c++/13/bits/basic_string.h:1681:7: note: candidate: 'constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>& std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::assign(const _CharT*) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]' 1681 | assign(const _CharT* __s) | ^~~~~~ /usr/include/c++/13/bits/basic_string.h:1681:7: note: candidate expects 1 argument, 2 provided /usr/include/c++/13/bits/basic_string.h:1729:7: note: candidate: 'constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>& std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::assign(std::initializer_list<_Tp>) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]' 1729 | assign(initializer_list<_CharT> __l) | ^~~~~~ /usr/include/c++/13/bits/basic_string.h:1729:7: note: candidate expects 1 argument, 2 provided /usr/include/c++/13/bits/fs_path.h: In instantiation of 'std::__cxx11::basic_string<_CharT, _Traits, _Allocator> std::filesystem::__cxx11::path::generic_string(const _Allocator&) const [with _CharT = char8_t; _Traits = std::char_traits<char8_t>; _Allocator = std::allocator<char8_t>]': /usr/include/c++/13/bits/fs_path.h:1259:35: required from here /usr/include/c++/13/bits/fs_path.h:1219:21: error: no matching function for call to 'std::__cxx11::basic_string<char>::assign(int, const std::filesystem::__cxx11::path::value_type&)' 1219 | __str.assign(1, __slash); | ~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:1718:9: note: candidate: 'template<class _InputIterator, class> constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>& std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::assign(_InputIterator, _InputIterator) [with <template-parameter-2-2> = _InputIterator; _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]' 1718 | assign(_InputIterator __first, _InputIterator __last) | ^~~~~~ /usr/include/c++/13/bits/basic_string.h:1718:9: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/fs_path.h:1219:21: note: deduced conflicting types for parameter '_InputIterator' ('int' and 'char') 1219 | __str.assign(1, __slash); | ~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:1742:9: note: candidate: 'template<class _Tp> constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::_If_sv<_Tp, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&> std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::assign(const _Tp&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]' 1742 | assign(const _Tp& __svt) | ^~~~~~ /usr/include/c++/13/bits/basic_string.h:1742:9: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/fs_path.h:1219:21: note: candidate expects 1 argument, 2 provided 1219 | __str.assign(1, __slash); | ~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:1577:7: note: candidate: 'constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>& std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::assign(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]' 1577 | assign(const basic_string& __str) | ^~~~~~ /usr/include/c++/13/bits/basic_string.h:1577:7: note: candidate expects 1 argument, 2 provided /usr/include/c++/13/bits/basic_string.h:1623:7: note: candidate: 'constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>& std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::assign(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]' 1623 | assign(basic_string&& __str) | ^~~~~~ /usr/include/c++/13/bits/basic_string.h:1623:7: note: candidate expects 1 argument, 2 provided /usr/include/c++/13/bits/basic_string.h:1681:7: note: candidate: 'constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>& std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::assign(const _CharT*) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]' 1681 | assign(const _CharT* __s) | ^~~~~~ /usr/include/c++/13/bits/basic_string.h:1681:7: note: candidate expects 1 argument, 2 provided /usr/include/c++/13/bits/basic_string.h:1729:7: note: candidate: 'constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>& std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::assign(std::initializer_list<_Tp>) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]' 1729 | assign(initializer_list<_CharT> __l) | ^~~~~~ /usr/include/c++/13/bits/basic_string.h:1729:7: note: candidate expects 1 argument, 2 provided /usr/include/c++/13/bits/fs_path.h: In instantiation of 'std::__cxx11::basic_string<_CharT, _Traits, _Allocator> std::filesystem::__cxx11::path::generic_string(const _Allocator&) const [with _CharT = char16_t; _Traits = std::char_traits<char16_t>; _Allocator = std::allocator<char16_t>]': /usr/include/c++/13/bits/fs_path.h:1268:36: required from here /usr/include/c++/13/bits/fs_path.h:1219:21: error: no matching function for call to 'std::__cxx11::basic_string<char>::assign(int, const std::filesystem::__cxx11::path::value_type&)' 1219 | __str.assign(1, __slash); | ~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:1718:9: note: candidate: 'template<class _InputIterator, class> constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>& std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::assign(_InputIterator, _InputIterator) [with <template-parameter-2-2> = _InputIterator; _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]' 1718 | assign(_InputIterator __first, _InputIterator __last) | ^~~~~~ /usr/include/c++/13/bits/basic_string.h:1718:9: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/fs_path.h:1219:21: note: deduced conflicting types for parameter '_InputIterator' ('int' and 'char') 1219 | __str.assign(1, __slash); | ~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:1742:9: note: candidate: 'template<class _Tp> constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::_If_sv<_Tp, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&> std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::assign(const _Tp&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]' 1742 | assign(const _Tp& __svt) | ^~~~~~ /usr/include/c++/13/bits/basic_string.h:1742:9: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/fs_path.h:1219:21: note: candidate expects 1 argument, 2 provided 1219 | __str.assign(1, __slash); | ~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:1577:7: note: candidate: 'constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>& std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::assign(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]' 1577 | assign(const basic_string& __str) | ^~~~~~ /usr/include/c++/13/bits/basic_string.h:1577:7: note: candidate expects 1 argument, 2 provided /usr/include/c++/13/bits/basic_string.h:1623:7: note: candidate: 'constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>& std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::assign(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]' 1623 | assign(basic_string&& __str) | ^~~~~~ /usr/include/c++/13/bits/basic_string.h:1623:7: note: candidate expects 1 argument, 2 provided /usr/include/c++/13/bits/basic_string.h:1681:7: note: candidate: 'constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>& std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::assign(const _CharT*) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]' 1681 | assign(const _CharT* __s) | ^~~~~~ /usr/include/c++/13/bits/basic_string.h:1681:7: note: candidate expects 1 argument, 2 provided /usr/include/c++/13/bits/basic_string.h:1729:7: note: candidate: 'constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>& std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::assign(std::initializer_list<_Tp>) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]' 1729 | assign(initializer_list<_CharT> __l) | ^~~~~~ /usr/include/c++/13/bits/basic_string.h:1729:7: note: candidate expects 1 argument, 2 provided /usr/include/c++/13/bits/fs_path.h: In instantiation of 'std::__cxx11::basic_string<_CharT, _Traits, _Allocator> std::filesystem::__cxx11::path::generic_string(const _Allocator&) const [with _CharT = char32_t; _Traits = std::char_traits<char32_t>; _Allocator = std::allocator<char32_t>]': /usr/include/c++/13/bits/fs_path.h:1272:36: required from here /usr/include/c++/13/bits/fs_path.h:1219:21: error: no matching function for call to 'std::__cxx11::basic_string<char>::assign(int, const std::filesystem::__cxx11::path::value_type&)' 1219 | __str.assign(1, __slash); | ~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:1718:9: note: candidate: 'template<class _InputIterator, class> constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>& std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::assign(_InputIterator, _InputIterator) [with <template-parameter-2-2> = _InputIterator; _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]' 1718 | assign(_InputIterator __first, _InputIterator __last) | ^~~~~~ /usr/include/c++/13/bits/basic_string.h:1718:9: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/fs_path.h:1219:21: note: deduced conflicting types for parameter '_InputIterator' ('int' and 'char') 1219 | __str.assign(1, __slash); | ~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:1742:9: note: candidate: 'template<class _Tp> constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::_If_sv<_Tp, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&> std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::assign(const _Tp&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]' 1742 | assign(const _Tp& __svt) | ^~~~~~ /usr/include/c++/13/bits/basic_string.h:1742:9: note: template argument deduction/substitution failed: /usr/include/c++/13/bits/fs_path.h:1219:21: note: candidate expects 1 argument, 2 provided 1219 | __str.assign(1, __slash); | ~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:1577:7: note: candidate: 'constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>& std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::assign(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]' 1577 | assign(const basic_string& __str) | ^~~~~~ /usr/include/c++/13/bits/basic_string.h:1577:7: note: candidate expects 1 argument, 2 provided /usr/include/c++/13/bits/basic_string.h:1623:7: note: candidate: 'constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>& std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::assign(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]' 1623 | assign(basic_string&& __str) | ^~~~~~ /usr/include/c++/13/bits/basic_string.h:1623:7: note: candidate expects 1 argument, 2 provided /usr/include/c++/13/bits/basic_string.h:1681:7: note: candidate: 'constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>& std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::assign(const _CharT*) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]' 1681 | assign(const _CharT* __s) | ^~~~~~ /usr/include/c++/13/bits/basic_string.h:1681:7: note: candidate expects 1 argument, 2 provided /usr/include/c++/13/bits/basic_string.h:1729:7: note: candidate: 'constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>& std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::assign(std::initializer_list<_Tp>) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]' 1729 | assign(initializer_list<_CharT> __l) | ^~~~~~ /usr/include/c++/13/bits/basic_string.h:1729:7: note: candidate expects 1 argument, 2 provided /usr/include/c++/13/bits/basic_string.h: In instantiation of 'std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const __cxx11::basic_string<_CharT, _Traits, _Allocator>&) [with _CharT = char; _Traits = char_traits<char>; _Alloc = allocator<char>]': /usr/include/c++/13/stacktrace:743:10: required from here /usr/include/c++/13/bits/basic_string.h:4037:57: error: 'const class std::__cxx11::basic_string<char>' has no member named 'size' 4037 | return __ostream_insert(__os, __str.data(), __str.size()); | ~~~~~~^~~~ /usr/include/c++/13/ext/alloc_traits.h: In instantiation of 'struct __gnu_cxx::__alloc_traits<std::allocator<atcoder::static_modint<754974721, 0> >, atcoder::static_modint<754974721, 0> >': /usr/include/c++/13/bits/stl_vector.h:88:21: required from 'struct std::_Vector_base<atcoder::static_modint<754974721, 0>, std::allocator<atcoder::static_modint<754974721, 0> > >' /usr/include/c++/13/bits/stl_vector.h:428:11: required from 'class std::vector<atcoder::static_modint<754974721, 0>, std::allocator<atcoder::static_modint<754974721, 0> > >' /include/cpp/atcoder/convolution.hpp:254:23: required from 'std::vector<_ValT> atcoder::convolution(const std::vector<_ValT>&, const std::vector<_ValT>&) [with unsigned int mod = 754974721; T = long long int; std::enable_if_t<typename std::conditional<((std::is_integral<_Size>::value || typename std::conditional<(std::is_same<T, __int128>::value || std::is_same<T, __int128>::value), std::integral_constant<bool, true>, std::integral_constant<bool, false> >::type::value) || typename std::conditional<(std::is_same<T, __int128 unsigned>::value || std::is_same<T, __int128 unsigned>::value), std::integral_constant<bool, true>, std::integral_constant<bool, false> >::type::value), std::integral_constant<bool, true>, std::integral_constant<bool, false> >::type::value>* <anonymous> = 0]' /include/cpp/atcoder/convolution.hpp:295:32: required from here /usr/include/c++/13/ext/alloc_traits.h:56:53: error: no type named 'size_type' in '__gnu_cxx::__alloc_traits<std::allocator<atcoder::static_modint<754974721, 0> >, atcoder::static_modint<754974721, 0> >::_Base_type' {aka 'struct std::allocator_traits<std::allocator<atcoder::static_modint<754974721, 0> > >'} 56 | typedef typename _Base_type::size_type size_type; | ^~~~~~~~~ /usr/include/c++/13/ext/alloc_traits.h:57:53: error: no type named 'difference_type' in '__gnu_cxx::__alloc_traits<std::allocator<atcoder::static_modint<754974721, 0> >, atcoder::static_modint<754974721, 0> >::_Base_type' {aka 'struct std::allocator_traits<std::allocator<atcoder::static_modint<754974721, 0> > >'} 57 | typedef typename _Base_type::difference_type difference_type; | ^~~~~~~~~~~~~~~ /usr/include/c++/13/ext/alloc_traits.h:65:23: error: 'max_size' has not been declared in '__gnu_cxx::__alloc_traits<std::allocator<atcoder::static_modint<754974721, 0> >, atcoder::static_modint<754974721, 0> >::_Base_type' 65 | using _Base_type::max_size; | ^~~~~~~~ /usr/include/c++/13/ext/alloc_traits.h: In instantiation of 'struct __gnu_cxx::__alloc_traits<std::allocator<atcoder::static_modint<167772161, 0> >, atcoder::static_modint<167772161, 0> >': /usr/include/c++/13/bits/stl_vector.h:88:21: required from 'struct std::_Vector_base<atcoder::static_modint<167772161, 0>, std::allocator<atcoder::static_modint<167772161, 0> > >' /usr/include/c++/13/bits/stl_vector.h:428:11: required from 'class std::vector<atcoder::static_modint<167772161, 0>, std::allocator<atcoder::static_modint<167772161, 0> > >' /include/cpp/atcoder/convolution.hpp:254:23: required from 'std::vector<_ValT> atcoder::convolution(const std::vector<_ValT>&, const std::vector<_ValT>&) [with unsigned int mod = 167772161; T = long long int; std::enable_if_t<typename std::conditional<((std::is_integral<_Size>::value || typename std::conditional<(std::is_same<T, __int128>::value || std::is_same<T, __int128>::value), std::integral_constant<bool, true>, std::integral_constant<bool, false> >::type::value) || typename std::conditional<(std::is_same<T, __int128 unsigned>::value || std::is_same<T, __int128 unsigned>::value), std::integral_constant<bool, true>, std::integral_constant<bool, false> >::type::value), std::integral_constant<bool, true>, std::integral_constant<bool, false> >::type::value>* <anonymous> = 0]' /include/cpp/atcoder/convolution.hpp:296:32: required from here /usr/include/c++/13/ext/alloc_traits.h:56:53: error: no type named 'size_type' in '__gnu_cxx::__alloc_traits<std::allocator<atcoder::static_modint<167772161, 0> >, atcoder::static_modint<167772161, 0> >::_Base_type' {aka 'struct std::allocator_traits<std::allocator<atcoder::static_modint<167772161, 0> > >'} 56 | typedef typename _Base_type::size_type size_type; | ^~~~~~~~~ /usr/include/c++/13/ext/alloc_traits.h:57:53: error: no type named 'difference_type' in '__gnu_cxx::__alloc_traits<std::allocator<atcoder::static_modint<167772161, 0> >, atcoder::static_modint<167772161, 0> >::_Base_type' {aka 'struct std::allocator_traits<std::allocator<atcoder::static_modint<167772161, 0> > >'} 57 | typedef typename _Base_type::difference_type difference_type; | ^~~~~~~~~~~~~~~ /usr/include/c++/13/ext/alloc_traits.h:65:23: error: 'max_size' has not been declared in '__gnu_cxx::__alloc_traits<std::allocator<atcoder::static_modint<167772161, 0> >, atcoder::static_modint<167772161, 0> >::_Base_type' 65 | using _Base_type::max_size; | ^~~~~~~~ /usr/include/c++/13/ext/alloc_traits.h: In instantiation of 'struct __gnu_cxx::__alloc_traits<std::allocator<atcoder::static_modint<469762049, 0> >, atcoder::static_modint<469762049, 0> >': /usr/include/c++/13/bits/stl_vector.h:88:21: required from 'struct std::_Vector_base<atcoder::static_modint<469762049, 0>, std::allocator<atcoder::static_modint<469762049, 0> > >' /usr/include/c++/13/bits/stl_vector.h:428:11: required from 'class std::vector<atcoder::static_modint<469762049, 0>, std::allocator<atcoder::static_modint<469762049, 0> > >' /include/cpp/atcoder/convolution.hpp:254:23: required from 'std::vector<_ValT> atcoder::convolution(const std::vector<_ValT>&, const std::vector<_ValT>&) [with unsigned int mod = 469762049; T = long long int; std::enable_if_t<typename std::conditional<((std::is_integral<_Size>::value || typename std::conditional<(std::is_same<T, __int128>::value || std::is_same<T, __int128>::value), std::integral_constant<bool, true>, std::integral_constant<bool, false> >::type::value) || typename std::conditional<(std::is_same<T, __int128 unsigned>::value || std::is_same<T, __int128 unsigned>::value), std::integral_constant<bool, true>, std::integral_constant<bool, false> >::type::value), std::integral_constant<bool, true>, std::integral_constant<bool, false> >::type::value>* <anonymous> = 0]' /include/cpp/atcoder/convolution.hpp:297:32: required from here /usr/include/c++/13/ext/alloc_traits.h:56:53: error: no type named 'size_type' in '__gnu_cxx::__alloc_traits<std::allocator<atcoder::static_modint<469762049, 0> >, atcoder::static_modint<469762049, 0> >::_Base_type' {aka 'struct std::allocator_traits<std::allocator<atcoder::static_modint<469762049, 0> > >'} 56 | typedef typename _Base_type::size_type size_type; | ^~~~~~~~~ /usr/include/c++/13/ext/alloc_traits.h:57:53: error: no type named 'difference_type' in '__gnu_cxx::__alloc_traits<std::allocator<atcoder::static_modint<469762049, 0> >, atcoder::static_modint<469762049, 0> >::_Base_type' {aka 'struct std::allocator_traits<std::allocator<atcoder::static_modint<469762049, 0> > >'} 57 | typedef typename _Base_type::difference_type difference_type; | ^~~~~~~~~~~~~~~ /usr/include/c++/13/ext/alloc_traits.h:65:23: error: 'max_size' has not been declared in '__gnu_cxx::__alloc_traits<std::allocator<atcoder::static_modint<469762049, 0> >, atcoder::static_modint<469762049, 0> >::_Base_type' 65 | using _Base_type::max_size; | ^~~~~~~~ /usr/include/c++/13/bits/char_traits.h: In instantiation of 'static constexpr void __gnu_cxx::char_traits<_CharT>::assign(char_type&, const char_type&) [with _CharT = char; char_type = char]': /usr/include/c++/13/bits/char_traits.h:237:11: required from 'static constexpr __gnu_cxx::char_traits<_CharT>::char_type* __gnu_cxx::char_traits<_CharT>::move(char_type*, const char_type*, int) [with _CharT = char; char_type = char]' /usr/include/c++/13/bits/char_traits.h:421:50: required from here /usr/include/c++/13/bits/char_traits.h:129:28: error: no matching function for call to 'construct_at(__gnu_cxx::char_traits<char>::char_type*, const __gnu_cxx::char_traits<char>::char_type&)' 129 | std::construct_at(__builtin_addressof(__c1), __c2); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/13/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/include/c++/13/bits/stl_construct.h:94:5: note: template argument deduction/substitution failed: /usr/include/c++/13/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/include/c++/13/bits/char_traits.h:129:21: required from 'static constexpr void __gnu_cxx::char_traits<_CharT>::assign(char_type&, const char_type&) [with _CharT = char; char_type = char]' /usr/include/c++/13/bits/char_traits.h:237:11: required from 'static constexpr __gnu_cxx::char_traits<_CharT>::char_type* __gnu_cxx::char_traits<_CharT>::move(char_type*, const char_type*, int) [with _CharT = char; char_type = char]' /usr/include/c++/13/bits/char_traits.h:421:50: required from here /usr/include/c++/13/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/include/c++/13/bits/char_traits.h: In instantiation of 'static constexpr void __gnu_cxx::char_traits<_CharT>::assign(char_type&, const char_type&) [with _CharT = wchar_t; char_type = wchar_t]': /usr/include/c++/13/bits/char_traits.h:237:11: required from 'static constexpr __gnu_cxx::char_traits<_CharT>::char_type* __gnu_cxx::char_traits<_CharT>::move(char_type*, const char_type*, int) [with _CharT = wchar_t; char_type = wchar_t]' /usr/include/c++/13/bits/char_traits.h:552:50: required from here /usr/include/c++/13/bits/char_traits.h:129:28: error: no matching function for call to 'construct_at(__gnu_cxx::char_traits<wchar_t>::char_type*, const __gnu_cxx::char_traits<wchar_t>::char_type&)' 129 | std::construct_at(__builtin_addressof(__c1), __c2); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/13/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/include/c++/13/bits/stl_construct.h:94:5: note: template argument deduction/substitution failed: /usr/include/c++/13/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/include/c++/13/bits/char_traits.h:129:21: required from 'static constexpr void __gnu_cxx::char_traits<_CharT>::assign(char_type&, const char_type&) [with _CharT = wchar_t; char_type = wchar_t]' /usr/include/c++/13/bits/char_traits.h:237:11: required from 'static constexpr __gnu_cxx::char_traits<_CharT>::char_type* __gnu_cxx::char_traits<_CharT>::move(char_type*, const char_type*, int) [with _CharT = wchar_t; char_type = wchar_t]' /usr/include/c++/13/bits/char_traits.h:552:50: required from here /usr/include/c++/13/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/include/c++/13/bits/char_traits.h: In instantiation of 'static constexpr void __gnu_cxx::char_traits<_CharT>::assign(char_type&, const char_type&) [with _CharT = char8_t; char_type = char8_t]': /usr/include/c++/13/bits/char_traits.h:237:11: required from 'static constexpr __gnu_cxx::char_traits<_CharT>::char_type* __gnu_cxx::char_traits<_CharT>::move(char_type*, const char_type*, int) [with _CharT = char8_t; char_type = char8_t]' /usr/include/c++/13/bits/char_traits.h:687:50: required from here /usr/include/c++/13/bits/char_traits.h:129:28: error: no matching function for call to 'construct_at(__gnu_cxx::char_traits<char8_t>::char_type*, const __gnu_cxx::char_traits<char8_t>::char_type&)' 129 | std::construct_at(__builtin_addressof(__c1), __c2); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/13/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/include/c++/13/bits/stl_construct.h:94:5: note: template argument deduction/substitution failed: /usr/include/c++/13/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/include/c++/13/bits/char_traits.h:129:21: required from 'static constexpr void __gnu_cxx::char_traits<_CharT>::assign(char_type&, const char_type&) [with _CharT = char8_t; char_type = char8_t]' /usr/include/c++/13/bits/char_traits.h:237:11: required from 'static constexpr __gnu_cxx::char_traits<_CharT>::char_type* __gnu_cxx::char_traits<_CharT>::move(char_type*, const char_type*, int) [with _CharT = char8_t; char_type = char8_t]' /usr/include/c++/13/bits/char_traits.h:687:50: required from here /usr/include/c++/13/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/include/c++/13/bits/char_traits.h: In instantiation of 'static constexpr void __gnu_cxx::char_traits<_CharT>::assign(char_type&, const char_type&) [with _CharT = char16_t; char_type = char16_t]': /usr/include/c++/13/bits/char_traits.h:237:11: required from 'static constexpr __gnu_cxx::char_traits<_CharT>::char_type* __gnu_cxx::char_traits<_CharT>::move(char_type*, const char_type*, int) [with _CharT = char16_t; char_type = char16_t]' /usr/include/c++/13/bits/char_traits.h:824:50: required from here /usr/include/c++/13/bits/char_traits.h:129:28: error: no matching function for call to 'construct_at(__gnu_cxx::char_traits<char16_t>::char_type*, const __gnu_cxx::char_traits<char16_t>::char_type&)' 129 | std::construct_at(__builtin_addressof(__c1), __c2); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/13/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/include/c++/13/bits/stl_construct.h:94:5: note: template argument deduction/substitution failed: /usr/include/c++/13/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/include/c++/13/bits/char_traits.h:129:21: required from 'static constexpr void __gnu_cxx::char_traits<_CharT>::assign(char_type&, const char_type&) [with _CharT = char16_t; char_type = char16_t]' /usr/include/c++/13/bits/char_traits.h:237:11: required from 'static constexpr __gnu_cxx::char_traits<_CharT>::char_type* __gnu_cxx::char_traits<_CharT>::move(char_type*, const char_type*, int) [with _CharT = char16_t; char_type = char16_t]' /usr/include/c++/13/bits/char_traits.h:824:50: required from here /usr/include/c++/13/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/include/c++/13/bits/char_traits.h: In instantiation of 'static constexpr void __gnu_cxx::char_traits<_CharT>::assign(char_type&, const char_type&) [with _CharT = char32_t; char_type = char32_t]': /usr/include/c++/13/bits/char_traits.h:237:11: required from 'static constexpr __gnu_cxx::char_traits<_CharT>::char_type* __gnu_cxx::char_traits<_CharT>::move(char_type*, const char_type*, int) [with _CharT = char32_t; char_type = char32_t]' /usr/include/c++/13/bits/char_traits.h:953:50: required from here /usr/include/c++/13/bits/char_traits.h:129:28: error: no matching function for call to 'construct_at(__gnu_cxx::char_traits<char32_t>::char_type*, const __gnu_cxx::char_traits<char32_t>::char_type&)' 129 | std::construct_at(__builtin_addressof(__c1), __c2); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/13/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/include/c++/13/bits/stl_construct.h:94:5: note: template argument deduction/substitution failed: /usr/include/c++/13/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/include/c++/13/bits/char_traits.h:129:21: required from 'static constexpr void __gnu_cxx::char_traits<_CharT>::assign(char_type&, const char_type&) [with _CharT = char32_t; char_type = char32_t]' /usr/include/c++/13/bits/char_traits.h:237:11: required from 'static constexpr __gnu_cxx::char_traits<_CharT>::char_type* __gnu_cxx::char_traits<_CharT>::move(char_type*, const char_type*, int) [with _CharT = char32_t; char_type = char32_t]' /usr/include/c++/13/bits/char_traits.h:953:50: required from here /usr/include/c++/13/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/include/c++/13/format: In instantiation of 'void std::__format::_Seq_sink<_Seq>::_M_overflow() [with _Seq = std::__cxx11::basic_string<char>]': /usr/include/c++/13/format:2539:15: required from '_Seq std::__format::_Seq_sink<_Seq>::get() && [with _Seq = std::__cxx11::basic_string<char>]' /usr/include/c++/13/format:3788:32: required from here /usr/include/c++/13/format:2515:24: error: no matching function for call to 'std::__cxx11::basic_string<char>::append(std::span<char, 18446744073709551615>::pointer, std::span<char, 18446744073709551615>::size_type)' 2515 | _M_seq.append(__s.data(), __s.size()); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:1518:9: note: candidate: 'template<class _InputIterator, class> constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>& std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::append(_InputIterator, _InputIterator) [with <template-parameter-2-2> = _InputIterator; _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]' 1518 | append(_InputIterator __first, _InputIterator __last) | ^~~~~~ /usr/include/c++/13/bits/basic_string.h:1518:9: note: template argument deduction/substitution failed: /usr/include/c++/13/format:2515:24: note: deduced conflicting types for parameter '_InputIterator' ('char*' and 'long unsigned int') 2515 | _M_seq.append(__s.data(), __s.size()); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:1530:9: note: candidate: 'template<class _Tp> constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::_If_sv<_Tp, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&> std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::append(const _Tp&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]' 1530 | append(const _Tp& __svt) | ^~~~~~ /usr/include/c++/13/bits/basic_string.h:1530:9: note: template argument deduction/substitution failed: /usr/include/c++/13/format:2515:24: note: candidate expects 1 argument, 2 provided 2515 | _M_seq.append(__s.data(), __s.size()); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:1424:7: note: candidate: 'constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>& std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::append(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]' 1424 | append(const basic_string& __str) | ^~~~~~ /usr/include/c++/13/bits/basic_string.h:1424:7: note: candidate expects 1 argument, 2 provided /usr/include/c++/13/bits/basic_string.h:1469:7: note: candidate: 'constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>& std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::append(const _CharT*) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]' 1469 | append(const _CharT* __s) | ^~~~~~ /usr/include/c++/13/bits/basic_string.h:1469:7: note: candidate expects 1 argument, 2 provided /usr/include/c++/13/bits/basic_string.h:1498:7: note: candidate: 'constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>& std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::append(std::initializer_list<_Tp>) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]' 1498 | append(initializer_list<_CharT> __l) | ^~~~~~ /usr/include/c++/13/bits/basic_string.h:1498:7: note: candidate expects 1 argument, 2 provided /usr/include/c++/13/format: In instantiation of 'void std::__format::_Seq_sink<_Seq>::_M_overflow() [with _Seq = std::__cxx11::basic_string<wchar_t>]': /usr/include/c++/13/format:2539:15: required from '_Seq std::__format::_Seq_sink<_Seq>::get() && [with _Seq = std::__cxx11::basic_string<wchar_t>]' /usr/include/c++/13/format:3797:32: required from here /usr/include/c++/13/format:2515:24: error: no matching function for call to 'std::__cxx11::basic_string<wchar_t>::append(std::span<wchar_t, 18446744073709551615>::pointer, std::span<wchar_t, 18446744073709551615>::size_type)' 2515 | _M_seq.append(__s.data(), __s.size()); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:1518:9: note: candidate: 'template<class _InputIterator, class> constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>& std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::append(_InputIterator, _InputIterator) [with <template-parameter-2-2> = _InputIterator; _CharT = wchar_t; _Traits = std::char_traits<wchar_t>; _Alloc = std::allocator<wchar_t>]' 1518 | append(_InputIterator __first, _InputIterator __last) | ^~~~~~ /usr/include/c++/13/bits/basic_string.h:1518:9: note: template argument deduction/substitution failed: /usr/include/c++/13/format:2515:24: note: deduced conflicting types for parameter '_InputIterator' ('wchar_t*' and 'long unsigned int') 2515 | _M_seq.append(__s.data(), __s.size()); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:1530:9: note: candidate: 'template<class _Tp> constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::_If_sv<_Tp, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&> std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::append(const _Tp&) [with _CharT = wchar_t; _Traits = std::char_traits<wchar_t>; _Alloc = std::allocator<wchar_t>]' 1530 | append(const _Tp& __svt) | ^~~~~~ /usr/include/c++/13/bits/basic_string.h:1530:9: note: template argument deduction/substitution failed: /usr/include/c++/13/format:2515:24: note: candidate expects 1 argument, 2 provided 2515 | _M_seq.append(__s.data(), __s.size()); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h:1424:7: note: candidate: 'constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>& std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::append(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = wchar_t; _Traits = std::char_traits<wchar_t>; _Alloc = std::allocator<wchar_t>]' 1424 | append(const basic_string& __str) | ^~~~~~ /usr/include/c++/13/bits/basic_string.h:1424:7: note: candidate expects 1 argument, 2 provided /usr/include/c++/13/bits/basic_string.h:1469:7: note: candidate: 'constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>& std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::append(const _CharT*) [with _CharT = wchar_t; _Traits = std::char_traits<wchar_t>; _Alloc = std::allocator<wchar_t>]' 1469 | append(const _CharT* __s) | ^~~~~~ /usr/include/c++/13/bits/basic_string.h:1469:7: note: candidate expects 1 argument, 2 provided /usr/include/c++/13/bits/basic_string.h:1498:7: note: candidate: 'constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>& std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::append(std::initializer_list<_Tp>) [with _CharT = wchar_t; _Traits = std::char_traits<wchar_t>; _Alloc = std::allocator<wchar_t>]' 1498 | append(initializer_list<_CharT> __l) | ^~~~~~ /usr/include/c++/13/bits/basic_string.h:1498:7: note: candidate expects 1 argument, 2 provided In file included from /usr/include/c++/13/complex:45, from /usr/include/c++/13/ccomplex:39, from /usr/include/x86_64-linux-gnu/c++/13/bits/stdc++.h:127: /usr/include/c++/13/sstream: In instantiation of 'std::__cxx11::basic_stringbuf<_CharT, _Traits, _Alloc>::__string_type std::__cxx11::basic_stringbuf<_CharT, _Traits, _Alloc>::str() && [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; __string_type = std::__cxx11::basic_string<char>]': /usr/include/c++/13/sstream:944:43: required from 'std::__cxx11::basic_ostringstream<_CharT, _Traits, _Alloc>::__string_type std::__cxx11::basic_ostringstream<_CharT, _Traits, _Alloc>::str() && [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; __string_type = std::__cxx11::basic_string<char>]' /usr/include/c++/13/stacktrace:765:31: required from here /usr/include/c++/13/sstream:277:23: error: 'std::__cxx11::basic_stringbuf<char>::__string_type' {aka 'class std::__cxx11::basic_string<char>'} has no member named '_M_set_length' 277 | _M_string._M_set_length(_M_high_mark() - this->pbase()); | ~~~~~~~~~~^~~~~~~~~~~~~ In file included from /usr/include/c++/13/functional:59: /usr/include/c++/13/bits/std_function.h: In instantiation of 'static void std::_Function_base::_Base_manager<_Functor>::_M_create(std::_Any_data&, _Fn&&, std::true_type) [with _Fn = std::__future_base::_State_baseV2::_Setter<void, void>; _Functor = std::__future_base::_State_baseV2::_Setter<void, void>; std::true_type = std::integral_constant<bool, true>]': /usr/include/c++/13/bits/std_function.h:215:15: required from 'static void std::_Function_base::_Base_manager<_Functor>::_M_init_functor(std::_Any_data&, _Fn&&) [with _Fn = std::__future_base::_State_baseV2::_Setter<void, void>; _Functor = std::__future_base::_State_baseV2::_Setter<void, void>]' /usr/include/c++/13/bits/std_function.h:449:36: required from 'std::function<_Res(_ArgTypes ...)>::function(_Functor&&) [with _Functor = std::__future_base::_State_baseV2::_Setter<void, void>; _Constraints = void; _Res = std::unique_ptr<std::__future_base::_Result_base, std::__future_base::_Result_base::_Deleter>; _ArgTypes = {}]' /usr/include/c++/13/future:1374:33: required from here /usr/include/c++/13/bits/std_function.h:152:13: error: no matching function for call to 'operator new(sizetype, void*)' 152 | ::new (__dest._M_access()) _Functor(std::forward<_Fn>(__f)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <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/include/c++/13/bits/std_function.h: In instantiation of 'static void std::_Function_base::_Base_manager<_Functor>::_M_create(std::_Any_data&, _Fn&&, std::true_type) [with _Fn = std::__future_base::_State_baseV2::_Setter<void, std::__future_base::_State_baseV2::__exception_ptr_tag>; _Functor = std::__future_base::_State_baseV2::_Setter<void, std::__future_base::_State_baseV2::__exception_ptr_tag>; std::true_type = std::integral_constant<bool, true>]': /usr/include/c++/13/bits/std_function.h:215:15: required from 'static void std::_Function_base::_Base_manager<_Functor>::_M_init_functor(std::_Any_data&, _Fn&&) [with _Fn = std::__future_base::_State_baseV2::_Setter<void, std::__future_base::_State_baseV2::__exception_ptr_tag>; _Functor = std::__future_base::_State_baseV2::_Setter<void, std::__future_base::_State_baseV2::__exception_ptr_tag>]' /usr/include/c++/13/bits/std_function.h:449:36: required from 'std::function<_Res(_ArgTypes ...)>::function(_Functor&&) [with _Functor = std::__future_base::_State_baseV2::_Setter<void, std::__future_base::_State_baseV2::__exception_ptr_tag>; _Constraints = void; _Res = std::unique_ptr<std::__future_base::_Result_base, std::__future_base::_Result_base::_Deleter>; _ArgTypes = {}]' /usr/include/c++/13/future:1378:33: required from here /usr/include/c++/13/bits/std_function.h:152:13: error: no matching function for call to 'operator new(sizetype, void*)' <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/include/c++/13/bits/shared_ptr_base.h: In instantiation of 'std::__shared_count<_Lp>::__shared_count(_Tp*&, std::_Sp_alloc_shared_tag<_Alloc>, _Args&& ...) [with _Tp = std::mutex; _Alloc = std::allocator<void>; _Args = {}; __gnu_cxx::_Lock_policy _Lp = __gnu_cxx::_S_atomic]': /usr/include/c++/13/bits/shared_ptr_base.h:1712:14: required from 'std::__shared_ptr<_Tp, _Lp>::__shared_ptr(std::_Sp_alloc_shared_tag<_Tp>, _Args&& ...) [with _Alloc = std::allocator<void>; _Args = {}; _Tp = std::mutex; __gnu_cxx::_Lock_policy _Lp = __gnu_cxx::_S_atomic]' /usr/include/c++/13/bits/shared_ptr.h:464:59: required from 'std::shared_ptr<_Tp>::shared_ptr(std::_Sp_alloc_shared_tag<_Tp>, _Args&& ...) [with _Alloc = std::allocator<void>; _Args = {}; _Tp = std::mutex]' /usr/include/c++/13/bits/shared_ptr.h:1009:14: required from 'std::shared_ptr<std::_NonArray<_Tp> > std::make_shared(_Args&& ...) [with _Tp = mutex; _Args = {}; _NonArray<_Tp> = mutex]' /usr/include/c++/13/condition_variable:285:64: required from here /usr/include/c++/13/bits/shared_ptr_base.h:971:23: error: no matching function for call to 'operator new(sizetype, _Sp_cp_type*&)' 971 | auto __pi = ::new (__mem) | ^~~~~~~~~~~~~ 972 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__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 '_Sp_cp_type*' to 'std::align_val_t' /usr/include/c++/13/bits/shared_ptr_base.h:973:19: error: no match for 'operator=' (operand types are 'std::__allocated_ptr<std::allocator<std::_Sp_counted_ptr_inplace<std::mutex, std::allocator<void>, __gnu_cxx::_S_atomic> > >' and 'std::nullptr_t') 973 | __guard = nullptr; | ~~~~~~~~^~~~~~~~~ /usr/include/c++/13/bits/allocated_ptr.h:79:7: note: candidate: 'std::__allocated_ptr<_Alloc>& std::__allocated_ptr<_Alloc>::operator=(int) [with _Alloc = std::allocator<std::_Sp_counted_ptr_inplace<std::mutex, std::allocator<void>, __gnu_cxx::_S_atomic> >]' 79 | operator=(std::nullptr_t) noexcept | ^~~~~~~~ /usr/include/c++/13/bits/allocated_ptr.h:79:17: note: no known conversion for argument 1 from 'std::nullptr_t' to 'int' 79 | operator=(std::nullptr_t) noexcept | ^~~~~~~~~~~~~~ /usr/include/c++/13/bits/shared_ptr_base.h: In instantiation of 'std::__shared_count<_Lp>::__shared_count(_Tp*&, std::_Sp_alloc_shared_tag<_Alloc>, _Args&& ...) [with _Tp = std::__future_base::_State_baseV2; _Alloc = std::allocator<void>; _Args = {}; __gnu_cxx::_Lock_policy _Lp = __gnu_cxx::_S_atomic]': /usr/include/c++/13/bits/shared_ptr_base.h:1712:14: required from 'std::__shared_ptr<_Tp, _Lp>::__shared_ptr(std::_Sp_alloc_shared_tag<_Tp>, _Args&& ...) [with _Alloc = std::allocator<void>; _Args = {}; _Tp = std::__future_base::_State_baseV2; __gnu_cxx::_Lock_policy _Lp = __gnu_cxx::_S_atomic]' /usr/include/c++/13/bits/shared_ptr.h:464:59: required from 'std::shared_ptr<_Tp>::shared_ptr(std::_Sp_alloc_shared_tag<_Tp>, _Args&& ...) [with _Alloc = std::allocator<void>; _Args = {}; _Tp = std::__future_base::_State_baseV2]' /usr/include/c++/13/bits/shared_ptr.h:1009:14: required from 'std::shared_ptr<std::_NonArray<_Tp> > std::make_shared(_Args&& ...) [with _Tp = __future_base::_State_baseV2; _Args = {}; _NonArray<_Tp> = _NonArray<__future_base::_State_baseV2>]' /usr/include/c++/13/future:1318:43: required from here /usr/include/c++/13/bits/shared_ptr_base.h:971:23: error: no matching function for call to 'operator new(sizetype, _Sp_cp_type*&)' 971 | auto __pi = ::new (__mem) | ^~~~~~~~~~~~~ 972 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__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 '_Sp_cp_type*' to 'std::align_val_t' /usr/include/c++/13/bits/shared_ptr_base.h:973:19: error: no match for 'operator=' (operand types are 'std::__allocated_ptr<std::allocator<std::_Sp_counted_ptr_inplace<std::__future_base::_State_baseV2, std::allocator<void>, __gnu_cxx::_S_atomic> > >' and 'std::nullptr_t') 973 | __guard = nullptr; | ~~~~~~~~^~~~~~~~~ /usr/include/c++/13/bits/allocated_ptr.h:79:7: note: candidate: 'std::__allocated_ptr<_Alloc>& std::__allocated_ptr<_Alloc>::operator=(int) [with _Alloc = std::allocator<std::_Sp_counted_ptr_inplace<std::__future_base::_State_baseV2, std::allocator<void>, __gnu_cxx::_S_atomic> >]' 79 | operator=(std::nullptr_t) noexcept | ^~~~~~~~ /usr/include/c++/13/bits/allocated_ptr.h:79:17: note: no known conversion for argument 1 from 'std::nullptr_t' to 'int' 79 | operator=(std::nullptr_t) noexcept | ^~~~~~~~~~~~~~ /usr/include/c++/13/bits/std_function.h: In instantiation of 'static void std::_Function_base::_Base_manager<_Functor>::_M_create(std::_Any_data&, _Fn&&, std::true_type) [with _Fn = const std::__future_base::_State_baseV2::_Setter<void, void>&; _Functor = std::__future_base::_State_baseV2::_Setter<void, void>; std::true_type = std::integral_constant<bool, true>]': /usr/include/c++/13/bits/std_function.h:215:15: required from 'static void std::_Function_base::_Base_manager<_Functor>::_M_init_functor(std::_Any_data&, _Fn&&) [with _Fn = const std::__future_base::_State_baseV2::_Setter<void, void>&; _Functor = std::__future_base::_State_baseV2::_Setter<void, void>]' /usr/include/c++/13/bits/std_function.h:198:23: required from 'static bool std::_Function_base::_Base_manager<_Functor>::_M_manager(std::_Any_data&, const std::_Any_data&, std::_Manager_operation) [with _Functor = std::__future_base::_State_baseV2::_Setter<void, void>]' /usr/include/c++/13/bits/std_function.h:282:23: required from 'static bool std::_Function_handler<_Res(_ArgTypes ...), _Functor>::_M_manager(std::_Any_data&, const std::_Any_data&, std::_Manager_operation) [with _Res = std::unique_ptr<std::__future_base::_Result_base, std::__future_base::_Result_base::_Deleter>; _Functor = std::__future_base::_State_baseV2::_Setter<void, void>; _ArgTypes = {}]' /usr/include/c++/13/bits/std_function.h:452:21: required from 'std::function<_Res(_ArgTypes ...)>::function(_Functor&&) [with _Functor = std::__future_base::_State_baseV2::_Setter<void, void>; _Constraints = void; _Res = std::unique_ptr<std::__future_base::_Result_base, std::__future_base::_Result_base::_Deleter>; _ArgTypes = {}]' /usr/include/c++/13/future:1374:33: required from here /usr/include/c++/13/bits/std_function.h:152:13: error: no matching function for call to 'operator new(sizetype, void*)' 152 | ::new (__dest._M_access()) _Functor(std::forward<_Fn>(__f)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <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/include/c++/13/bits/std_function.h: In instantiation of 'static void std::_Function_base::_Base_manager<_Functor>::_M_create(std::_Any_data&, _Fn&&, std::true_type) [with _Fn = const std::__future_base::_State_baseV2::_Setter<void, std::__future_base::_State_baseV2::__exception_ptr_tag>&; _Functor = std::__future_base::_State_baseV2::_Setter<void, std::__future_base::_State_baseV2::__exception_ptr_tag>; std::true_type = std::integral_constant<bool, true>]': /usr/include/c++/13/bits/std_function.h:215:15: required from 'static void std::_Function_base::_Base_manager<_Functor>::_M_init_functor(std::_Any_data&, _Fn&&) [with _Fn = const std::__future_base::_State_baseV2::_Setter<void, std::__future_base::_State_baseV2::__exception_ptr_tag>&; _Functor = std::__future_base::_State_baseV2::_Setter<void, std::__future_base::_State_baseV2::__exception_ptr_tag>]' /usr/include/c++/13/bits/std_function.h:198:23: required from 'static bool std::_Function_base::_Base_manager<_Functor>::_M_manager(std::_Any_data&, const std::_Any_data&, std::_Manager_operation) [with _Functor = std::__future_base::_State_baseV2::_Setter<void, std::__future_base::_State_baseV2::__exception_ptr_tag>]' /usr/include/c++/13/bits/std_function.h:282:23: required from 'static bool std::_Function_handler<_Res(_ArgTypes ...), _Functor>::_M_manager(std::_Any_data&, const std::_Any_data&, std::_Manager_operation) [with _Res = std::unique_ptr<std::__future_base::_Result_base, std::__future_base::_Result_base::_Deleter>; _Functor = std::__future_base::_State_baseV2::_Setter<void, std::__future_base::_State_baseV2::__exception_ptr_tag>; _ArgTypes = {}]' /usr/include/c++/13/bits/std_function.h:452:21: required from 'std::function<_Res(_ArgTypes ...)>::function(_Functor&&) [with _Functor = std::__future_base::_State_baseV2::_Setter<void, std::__future_base::_State_baseV2::__exception_ptr_tag>; _Constraints = void; _Res = std::unique_ptr<std::__future_base::_Result_base, std::__future_base::_Result_base::_Deleter>; _ArgTypes = {}]' /usr/include/c++/13/future:1378:33: required from here /usr/include/c++/13/bits/std_function.h:152:13: error: no matching function for call to 'operator new(sizetype, void*)' <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/include/c++/13/locale:45: /usr/include/c++/13/bits/locale_conv.h: In instantiation of 'bool std::__do_str_codecvt(const _InChar*, const _InChar*, _OutStr&, const _Codecvt&, _State&, size_t&, _Fn) [with _OutStr = __cxx11::basic_string<wchar_t>; _InChar = char; _Codecvt = codecvt<wchar_t, char, __mbstate_t>; _State = __mbstate_t; _Fn = codecvt_base::result (codecvt<wchar_t, char, __mbstate_t>::*)(__mbstate_t&, const char*, const char*, const char*&, wchar_t*, wchar_t*, wchar_t*&) const; size_t = long unsigned int]': /usr/include/c++/13/bits/locale_conv.h:118:30: required from 'bool std::__str_codecvt_in(const char*, const char*, __cxx11::basic_string<_CharT, _Traits, _Allocator>&, const codecvt<_CharT, char, _State>&, _State&, size_t&) [with _CharT = wchar_t; _Traits = char_traits<wchar_t>; _Alloc = allocator<wchar_t>; _State = __mbstate_t; size_t = long unsigned int]' /usr/include/c++/13/bits/locale_conv.h:143:30: required from 'bool std::__str_codecvt_in_all(const char*, const char*, __cxx11::basic_string<_CharT, _Traits, _Allocator>&, const codecvt<_CharT, char, _State>&) [with _CharT = wchar_t; _Traits = char_traits<wchar_t>; _Alloc = allocator<wchar_t>; _State = __mbstate_t]' /usr/include/c++/13/bits/fs_path.h:1151:32: required from 'static std::__cxx11::basic_string<_CharT, _Traits, _Allocator> std::filesystem::__cxx11::path::_S_str_convert(std::basic_string_view<char>, const _Allocator&) [with _CharT = wchar_t; _Traits = std::char_traits<wchar_t>; _Allocator = std::allocator<wchar_t>]' /usr/include/c++/13/bits/fs_path.h:1166:40: required from 'std::__cxx11::basic_string<_CharT, _Traits, _Allocator> std::filesystem::__cxx11::path::string(const _Allocator&) const [with _CharT = wchar_t; _Traits = std::char_traits<wchar_t>; _Allocator = std::allocator<wchar_t>]' /usr/include/c++/13/bits/fs_path.h:1174:49: required from here /usr/include/c++/13/bits/locale_conv.h:72:20: error: 'class std::__cxx11::basic_string<wchar_t>' has no member named 'resize' 72 | __outstr.resize(__outstr.size() + (__last - __next) * __maxlen); | ~~~~~~~~~^~~~~~ /usr/include/c++/13/bits/locale_conv.h:72:36: error: 'class std::__cxx11::basic_string<wchar_t>' has no member named 'size' 72 | __outstr.resize(__outstr.size() + (__last - __next) * __maxlen); | ~~~~~~~~~^~~~ /usr/include/c++/13/bits/locale_conv.h:80:36: error: 'class std::__cxx11::basic_string<wchar_t>' has no member named 'size' 80 | && ptrdiff_t(__outstr.size() - __outchars) < __maxlen); | ~~~~~~~~~^~~~ /usr/include/c++/13/bits/locale_conv.h:99:16: error: 'class std::__cxx11::basic_string<wchar_t>' has no member named 'resize' 99 | __outstr.resize(__outchars); | ~~~~~~~~~^~~~~~ /usr/include/c++/13/bits/locale_conv.h: In instantiation of 'bool std::__do_str_codecvt(const _InChar*, const _InChar*, _OutStr&, const _Codecvt&, _State&, size_t&, _Fn) [with _OutStr = __cxx11::basic_string<char16_t>; _InChar = char; _Codecvt = codecvt<char16_t, char, __mbstate_t>; _State = __mbstate_t; _Fn = codecvt_base::result (codecvt<char16_t, char, __mbstate_t>::*)(__mbstate_t&, const char*, const char*, const char*&, char16_t*, char16_t*, char16_t*&) const; size_t = long unsigned int]': /usr/include/c++/13/bits/locale_conv.h:118:30: required from 'bool std::__str_codecvt_in(const char*, const char*, __cxx11::basic_string<_CharT, _Traits, _Allocator>&, const codecvt<_CharT, char, _State>&, _State&, size_t&) [with _CharT = char16_t; _Traits = char_traits<char16_t>; _Alloc = allocator<char16_t>; _State = __mbstate_t; size_t = long unsigned int]' /usr/include/c++/13/bits/locale_conv.h:143:30: required from 'bool std::__str_codecvt_in_all(const char*, const char*, __cxx11::basic_string<_CharT, _Traits, _Allocator>&, const codecvt<_CharT, char, _State>&) [with _CharT = char16_t; _Traits = char_traits<char16_t>; _Alloc = allocator<char16_t>; _State = __mbstate_t]' /usr/include/c++/13/bits/fs_path.h:1151:32: required from 'static std::__cxx11::basic_string<_CharT, _Traits, _Allocator> std::filesystem::__cxx11::path::_S_str_convert(std::basic_string_view<char>, const _Allocator&) [with _CharT = char16_t; _Traits = std::char_traits<char16_t>; _Allocator = std::allocator<char16_t>]' /usr/include/c++/13/bits/fs_path.h:1166:40: required from 'std::__cxx11::basic_string<_CharT, _Traits, _Allocator> std::filesystem::__cxx11::path::string(const _Allocator&) const [with _CharT = char16_t; _Traits = std::char_traits<char16_t>; _Allocator = std::allocator<char16_t>]' /usr/include/c++/13/bits/fs_path.h:1200:52: required from here /usr/include/c++/13/bits/locale_conv.h:72:20: error: 'class std::__cxx11::basic_string<char16_t>' has no member named 'resize' 72 | __outstr.resize(__outstr.size() + (__last - __next) * __maxlen); | ~~~~~~~~~^~~~~~ /usr/include/c++/13/bits/locale_conv.h:72:36: error: 'class std::__cxx11::basic_string<char16_t>' has no member named 'size' 72 | __outstr.resize(__outstr.size() + (__last - __next) * __maxlen); | ~~~~~~~~~^~~~ /usr/include/c++/13/bits/locale_conv.h:80:36: error: 'class std::__cxx11::basic_string<char16_t>' has no member named 'size' 80 | && ptrdiff_t(__outstr.size() - __outchars) < __maxlen); | ~~~~~~~~~^~~~ /usr/include/c++/13/bits/locale_conv.h:99:16: error: 'class std::__cxx11::basic_string<char16_t>' has no member named 'resize' 99 | __outstr.resize(__outchars); | ~~~~~~~~~^~~~~~ /usr/include/c++/13/bits/locale_conv.h: In instantiation of 'bool std::__do_str_codecvt(const _InChar*, const _InChar*, _OutStr&, const _Codecvt&, _State&, size_t&, _Fn) [with _OutStr = __cxx11::basic_string<char32_t>; _InChar = char; _Codecvt = codecvt<char32_t, char, __mbstate_t>; _State = __mbstate_t; _Fn = codecvt_base::result (codecvt<char32_t, char, __mbstate_t>::*)(__mbstate_t&, const char*, const char*, const char*&, char32_t*, char32_t*, char32_t*&) const; size_t = long unsigned int]': /usr/include/c++/13/bits/locale_conv.h:118:30: required from 'bool std::__str_codecvt_in(const char*, const char*, __cxx11::basic_string<_CharT, _Traits, _Allocator>&, const codecvt<_CharT, char, _State>&, _State&, size_t&) [with _CharT = char32_t; _Traits = char_traits<char32_t>; _Alloc = allocator<char32_t>; _State = __mbstate_t; size_t = long unsigned int]' /usr/include/c++/13/bits/locale_conv.h:143:30: required from 'bool std::__str_codecvt_in_all(const char*, const char*, __cxx11::basic_string<_CharT, _Traits, _Allocator>&, const codecvt<_CharT, char, _State>&) [with _CharT = char32_t; _Traits = char_traits<char32_t>; _Alloc = allocator<char32_t>; _State = __mbstate_t]' /usr/include/c++/13/bits/fs_path.h:1151:32: required from 'static std::__cxx11::basic_string<_CharT, _Traits, _Allocator> std::filesystem::__cxx11::path::_S_str_convert(std::basic_string_view<char>, const _Allocator&) [with _CharT = char32_t; _Traits = std::char_traits<char32_t>; _Allocator = std::allocator<char32_t>]' /usr/include/c++/13/bits/fs_path.h:1166:40: required from 'std::__cxx11::basic_string<_CharT, _Traits, _Allocator> std::filesystem::__cxx11::path::string(const _Allocator&) const [with _CharT = char32_t; _Traits = std::char_traits<char32_t>; _Allocator = std::allocator<char32_t>]' /usr/include/c++/13/bits/fs_path.h:1203:52: required from here /usr/include/c++/13/bits/locale_conv.h:72:20: error: 'class std::__cxx11::basic_string<char32_t>' has no member named 'resize' 72 | __outstr.resize(__outstr.size() + (__last - __next) * __maxlen); | ~~~~~~~~~^~~~~~ /usr/include/c++/13/bits/locale_conv.h:72:36: error: 'class std::__cxx11::basic_string<char32_t>' has no member named 'size' 72 | __outstr.resize(__outstr.size() + (__last - __next) * __maxlen); | ~~~~~~~~~^~~~ /usr/include/c++/13/bits/locale_conv.h:80:36: error: 'class std::__cxx11::basic_string<char32_t>' has no member named 'size' 80 | && ptrdiff_t(__outstr.size() - __outchars) < __maxlen); | ~~~~~~~~~^~~~ /usr/include/c++/13/bits/locale_conv.h:99:16: error: 'class std::__cxx11::basic_string<char32_t>' has no member named 'resize' 99 | __outstr.resize(__outchars); | ~~~~~~~~~^~~~~~ /usr/include/c++/13/bits/new_allocator.h: In instantiation of '_Tp* std::__new_allocator<_Tp>::allocate(int, const void*) [with _Tp = std::_Sp_counted_ptr_inplace<std::mutex, std::allocator<void>, __gnu_cxx::_S_atomic>]': /usr/include/c++/13/bits/allocator.h:198:40: required from 'constexpr _Tp* std::allocator< <template-parameter-1-1> >::allocate(size_t) [with _Tp = std::_Sp_counted_ptr_inplace<std::mutex, std::allocator<void>, __gnu_cxx::_S_atomic>; size_t = long unsigned int]' /usr/include/c++/13/bits/alloc_traits.h:482:28: required from 'static constexpr _Tp* std::allocator_traits<std::allocator<_CharT> >::allocate(allocator_type&, int) [with _Tp = std::_Sp_counted_ptr_inplace<std::mutex, std::allocator<void>, __gnu_cxx::_S_atomic>; pointer = std::_Sp_counted_ptr_inplace<std::mutex, std::allocator<void>, __gnu_cxx::_S_atomic>*; allocator_type = std::allocator<std::_Sp_counted_ptr_inplace<std::mutex, std::allocator<void>, __gnu_cxx::_S_atomic> >]' /usr/include/c++/13/bits/allocated_ptr.h:98:60: required from 'std::__allocated_ptr<_Alloc> std::__allocate_guarded(_Alloc&) [with _Alloc = allocator<_Sp_counted_ptr_inplace<mutex, allocator<void>, __gnu_cxx::_S_atomic> >]' /usr/include/c++/13/bits/shared_ptr_base.h:969:42: required from 'std::__shared_count<_Lp>::__shared_count(_Tp*&, std::_Sp_alloc_shared_tag<_Alloc>, _Args&& ...) [with _Tp = std::mutex; _Alloc = std::allocator<void>; _Args = {}; __gnu_cxx::_Lock_policy _Lp = __gnu_cxx::_S_atomic]' /usr/include/c++/13/bits/shared_ptr_base.h:1712:14: required from 'std::__shared_ptr<_Tp, _Lp>::__shared_ptr(std::_Sp_alloc_shared_tag<_Tp>, _Args&& ...) [with _Alloc = std::allocator<void>; _Args = {}; _Tp = std::mutex; __gnu_cxx::_Lock_policy _Lp = __gnu_cxx::_S_atomic]' /usr/include/c++/13/bits/shared_ptr.h:464:59: required from 'std::shared_ptr<_Tp>::shared_ptr(std::_Sp_alloc_shared_tag<_Tp>, _Args&& ...) [with _Alloc = std::allocator<void>; _Args = {}; _Tp = std::mutex]' /usr/include/c++/13/bits/shared_ptr.h:1009:14: required from 'std::shared_ptr<std::_NonArray<_Tp> > std::make_shared(_Args&& ...) [with _Tp = mutex; _Args = {}; _NonArray<_Tp> = mutex]' /usr/include/c++/13/condition_variable:285:64: required from here /usr/include/c++/13/bits/new_allocator.h:134:42: error: 'class std::__new_allocator<std::_Sp_counted_ptr_inplace<std::mutex, std::allocator<void>, __gnu_cxx::_S_atomic> >' has no member named '_M_max_size' 134 | if (__builtin_expect(__n > this->_M_max_size(), false)) | ~~~~~~^~~~~~~~~~~ /usr/include/c++/13/bits/new_allocator.h: In instantiation of '_Tp* std::__new_allocator<_Tp>::allocate(int, const void*) [with _Tp = std::_Sp_counted_ptr_inplace<std::__future_base::_State_baseV2, std::allocator<void>, __gnu_cxx::_S_atomic>]': /usr/include/c++/13/bits/allocator.h:198:40: required from 'constexpr _Tp* std::allocator< <template-parameter-1-1> >::allocate(size_t) [with _Tp = std::_Sp_counted_ptr_inplace<std::__future_base::_State_baseV2, std::allocator<void>, __gnu_cxx::_S_atomic>; size_t = long unsigned int]' /usr/include/c++/13/bits/alloc_traits.h:482:28: required from 'static constexpr _Tp* std::allocator_traits<std::allocator<_CharT> >::allocate(allocator_type&, int) [with _Tp = std::_Sp_counted_ptr_inplace<std::__future_base::_State_baseV2, std::allocator<void>, __gnu_cxx::_S_atomic>; pointer = std::_Sp_counted_ptr_inplace<std::__future_base::_State_baseV2, std::allocator<void>, __gnu_cxx::_S_atomic>*; allocator_type = std::allocator<std::_Sp_counted_ptr_inplace<std::__future_base::_State_baseV2, std::allocator<void>, __gnu_cxx::_S_atomic> >]' /usr/include/c++/13/bits/allocated_ptr.h:98:60: required from 'std::__allocated_ptr<_Alloc> std::__allocate_guarded(_Alloc&) [with _Alloc = allocator<_Sp_counted_ptr_inplace<__future_base::_State_baseV2, allocator<void>, __gnu_cxx::_S_atomic> >]' /usr/include/c++/13/bits/shared_ptr_base.h:969:42: required from 'std::__shared_count<_Lp>::__shared_count(_Tp*&, std::_Sp_alloc_shared_tag<_Alloc>, _Args&& ...) [with _Tp = std::__future_base::_State_baseV2; _Alloc = std::allocator<void>; _Args = {}; __gnu_cxx::_Lock_policy _Lp = __gnu_cxx::_S_atomic]' /usr/include/c++/13/bits/shared_ptr_base.h:1712:14: required from 'std::__shared_ptr<_Tp, _Lp>::__shared_ptr(std::_Sp_alloc_shared_tag<_Tp>, _Args&& ...) [with _Alloc = std::allocator<void>; _Args = {}; _Tp = std::__future_base::_State_baseV2; __gnu_cxx::_Lock_policy _Lp = __gnu_cxx::_S_atomic]' /usr/include/c++/13/bits/shared_ptr.h:464:59: required from 'std::shared_ptr<_Tp>::shared_ptr(std::_Sp_alloc_shared_tag<_Tp>, _Args&& ...) [with _Alloc = std::allocator<void>; _Args = {}; _Tp = std::__future_base::_State_baseV2]' /usr/include/c++/13/bits/shared_ptr.h:1009:14: required from 'std::shared_ptr<std::_NonArray<_Tp> > std::make_shared(_Args&& ...) [with _Tp = __future_base::_State_baseV2; _Args = {}; _NonArray<_Tp> = _NonArray<__future_base::_State_baseV2>]' /usr/include/c++/13/future:1318:43: required from here /usr/include/c++/13/bits/new_allocator.h:134:42: error: 'class std::__new_allocator<std::_Sp_counted_ptr_inplace<std::__future_base::_State_baseV2, std::allocator<void>, __gnu_cxx::_S_atomic> >' has no member named '_M_max_size' /usr/include/c++/13/format: In instantiation of 'typename std::basic_format_context<_Out, _CharT>::iterator std::__format::__formatter_int<_CharT>::format(bool, std::basic_format_context<_Out, _CharT>&) const [with _Out = std::__format::_Sink_iter<wchar_t>; _CharT = wchar_t; typename std::basic_format_context<_Out, _CharT>::iterator = std::basic_format_context<std::__format::_Sink_iter<wchar_t>, wchar_t>::iterator]': /usr/include/c++/13/format:2049:22: required from 'typename std::basic_format_context<_Out, _CharT>::iterator std::formatter<_Tp, _CharT>::format(_Tp, std::basic_format_context<_Out, _CharT>&) const [with _Out = std::__format::_Sink_iter<wchar_t>; _Tp = bool; _CharT = wchar_t; typename std::basic_format_context<_Out, _CharT>::iterator = std::basic_format_context<std::__format::_Sink_iter<wchar_t>, wchar_t>::iterator]' /usr/include/c++/13/format:3659:41: required from 'std::__format::_Formatting_scanner<std::__format::_Sink_iter<wchar_t>, wchar_t>::_M_format_arg(size_t)::<lambda(auto:63&)> [with auto:63 = bool]' /usr/include/c++/13/format:3132:44: required from 'decltype(auto) std::basic_format_arg<_Context>::_M_visit(_Visitor&&, std::__format::_Arg_t) [with _Visitor = std::__format::_Formatting_scanner<std::__format::_Sink_iter<wchar_t>, wchar_t>::_M_format_arg(size_t)::<lambda(auto:63&)>; _Context = std::basic_format_context<std::__format::_Sink_iter<wchar_t>, wchar_t>]' /usr/include/c++/13/format:3192:28: required from 'decltype(auto) std::visit_format_arg(_Visitor&&, basic_format_arg<_Context>) [with _Visitor = __format::_Formatting_scanner<__format::_Sink_iter<wchar_t>, wchar_t>::_M_format_arg(size_t)::<lambda(auto:63&)>; _Context = basic_format_context<__format::_Sink_iter<wchar_t>, wchar_t>]' /usr/include/c++/13/format:3648:23: required from 'constexpr void std::__format::_Formatting_scanner<_Out, _CharT>::_M_format_arg(size_t) [with _Out = std::__format::_Sink_iter<wchar_t>; _CharT = wchar_t; size_t = long unsigned int]' /usr/include/c++/13/format:3643:7: required from here /usr/include/c++/13/format:1089:33: error: 'class std::__cxx11::basic_string<wchar_t>' has no member named 'size' 1089 | __est_width = __s.size(); // TODO Unicode-aware estimate | ~~~~^~~~ /usr/include/c++/13/format:1097:33: error: 'class std::__cxx11::basic_string<wchar_t>' has no member named 'size' 1097 | __est_width = __s.size(); | ~~~~^~~~ /usr/include/c++/13/format: In instantiation of 'typename std::basic_format_context<_Out, _CharT>::iterator std::__format::__formatter_int<_CharT>::format(bool, std::basic_format_context<_Out, _CharT>&) const [with _Out = std::__format::_Sink_iter<char>; _CharT = char; typename std::basic_format_context<_Out, _CharT>::iterator = std::basic_format_context<std::__format::_Sink_iter<char>, char>::iterator]': /usr/include/c++/13/format:2049:22: required from 'typename std::basic_format_context<_Out, _CharT>::iterator std::formatter<_Tp, _CharT>::format(_Tp, std::basic_format_context<_Out, _CharT>&) const [with _Out = std::__format::_Sink_iter<char>; _Tp = bool; _CharT = char; typename std::basic_format_context<_Out, _CharT>::iterator = std::basic_format_context<std::__format::_Sink_iter<char>, char>::iterator]' /usr/include/c++/13/format:3659:41: required from 'std::__format::_Formatting_scanner<std::__format::_Sink_iter<char>, char>::_M_format_arg(size_t)::<lambda(auto:63&)> [with auto:63 = bool]' /usr/include/c++/13/format:3132:44: required from 'decltype(auto) std::basic_format_arg<_Context>::_M_visit(_Visitor&&, std::__format::_Arg_t) [with _Visitor = std::__format::_Formatting_scanner<std::__format::_Sink_iter<char>, char>::_M_format_arg(size_t)::<lambda(auto:63&)>; _Context = std::basic_format_context<std::__format::_Sink_iter<char>, char>]' /usr/include/c++/13/format:3192:28: required from 'decltype(auto) std::visit_format_arg(_Visitor&&, basic_format_arg<_Context>) [with _Visitor = __format::_Formatting_scanner<__format::_Sink_iter<char>, char>::_M_format_arg(size_t)::<lambda(auto:63&)>; _Context = basic_format_context<__format::_Sink_iter<char>, char>]' /usr/include/c++/13/format:3648:23: required from 'constexpr void std::__format::_Formatting_scanner<_Out, _CharT>::_M_format_arg(size_t) [with _Out = std::__format::_Sink_iter<char>; _CharT = char; size_t = long unsigned int]' /usr/include/c++/13/format:3643:7: required from here /usr/include/c++/13/format:1089:33: error: 'class std::__cxx11::basic_string<char>' has no member named 'size' 1089 | __est_width = __s.size(); // TODO Unicode-aware estimate | ~~~~^~~~ /usr/include/c++/13/format:1097:33: error: 'class std::__cxx11::basic_string<char>' has no member named 'size' 1097 | __est_width = __s.size(); | ~~~~^~~~ /usr/include/c++/13/format: In instantiation of 'typename std::basic_format_context<_Out, _CharT>::iterator std::__format::__formatter_int<_CharT>::_M_format_int(std::string_view, size_t, std::basic_format_context<_Out, _CharT>&) const [with _Out = std::__format::_Sink_iter<wchar_t>; _CharT = wchar_t; typename std::basic_format_context<_Out, _CharT>::iterator = std::basic_format_context<std::__format::_Sink_iter<wchar_t>, wchar_t>::iterator; std::string_view = std::basic_string_view<char>; size_t = long unsigned int]': /usr/include/c++/13/format:1070:24: required from 'typename std::basic_format_context<_Out, _CharT>::iterator std::__format::__formatter_int<_CharT>::format(_Int, std::basic_format_context<_Out, _CharT>&) const [with _Int = unsigned int; _Out = std::__format::_Sink_iter<wchar_t>; _CharT = wchar_t; typename std::basic_format_context<_Out, _CharT>::iterator = std::basic_format_context<std::__format::_Sink_iter<wchar_t>, wchar_t>::iterator]' /usr/include/c++/13/format:1808:24: required from 'typename std::basic_format_context<_Out, _CharT>::iterator std::formatter<_CharT, _CharT>::format(_CharT, std::basic_format_context<_Out, _CharT>&) const [with _Out = std::__format::_Sink_iter<wchar_t>; _CharT = wchar_t; typename std::basic_format_context<_Out, _CharT>::iterator = std::basic_format_context<std::__format::_Sink_iter<wchar_t>, wchar_t>::iterator]' /usr/include/c++/13/format:3659:41: required from 'std::__format::_Formatting_scanner<std::__format::_Sink_iter<wchar_t>, wchar_t>::_M_format_arg(size_t)::<lambda(auto:63&)> [with auto:63 = wchar_t]' /usr/include/c++/13/format:3134:44: required from 'decltype(auto) std::basic_format_arg<_Context>::_M_visit(_Visitor&&, std::__format::_Arg_t) [with _Visitor = std::__format::_Formatting_scanner<std::__format::_Sink_iter<wchar_t>, wchar_t>::_M_format_arg(size_t)::<lambda(auto:63&)>; _Context = std::basic_format_context<std::__format::_Sink_iter<wchar_t>, wchar_t>]' /usr/include/c++/13/format:3192:28: required from 'decltype(auto) std::visit_format_arg(_Visitor&&, basic_format_arg<_Context>) [with _Visitor = __format::_Formatting_scanner<__format::_Sink_iter<wchar_t>, wchar_t>::_M_format_arg(size_t)::<lambda(auto:63&)>; _Context = basic_format_context<__format::_Sink_iter<wchar_t>, wchar_t>]' /usr/include/c++/13/format:3648:23: required from 'constexpr void std::__format::_Formatting_scanner<_Out, _CharT>::_M_format_arg(size_t) [with _Out = std::__format::_Sink_iter<wchar_t>; _CharT = wchar_t; size_t = long unsigned int]' /usr/include/c++/13/format:3643:7: required from here /usr/include/c++/13/format:1178:29: error: no match for 'operator=' (operand types are 'std::basic_string_view<wchar_t>' and '<brace-enclosed initializer list>') 1178 | __str = {__p, size_t(__end - __p)}; | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/13/bits/basic_string.h:47: /usr/include/c++/13/string_view:181:7: note: candidate: 'constexpr std::basic_string_view<_CharT, _Traits>& std::basic_string_view<_CharT, _Traits>::operator=(const std::basic_string_view<_CharT, _Traits>&) [with _CharT = wchar_t; _Traits = std::char_traits<wchar_t>]' 181 | operator=(const basic_string_view&) noexcept = default; | ^~~~~~~~ /usr/include/c++/13/string_view:181:17: note: no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'const std::basic_string_view<wchar_t>&' 181 | operator=(const basic_string_view&) noexcept = default; | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/13/format: In instantiation of 'static void std::__format::__formatter_fp<_CharT>::_S_resize_and_overwrite(std::__cxx11::basic_string<_CharT, std::char_traits<_CharT>, std::allocator<_Tp1> >&, size_t, _Func) [with _Ch = wchar_t; _Func = std::__format::__formatter_fp<wchar_t>::format<float, std::__format::_Sink_iter<wchar_t> >(float, std::basic_format_context<std::__format::_Sink_iter<wchar_t>, wchar_t>&) const::<lambda(wchar_t*, size_t)>; _CharT = wchar_t; size_t = long unsigned int]': /usr/include/c++/13/format:1665:31: required from 'typename std::basic_format_context<_Out, _CharT>::iterator std::__format::__formatter_fp<_CharT>::format(_Fp, std::basic_format_context<_Out, _CharT>&) const [with _Fp = float; _Out = std::__format::_Sink_iter<wchar_t>; _CharT = wchar_t; typename std::basic_format_context<_Out, _CharT>::iterator = std::basic_format_context<std::__format::_Sink_iter<wchar_t>, wchar_t>::iterator]' /usr/include/c++/13/format:2093:22: required from 'typename std::basic_format_context<_Out, _CharT>::iterator std::formatter<_Tp, _CharT>::format(_Tp, std::basic_format_context<_Out, _CharT>&) const [with _Out = std::__format::_Sink_iter<wchar_t>; _Tp = float; _CharT = wchar_t; typename std::basic_format_context<_Out, _CharT>::iterator = std::basic_format_context<std::__format::_Sink_iter<wchar_t>, wchar_t>::iterator]' /usr/include/c++/13/format:3659:41: required from 'std::__format::_Formatting_scanner<std::__format::_Sink_iter<wchar_t>, wchar_t>::_M_format_arg(size_t)::<lambda(auto:63&)> [with auto:63 = float]' /usr/include/c++/13/format:3145:44: required from 'decltype(auto) std::basic_format_arg<_Context>::_M_visit(_Visitor&&, std::__format::_Arg_t) [with _Visitor = std::__format::_Formatting_scanner<std::__format::_Sink_iter<wchar_t>, wchar_t>::_M_format_arg(size_t)::<lambda(auto:63&)>; _Context = std::basic_format_context<std::__format::_Sink_iter<wchar_t>, wchar_t>]' /usr/include/c++/13/format:3192:28: required from 'decltype(auto) std::visit_format_arg(_Visitor&&, basic_format_arg<_Context>) [with _Visitor = __format::_Formatting_scanner<__format::_Sink_iter<wchar_t>, wchar_t>::_M_format_arg(size_t)::<lambda(auto:63&)>; _Context = basic_format_context<__format::_Sink_iter<wchar_t>, wchar_t>]' /usr/include/c++/13/format:3648:23: required from 'constexpr void std::__format::_Formatting_scanner<_Out, _CharT>::_M_format_arg(size_t) [with _Out = std::__format::_Sink_iter<wchar_t>; _CharT = wchar_t; size_t = long unsigned int]' /usr/include/c++/13/format:3643:7: required from here /usr/include/c++/13/format:1770:17: error: 'class std::__cxx11::basic_string<wchar_t>' has no member named 'resize_and_overwrite' 1770 | __str.resize_and_overwrite(__n, __f); | ~~~~~~^~~~~~~~~~~~~~~~~~~~ /usr/include/c++/13/format: In instantiation of 'static void std::__format::__formatter_fp<_CharT>::_S_resize_and_overwrite(std::__cxx11::basic_string<_CharT, std::char_traits<_CharT>, std::allocator<_Tp1> >&, size_t, _Func) [with _Ch = wchar_t; _Func = std::__format::__formatter_fp<wchar_t>::format<double, std::__format::_Sink_iter<wchar_t> >(double, std::basic_format_context<std::__format::_Sink_iter<wchar_t>, wchar_t>&) const::<lambda(wchar_t*, size_t)>; _CharT = wchar_t; size_t = long unsigned int]': /usr/include/c++/13/format:1665:31: required from 'typename std::basic_format_context<_Out, _CharT>::iterator std::__format::__formatter_fp<_CharT>::format(_Fp, std::basic_format_context<_Out, _CharT>&) const [with _Fp = double; _Out = std::__format::_Sink_iter<wchar_t>; _CharT = wchar_t; typename std::basic_format_context<_Out, _CharT>::iterator = std::basic_format_context<std::__format::_Sink_iter<wchar_t>, wchar_t>::iterator]' /usr/include/c++/13/format:2093:22: required from 'typename std::basic_format_context<_Out, _CharT>::iterator std::formatter<_Tp, _CharT>::format(_Tp, std::basic_format_context<_Out, _CharT>&) const [with _Out = std::__format::_Sink_iter<wchar_t>; _Tp = double; _CharT = wchar_t; typename std::basic_format_context<_Out, _CharT>::iterator = std::basic_format_context<std::__format::_Sink_iter<wchar_t>, wchar_t>::iterator]' /usr/include/c++/13/format:3659:41: required from 'std::__format::_Formatting_scanner<std::__format::_Sink_iter<wchar_t>, wchar_t>::_M_format_arg(size_t)::<lambda(auto:63&)> [with auto:63 = double]' /usr/include/c++/13/format:3147:44: required from 'decltype(auto) std::basic_format_arg<_Context>::_M_visit(_Visitor&&, std::__format::_Arg_t) [with _Visitor = std::__format::_Formatting_scanner<std::__format::_Sink_iter<wchar_t>, wchar_t>::_M_format_arg(size_t)::<lambda(auto:63&)>; _Context = std::basic_format_context<std::__format::_Sink_iter<wchar_t>, wchar_t>]' /usr/include/c++/13/format:3192:28: required from 'decltype(auto) std::visit_format_arg(_Visitor&&, basic_format_arg<_Context>) [with _Visitor = __format::_Formatting_scanner<__format::_Sink_iter<wchar_t>, wchar_t>::_M_format_arg(size_t)::<lambda(auto:63&)>; _Context = basic_format_context<__format::_Sink_iter<wchar_t>, wchar_t>]' /usr/include/c++/13/format:3648:23: required from 'constexpr void std::__format::_Formatting_scanner<_Out, _CharT>::_M_format_arg(size_t) [with _Out = std::__format::_Sink_iter<wchar_t>; _CharT = wchar_t; size_t = long unsigned int]' /usr/include/c++/13/format:3643:7: required from here /usr/include/c++/13/format:1770:17: error: 'class std::__cxx11::basic_string<wchar_t>' has no member named 'resize_and_overwrite' /usr/include/c++/13/format: In instantiation of 'static void std::__format::__formatter_fp<_CharT>::_S_resize_and_overwrite(std::__cxx11::basic_string<_CharT, std::char_traits<_CharT>, std::allocator<_Tp1> >&, size_t, _Func) [with _Ch = wchar_t; _Func = std::__format::__formatter_fp<wchar_t>::format<long double, std::__format::_Sink_iter<wchar_t> >(long double, std::basic_format_context<std::__format::_Sink_iter<wchar_t>, wchar_t>&) const::<lambda(wchar_t*, size_t)>; _CharT = wchar_t; size_t = long unsigned int]': /usr/include/c++/13/format:1665:31: required from 'typename std::basic_format_context<_Out, _CharT>::iterator std::__format::__formatter_fp<_CharT>::format(_Fp, std::basic_format_context<_Out, _CharT>&) const [with _Fp = long double; _Out = std::__format::_Sink_iter<wchar_t>; _CharT = wchar_t; typename std::basic_format_context<_Out, _CharT>::iterator = std::basic_format_context<std::__format::_Sink_iter<wchar_t>, wchar_t>::iterator]' /usr/include/c++/13/format:2093:22: required from 'typename std::basic_format_context<_Out, _CharT>::iterator std::formatter<_Tp, _CharT>::format(_Tp, std::basic_format_context<_Out, _CharT>&) const [with _Out = std::__format::_Sink_iter<wchar_t>; _Tp = long double; _CharT = wchar_t; typename std::basic_format_context<_Out, _CharT>::iterator = std::basic_format_context<std::__format::_Sink_iter<wchar_t>, wchar_t>::iterator]' /usr/include/c++/13/format:3659:41: required from 'std::__format::_Formatting_scanner<std::__format::_Sink_iter<wchar_t>, wchar_t>::_M_format_arg(size_t)::<lambda(auto:63&)> [with auto:63 = long double]' /usr/include/c++/13/format:3150:44: required from 'decltype(auto) std::basic_format_arg<_Context>::_M_visit(_Visitor&&, std::__format::_Arg_t) [with _Visitor = std::__format::_Formatting_scanner<std::__format::_Sink_iter<wchar_t>, wchar_t>::_M_format_arg(size_t)::<lambda(auto:63&)>; _Context = std::basic_format_context<std::__format::_Sink_iter<wchar_t>, wchar_t>]' /usr/include/c++/13/format:3192:28: required from 'decltype(auto) std::visit_format_arg(_Visitor&&, basic_format_arg<_Context>) [with _Visitor = __format::_Formatting_scanner<__format::_Sink_iter<wchar_t>, wchar_t>::_M_format_arg(size_t)::<lambda(auto:63&)>; _Context = basic_format_context<__format::_Sink_iter<wchar_t>, wchar_t>]' /usr/include/c++/13/format:3648:23: required from 'constexpr void std::__format::_Formatting_scanner<_Out, _CharT>::_M_format_arg(size_t) [with _Out = std::__format::_Sink_iter<wchar_t>; _CharT = wchar_t; size_t = long unsigned int]' /usr/include/c++/13/format:3643:7: required from here /usr/include/c++/13/format:1770:17: error: 'class std::__cxx11::basic_string<wchar_t>' has no member named 'resize_and_overwrite' /usr/include/c++/13/format: In instantiation of 'static void std::__format::__formatter_fp<_CharT>::_S_resize_and_overwrite(std::__cxx11::basic_string<_CharT, std::char_traits<_CharT>, std::allocator<_Tp1> >&, size_t, _Func) [with _Ch = wchar_t; _Func = std::__format::__formatter_fp<wchar_t>::format<_Float128, std::__format::_Sink_iter<wchar_t> >(_Float128, std::basic_format_context<std::__format::_Sink_iter<wchar_t>, wchar_t>&) const::<lambda(wchar_t*, size_t)>; _CharT = wchar_t; size_t = long unsigned int]': /usr/include/c++/13/format:1665:31: required from 'typename std::basic_format_context<_Out, _CharT>::iterator std::__format::__formatter_fp<_CharT>::format(_Fp, std::basic_format_context<_Out, _CharT>&) const [with _Fp = _Float128; _Out = std::__format::_Sink_iter<wchar_t>; _CharT = wchar_t; typename std::basic_format_context<_Out, _CharT>::iterator = std::basic_format_context<std::__format::_Sink_iter<wchar_t>, wchar_t>::iterator]' /usr/include/c++/13/format:2093:22: required from 'typename std::basic_format_context<_Out, _CharT>::iterator std::formatter<_Tp, _CharT>::format(_Tp, std::basic_format_context<_Out, _CharT>&) const [with _Out = std::__format::_Sink_iter<wchar_t>; _Tp = _Float128; _CharT = wchar_t; typename std::basic_format_context<_Out, _CharT>::iterator = std::basic_format_context<std::__format::_Sink_iter<wchar_t>, wchar_t>::iterator]' /usr/include/c++/13/format:3659:41: required from 'std::__format::_Formatting_scanner<std::__format::_Sink_iter<wchar_t>, wchar_t>::_M_format_arg(size_t)::<lambda(auto:63&)> [with auto:63 = _Float128]' /usr/include/c++/13/format:3178:44: required from 'decltype(auto) std::basic_format_arg<_Context>::_M_visit(_Visitor&&, std::__format::_Arg_t) [with _Visitor = std::__format::_Formatting_scanner<std::__format::_Sink_iter<wchar_t>, wchar_t>::_M_format_arg(size_t)::<lambda(auto:63&)>; _Context = std::basic_format_context<std::__format::_Sink_iter<wchar_t>, wchar_t>]' /usr/include/c++/13/format:3192:28: required from 'decltype(auto) std::visit_format_arg(_Visitor&&, basic_format_arg<_Context>) [with _Visitor = __format::_Formatting_scanner<__format::_Sink_iter<wchar_t>, wchar_t>::_M_format_arg(size_t)::<lambda(auto:63&)>; _Context = basic_format_context<__format::_Sink_iter<wchar_t>, wchar_t>]' /usr/include/c++/13/format:3648:23: required from 'constexpr void std::__format::_Formatting_scanner<_Out, _CharT>::_M_format_arg(size_t) [with _Out = std::__format::_Sink_iter<wchar_t>; _CharT = wchar_t; size_t = long unsigned int]' /usr/include/c++/13/format:3643:7: required from here /usr/include/c++/13/format:1770:17: error: 'class std::__cxx11::basic_string<wchar_t>' has no member named 'resize_and_overwrite' /usr/include/c++/13/format: In instantiation of 'typename std::basic_format_context<_Out, _CharT>::iterator std::__format::__formatter_int<_CharT>::_M_format_int(std::string_view, size_t, std::basic_format_context<_Out, _CharT>&) const [with _Out = std::__format::_Sink_iter<char>; _CharT = char; typename std::basic_format_context<_Out, _CharT>::iterator = std::basic_format_context<std::__format::_Sink_iter<char>, char>::iterator; std::string_view = std::basic_string_view<char>; size_t = long unsigned int]': /usr/include/c++/13/format:1070:24: required from 'typename std::basic_format_context<_Out, _CharT>::iterator std::__format::__formatter_int<_CharT>::format(_Int, std::basic_format_context<_Out, _CharT>&) const [with _Int = unsigned char; _Out = std::__format::_Sink_iter<char>; _CharT = char; typename std::basic_format_context<_Out, _CharT>::iterator = std::basic_format_context<std::__format::_Sink_iter<char>, char>::iterator]' /usr/include/c++/13/format:1808:24: required from 'typename std::basic_format_context<_Out, _CharT>::iterator std::formatter<_CharT, _CharT>::format(_CharT, std::basic_format_context<_Out, _CharT>&) const [with _Out = std::__format::_Sink_iter<char>; _CharT = char; typename std::basic_format_context<_Out, _CharT>::iterator = std::basic_format_context<std::__format::_Sink_iter<char>, char>::iterator]' /usr/include/c++/13/format:3659:41: required from 'std::__format::_Formatting_scanner<std::__format::_Sink_iter<char>, char>::_M_format_arg(size_t)::<lambda(auto:63&)> [with auto:63 = char]' /usr/include/c++/13/format:3134:44: required from 'decltype(auto) std::basic_format_arg<_Context>::_M_visit(_Visitor&&, std::__format::_Arg_t) [with _Visitor = std::__format::_Formatting_scanner<std::__format::_Sink_iter<char>, char>::_M_format_arg(size_t)::<lambda(auto:63&)>; _Context = std::basic_format_context<std::__format::_Sink_iter<char>, char>]' /usr/include/c++/13/format:3192:28: required from 'decltype(auto) std::visit_format_arg(_Visitor&&, basic_format_arg<_Context>) [with _Visitor = __format::_Formatting_scanner<__format::_Sink_iter<char>, char>::_M_format_arg(size_t)::<lambda(auto:63&)>; _Context = basic_format_context<__format::_Sink_iter<char>, char>]' /usr/include/c++/13/format:3648:23: required from 'constexpr void std::__format::_Formatting_scanner<_Out, _CharT>::_M_format_arg(size_t) [with _Out = std::__format::_Sink_iter<char>; _CharT = char; size_t = long unsigned int]' /usr/include/c++/13/format:3643:7: required from here /usr/include/c++/13/format:1178:29: error: no match for 'operator=' (operand types are 'std::basic_string_view<char>' and '<brace-enclosed initializer list>') 1178 | __str = {__p, size_t(__end - __p)}; | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/13/string_view:181:7: note: candidate: 'constexpr std::basic_string_view<_CharT, _Traits>& std::basic_string_view<_CharT, _Traits>::operator=(const std::basic_string_view<_CharT, _Traits>&) [with _CharT = char; _Traits = std::char_traits<char>]' 181 | operator=(const basic_string_view&) noexcept = default; | ^~~~~~~~ /usr/include/c++/13/string_view:181:17: note: no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'const std::basic_string_view<char>&' 181 | operator=(const basic_string_view&) noexcept = default; | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/13/bits/basic_string.h: In instantiation of 'constexpr bool std::operator==(const __cxx11::basic_string<_CharT, _Traits, _Allocator>&, const _CharT*) [with _CharT = char; _Traits = char_traits<char>; _Alloc = allocator<char>]': /usr/include/c++/13/format:1160:23: required from 'typename std::basic_format_context<_Out, _CharT>::iterator std::__format::__formatter_int<_CharT>::_M_format_int(std::string_view, size_t, std::basic_format_context<_Out, _CharT>&) const [with _Out = std::__format::_Sink_iter<wchar_t>; _CharT = wchar_t; typename std::basic_format_context<_Out, _CharT>::iterator = std::basic_format_context<std::__format::_Sink_iter<wchar_t>, wchar_t>::iterator; std::string_view = std::basic_string_view<char>; size_t = long unsigned int]' /usr/include/c++/13/format:1070:24: required from 'typename std::basic_format_context<_Out, _CharT>::iterator std::__format::__formatter_int<_CharT>::format(_Int, std::basic_format_context<_Out, _CharT>&) const [with _Int = unsigned int; _Out = std::__format::_Sink_iter<wchar_t>; _CharT = wchar_t; typename std::basic_format_context<_Out, _CharT>::iterator = std::basic_format_context<std::__format::_Sink_iter<wchar_t>, wchar_t>::iterator]' /usr/include/c++/13/format:1808:24: required from 'typename std::basic_format_context<_Out, _CharT>::iterator std::formatter<_CharT, _CharT>::format(_CharT, std::basic_format_context<_Out, _CharT>&) const [with _Out = std::__format::_Sink_iter<wchar_t>; _CharT = wchar_t; typename std::basic_format_context<_Out, _CharT>::iterator = std::basic_format_context<std::__format::_Sink_iter<wchar_t>, wchar_t>::iterator]' /usr/include/c++/13/format:3659:41: required from 'std::__format::_Formatting_scanner<std::__format::_Sink_iter<wchar_t>, wchar_t>::_M_format_arg(size_t)::<lambda(auto:63&)> [with auto:63 = wchar_t]' /usr/include/c++/13/format:3134:44: required from 'decltype(auto) std::basic_format_arg<_Context>::_M_visit(_Visitor&&, std::__format::_Arg_t) [with _Visitor = std::__format::_Formatting_scanner<std::__format::_Sink_iter<wchar_t>, wchar_t>::_M_format_arg(size_t)::<lambda(auto:63&)>; _Context = std::basic_format_context<std::__format::_Sink_iter<wchar_t>, wchar_t>]' /usr/include/c++/13/format:3192:28: required from 'decltype(auto) std::visit_format_arg(_Visitor&&, basic_format_arg<_Context>) [with _Visitor = __format::_Formatting_scanner<__format::_Sink_iter<wchar_t>, wchar_t>::_M_format_arg(size_t)::<lambda(auto:63&)>; _Context = basic_format_context<__format::_Sink_iter<wchar_t>, wchar_t>]' /usr/include/c++/13/format:3648:23: required from 'constexpr void std::__format::_Formatting_scanner<_Out, _CharT>::_M_format_arg(size_t) [with _Out = std::__format::_Sink_iter<wchar_t>; _CharT = wchar_t; size_t = long unsigned int]' /usr/include/c++/13/format:3643:7: required from here /usr/include/c++/13/bits/basic_string.h:3730:20: error: 'const class std::__cxx11::basic_string<char>' has no member named 'size' 3730 | return __lhs.size() == _Traits::length(__rhs) | ~~~~~~^~~~ /usr/include/c++/13/bits/basic_string.h:3731:64: error: 'const class std::__cxx11::basic_string<char>' has no member named 'size' 3731 | && !_Traits::compare(__lhs.data(), __rhs, __lhs.size()); | ~~~~~~^~~~ /usr/include/c++/13/format: In instantiation of 'static void std::__format::__formatter_fp<_CharT>::_S_resize_and_overwrite(std::__cxx11::basic_string<_CharT, std::char_traits<_CharT>, std::allocator<_Tp1> >&, size_t, _Func) [with _Ch = wchar_t; _Func = std::__format::__formatter_fp<wchar_t>::_M_localize(std::basic_string_view<wchar_t>, char, const std::locale&) const::<lambda(wchar_t*, size_t)>; _CharT = wchar_t; size_t = long unsigned int]': /usr/include/c++/13/format:1761:25: required from 'std::__cxx11::basic_string<_CharT> std::__format::__formatter_fp<_CharT>::_M_localize(std::basic_string_view<_CharT>, char, const std::locale&) const [with _CharT = wchar_t]' /usr/include/c++/13/format:1674:12: required from 'typename std::basic_format_context<_Out, _CharT>::iterator std::__format::__formatter_fp<_CharT>::format(_Fp, std::basic_format_context<_Out, _CharT>&) const [with _Fp = float; _Out = std::__format::_Sink_iter<wchar_t>; _CharT = wchar_t; typename std::basic_format_context<_Out, _CharT>::iterator = std::basic_format_context<std::__format::_Sink_iter<wchar_t>, wchar_t>::iterator]' /usr/include/c++/13/format:2093:22: required from 'typename std::basic_format_context<_Out, _CharT>::iterator std::formatter<_Tp, _CharT>::format(_Tp, std::basic_format_context<_Out, _CharT>&) const [with _Out = std::__format::_Sink_iter<wchar_t>; _Tp = float; _CharT = wchar_t; typename std::basic_format_context<_Out, _CharT>::iterator = std::basic_format_context<std::__format::_Sink_iter<wchar_t>, wchar_t>::iterator]' /usr/include/c++/13/format:3659:41: required from 'std::__format::_Formatting_scanner<std::__format::_Sink_iter<wchar_t>, wchar_t>::_M_format_arg(size_t)::<lambda(auto:63&)> [with auto:63 = float]' /usr/include/c++/13/format:3145:44: required from 'decltype(auto) std::basic_format_arg<_Context>::_M_visit(_Visitor&&, std::__format::_Arg_t) [with _Visitor = std::__format::_Formatting_scanner<std::__format::_Sink_iter<wchar_t>, wchar_t>::_M_format_arg(size_t)::<lambda(auto:63&)>; _Context = std::basic_format_context<std::__format::_Sink_iter<wchar_t>, wchar_t>]' /usr/include/c++/13/format:3192:28: required from 'decltype(auto) std::visit_format_arg(_Visitor&&, basic_format_arg<_Context>) [with _Visitor = __format::_Formatting_scanner<__format::_Sink_iter<wchar_t>, wchar_t>::_M_format_arg(size_t)::<lambda(auto:63&)>; _Context = basic_format_context<__format::_Sink_iter<wchar_t>, wchar_t>]' /usr/include/c++/13/format:3648:23: required from 'constexpr void std::__format::_Formatting_scanner<_Out, _CharT>::_M_format_arg(size_t) [with _Out = std::__format::_Sink_iter<wchar_t>; _CharT = wchar_t; size_t = long unsigned int]' /usr/include/c++/13/format:3643:7: required from here /usr/include/c++/13/format:1770:17: error: 'class std::__cxx11::basic_string<wchar_t>' has no member named 'resize_and_overwrite' 1770 | __str.resize_and_overwrite(__n, __f); | ~~~~~~^~~~~~~~~~~~~~~~~~~~ /usr/include/c++/13/format: In instantiation of 'static void std::__format::__formatter_fp<_CharT>::_S_resize_and_overwrite(std::__cxx11::basic_string<_CharT, std::char_traits<_CharT>, std::allocator<_Tp1> >&, size_t, _Func) [with _Ch = char; _Func = std::__format::__formatter_fp<char>::_M_localize(std::basic_string_view<char>, char, const std::locale&) const::<lambda(char*, size_t)>; _CharT = char; size_t = long unsigned int]': /usr/include/c++/13/format:1761:25: required from 'std::__cxx11::basic_string<_CharT> std::__format::__formatter_fp<_CharT>::_M_localize(std::basic_string_view<_CharT>, char, const std::locale&) const [with _CharT = char]' /usr/include/c++/13/format:1672:12: required from 'typename std::basic_format_context<_Out, _CharT>::iterator std::__format::__formatter_fp<_CharT>::format(_Fp, std::basic_format_context<_Out, _CharT>&) const [with _Fp = float; _Out = std::__format::_Sink_iter<char>; _CharT = char; typename std::basic_format_context<_Out, _CharT>::iterator = std::basic_format_context<std::__format::_Sink_iter<char>, char>::iterator]' /usr/include/c++/13/format:2093:22: required from 'typename std::basic_format_context<_Out, _CharT>::iterator std::formatter<_Tp, _CharT>::format(_Tp, std::basic_format_context<_Out, _CharT>&) const [with _Out = std::__format::_Sink_iter<char>; _Tp = float; _CharT = char; typename std::basic_format_context<_Out, _CharT>::iterator = std::basic_format_context<std::__format::_Sink_iter<char>, char>::iterator]' /usr/include/c++/13/format:3659:41: required from 'std::__format::_Formatting_scanner<std::__format::_Sink_iter<char>, char>::_M_format_arg(size_t)::<lambda(auto:63&)> [with auto:63 = float]' /usr/include/c++/13/format:3145:44: required from 'decltype(auto) std::basic_format_arg<_Context>::_M_visit(_Visitor&&, std::__format::_Arg_t) [with _Visitor = std::__format::_Formatting_scanner<std::__format::_Sink_iter<char>, char>::_M_format_arg(size_t)::<lambda(auto:63&)>; _Context = std::basic_format_context<std::__format::_Sink_iter<char>, char>]' /usr/include/c++/13/format:3192:28: required from 'decltype(auto) std::visit_format_arg(_Visitor&&, basic_format_arg<_Context>) [with _Visitor = __format::_Formatting_scanner<__format::_Sink_iter<char>, char>::_M_format_arg(size_t)::<lambda(auto:63&)>; _Context = basic_format_context<__format::_Sink_iter<char>, char>]' /usr/include/c++/13/format:3648:23: required from 'constexpr void std::__format::_Formatting_scanner<_Out, _CharT>::_M_format_arg(size_t) [with _Out = std::__format::_Sink_iter<char>; _CharT = char; size_t = long unsigned int]' /usr/include/c++/13/format:3643:7: required from here /usr/include/c++/13/format:1770:17: error: 'class std::__cxx11::basic_string<char>' has no member named 'resize_and_overwrite'
テストセット
セット名
点数
結果
実行時間
メモリ
ケース
テストケース
ケース名
結果
実行時間
メモリ