Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- gcc version 4.6.3
- exit status 1
- main.cpp:1:1: error: 'Vam' does not name a type
- Vam//c++ is an object orientented language
- ^~~
- In file included from /usr/local/include/c++/8.1.0/iosfwd:40,
- from /usr/local/include/c++/8.1.0/ios:38,
- from /usr/local/include/c++/8.1.0/ostream:38,
- from /usr/local/include/c++/8.1.0/iostream:39,
- from main.cpp:3:
- /usr/local/include/c++/8.1.0/bits/postypes.h:98:11: error: 'ptrdiff_t' does not name a type
- typedef ptrdiff_t streamsize; // Signed integral type
- ^~~~~~~~~
- /usr/local/include/c++/8.1.0/bits/postypes.h:98:11: note: 'ptrdiff_t' is defined in header '<cstddef>'; did you forget to '#include <cstddef>'?
- /usr/local/include/c++/8.1.0/bits/postypes.h:41:1:
- +#include <cstddef>
- /usr/local/include/c++/8.1.0/bits/postypes.h:98:11:
- typedef ptrdiff_t streamsize; // Signed integral type
- ^~~~~~~~~
- In file included from /usr/local/include/c++/8.1.0/bits/exception_ptr.h:40,
- from /usr/local/include/c++/8.1.0/exception:143,
- from /usr/local/include/c++/8.1.0/ios:39,
- from /usr/local/include/c++/8.1.0/ostream:38,
- from /usr/local/include/c++/8.1.0/iostream:39,
- from main.cpp:3:
- /usr/local/include/c++/8.1.0/new:120:31: error: declaration of 'operator new' as non-function
- void* operator new(std::size_t) _GLIBCXX_THROW (std::bad_alloc)
- ^
- /usr/local/include/c++/8.1.0/new:120:25: error: 'size_t' is not a member of 'std'
- void* operator new(std::size_t) _GLIBCXX_THROW (std::bad_alloc)
- ^~~~~~
- /usr/local/include/c++/8.1.0/new:120:25: note: suggested alternative:
- In file included from /usr/include/wchar.h:51,
- from /usr/local/include/c++/8.1.0/cwchar:44,
- from /usr/local/include/c++/8.1.0/bits/postypes.h:40,
- from /usr/local/include/c++/8.1.0/iosfwd:40,
- from /usr/local/include/c++/8.1.0/ios:38,
- from /usr/local/include/c++/8.1.0/ostream:38,
- from /usr/local/include/c++/8.1.0/iostream:39,
- from main.cpp:3:
- /usr/local/lib/gcc/x86_64-linux-gnu/8.1.0/include/stddef.h:216:23: note: 'size_t'
- typedef __SIZE_TYPE__ size_t;
- ^~~~~~
- In file included from /usr/local/include/c++/8.1.0/bits/exception_ptr.h:40,
- from /usr/local/include/c++/8.1.0/exception:143,
- from /usr/local/include/c++/8.1.0/ios:39,
- from /usr/local/include/c++/8.1.0/ostream:38,
- from /usr/local/include/c++/8.1.0/iostream:39,
- from main.cpp:3:
- /usr/local/include/c++/8.1.0/new:121:41: error: attributes after parenthesized initializer ignored [-fpermissive]
- __attribute__((__externally_visible__));
- ^
- /usr/local/include/c++/8.1.0/new:122:33: error: declaration of 'operator new []' as non-function
- void* operator new[](std::size_t) _GLIBCXX_THROW (std::bad_alloc)
- ^
- /usr/local/include/c++/8.1.0/new:122:27: error: 'size_t' is not a member of 'std'
- void* operator new[](std::size_t) _GLIBCXX_THROW (std::bad_alloc)
- ^~~~~~
- /usr/local/include/c++/8.1.0/new:122:27: note: suggested alternative:
- In file included from /usr/include/wchar.h:51,
- from /usr/local/include/c++/8.1.0/cwchar:44,
- from /usr/local/include/c++/8.1.0/bits/postypes.h:40,
- from /usr/local/include/c++/8.1.0/iosfwd:40,
- from /usr/local/include/c++/8.1.0/ios:38,
- from /usr/local/include/c++/8.1.0/ostream:38,
- from /usr/local/include/c++/8.1.0/iostream:39,
- from main.cpp:3:
- /usr/local/lib/gcc/x86_64-linux-gnu/8.1.0/include/stddef.h:216:23: note: 'size_t'
- typedef __SIZE_TYPE__ size_t;
- ^~~~~~
- In file included from /usr/local/include/c++/8.1.0/bits/exception_ptr.h:40,
- from /usr/local/include/c++/8.1.0/exception:143,
- from /usr/local/include/c++/8.1.0/ios:39,
- from /usr/local/include/c++/8.1.0/ostream:38,
- from /usr/local/include/c++/8.1.0/iostream:39,
- from main.cpp:3:
- /usr/local/include/c++/8.1.0/new:123:41: error: attributes after parenthesized initializer ignored [-fpermissive]
- __attribute__((__externally_visible__));
- ^
- /usr/local/include/c++/8.1.0/new:134:25: error: declaration of 'operator new' as non-function
- void* operator new(std::size_t, const std::nothrow_t&) _GLIBCXX_USE_NOEXCEPT
- ^~~~~~
- /usr/local/include/c++/8.1.0/new:134:25: error: 'size_t' is not a member of 'std'
- /usr/local/include/c++/8.1.0/new:134:25: note: suggested alternative:
- In file included from /usr/include/wchar.h:51,
- from /usr/local/include/c++/8.1.0/cwchar:44,
- from /usr/local/include/c++/8.1.0/bits/postypes.h:40,
- from /usr/local/include/c++/8.1.0/iosfwd:40,
- from /usr/local/include/c++/8.1.0/ios:38,
- from /usr/local/include/c++/8.1.0/ostream:38,
- from /usr/local/include/c++/8.1.0/iostream:39,
- from main.cpp:3:
- /usr/local/lib/gcc/x86_64-linux-gnu/8.1.0/include/stddef.h:216:23: note: 'size_t'
- typedef __SIZE_TYPE__ size_t;
- ^~~~~~
- In file included from /usr/local/include/c++/8.1.0/bits/exception_ptr.h:40,
- from /usr/local/include/c++/8.1.0/exception:143,
- from /usr/local/include/c++/8.1.0/ios:39,
- from /usr/local/include/c++/8.1.0/ostream:38,
- from /usr/local/include/c++/8.1.0/iostream:39,
- from main.cpp:3:
- /usr/local/include/c++/8.1.0/new:134:33: error: expected primary-expression before 'const'
- void* operator new(std::size_t, const std::nothrow_t&) _GLIBCXX_USE_NOEXCEPT
- ^~~~~
- /usr/local/include/c++/8.1.0/new:136:27: error: declaration of 'operator new []' as non-function
- void* operator new[](std::size_t, const std::nothrow_t&) _GLIBCXX_USE_NOEXCEPT
- ^~~~~~
- /usr/local/include/c++/8.1.0/new:136:27: error: 'size_t' is not a member of 'std'
- /usr/local/include/c++/8.1.0/new:136:27: note: suggested alternative:
- In file included from /usr/include/wchar.h:51,
- from /usr/local/include/c++/8.1.0/cwchar:44,
- from /usr/local/include/c++/8.1.0/bits/postypes.h:40,
- from /usr/local/include/c++/8.1.0/iosfwd:40,
- from /usr/local/include/c++/8.1.0/ios:38,
- from /usr/local/include/c++/8.1.0/ostream:38,
- from /usr/local/include/c++/8.1.0/iostream:39,
- from main.cpp:3:
- /usr/local/lib/gcc/x86_64-linux-gnu/8.1.0/include/stddef.h:216:23: note: 'size_t'
- typedef __SIZE_TYPE__ size_t;
- ^~~~~~
- In file included from /usr/local/include/c++/8.1.0/bits/exception_ptr.h:40,
- from /usr/local/include/c++/8.1.0/exception:143,
- from /usr/local/include/c++/8.1.0/ios:39,
- from /usr/local/include/c++/8.1.0/ostream:38,
- from /usr/local/include/c++/8.1.0/iostream:39,
- from main.cpp:3:
- /usr/local/include/c++/8.1.0/new:136:35: error: expected primary-expression before 'const'
- void* operator new[](std::size_t, const std::nothrow_t&) _GLIBCXX_USE_NOEXCEPT
- ^~~~~
- /usr/local/include/c++/8.1.0/new:168:32: error: declaration of 'operator new' as non-function
- inline void* operator new(std::size_t, void* __p) _GLIBCXX_USE_NOEXCEPT
- ^~~~~~
- /usr/local/include/c++/8.1.0/new:168:32: error: 'size_t' is not a member of 'std'
- /usr/local/include/c++/8.1.0/new:168:32: note: suggested alternative:
- In file included from /usr/include/wchar.h:51,
- from /usr/local/include/c++/8.1.0/cwchar:44,
- from /usr/local/include/c++/8.1.0/bits/postypes.h:40,
- from /usr/local/include/c++/8.1.0/iosfwd:40,
- from /usr/local/include/c++/8.1.0/ios:38,
- from /usr/local/include/c++/8.1.0/ostream:38,
- from /usr/local/include/c++/8.1.0/iostream:39,
- from main.cpp:3:
- /usr/local/lib/gcc/x86_64-linux-gnu/8.1.0/include/stddef.h:216:23: note: 'size_t'
- typedef __SIZE_TYPE__ size_t;
- ^~~~~~
- In file included from /usr/local/include/c++/8.1.0/bits/exception_ptr.h:40,
- from /usr/local/include/c++/8.1.0/exception:143,
- from /usr/local/include/c++/8.1.0/ios:39,
- from /usr/local/include/c++/8.1.0/ostream:38,
- from /usr/local/include/c++/8.1.0/iostream:39,
- from main.cpp:3:
- /usr/local/include/c++/8.1.0/new:168:40: error: expected primary-expression before 'void'
- inline void* operator new(std::size_t, void* __p) _GLIBCXX_USE_NOEXCEPT
- ^~~~
- /usr/local/include/c++/8.1.0/new:170:34: error: declaration of 'operator new []' as non-function
- inline void* operator new[](std::size_t, void* __p) _GLIBCXX_USE_NOEXCEPT
- ^~~~~~
- /usr/local/include/c++/8.1.0/new:170:34: error: 'size_t' is not a member of 'std'
- /usr/local/include/c++/8.1.0/new:170:34: note: suggested alternative:
- In file included from /usr/include/wchar.h:51,
- from /usr/local/include/c++/8.1.0/cwchar:44,
- from /usr/local/include/c++/8.1.0/bits/postypes.h:40,
- from /usr/local/include/c++/8.1.0/iosfwd:40,
- from /usr/local/include/c++/8.1.0/ios:38,
- from /usr/local/include/c++/8.1.0/ostream:38,
- from /usr/local/include/c++/8.1.0/iostream:39,
- from main.cpp:3:
- /usr/local/lib/gcc/x86_64-linux-gnu/8.1.0/include/stddef.h:216:23: note: 'size_t'
- typedef __SIZE_TYPE__ size_t;
- ^~~~~~
- In file included from /usr/local/include/c++/8.1.0/bits/exception_ptr.h:40,
- from /usr/local/include/c++/8.1.0/exception:143,
- from /usr/local/include/c++/8.1.0/ios:39,
- from /usr/local/include/c++/8.1.0/ostream:38,
- from /usr/local/include/c++/8.1.0/iostream:39,
- from main.cpp:3:
- /usr/local/include/c++/8.1.0/new:170:42: error: expected primary-expression before 'void'
- inline void* operator new[](std::size_t, void* __p) _GLIBCXX_USE_NOEXCEPT
- ^~~~
- In file included from /usr/local/include/c++/8.1.0/bits/move.h:55,
- from /usr/local/include/c++/8.1.0/bits/nested_exception.h:40,
- from /usr/local/include/c++/8.1.0/exception:144,
- from /usr/local/include/c++/8.1.0/ios:39,
- from /usr/local/include/c++/8.1.0/ostream:38,
- from /usr/local/include/c++/8.1.0/iostream:39,
- from main.cpp:3:
- /usr/local/include/c++/8.1.0/type_traits:362:31: error: 'std::size_t' has not been declared
- template<typename _Tp, std::size_t _Size>
- ^~~~~~
- /usr/local/include/c++/8.1.0/type_traits:363:25: error: '_Size' was not declared in this scope
- struct is_array<_Tp[_Size]>
- ^~~~~
- /usr/local/include/c++/8.1.0/type_traits:363:31: error: template argument 1 is invalid
- struct is_array<_Tp[_Size]>
- ^
- /usr/local/include/c++/8.1.0/type_traits:561:42: error: 'nullptr_t' is not a member of 'std'
- struct __is_null_pointer_helper<std::nullptr_t>
- ^~~~~~~~~
- /usr/local/include/c++/8.1.0/type_traits:561:42: note: suggested alternative:
- In file included from /usr/local/include/c++/8.1.0/bits/cxxabi_init_exception.h:38,
- from /usr/local/include/c++/8.1.0/bits/exception_ptr.h:38,
- from /usr/local/include/c++/8.1.0/exception:143,
- from /usr/local/include/c++/8.1.0/ios:39,
- from /usr/local/include/c++/8.1.0/ostream:38,
- from /usr/local/include/c++/8.1.0/iostream:39,
- from main.cpp:3:
- /usr/local/lib/gcc/x86_64-linux-gnu/8.1.0/include/stddef.h:444:29: note: 'nullptr_t'
- typedef decltype(nullptr) nullptr_t;
- ^~~~~~~~~
- In file included from /usr/local/include/c++/8.1.0/bits/move.h:55,
- from /usr/local/include/c++/8.1.0/bits/nested_exception.h:40,
- from /usr/local/include/c++/8.1.0/exception:144,
- from /usr/local/include/c++/8.1.0/ios:39,
- from /usr/local/include/c++/8.1.0/ostream:38,
- from /usr/local/include/c++/8.1.0/iostream:39,
- from main.cpp:3:
- /usr/local/include/c++/8.1.0/type_traits:561:42: error: 'nullptr_t' is not a member of 'std'
- struct __is_null_pointer_helper<std::nullptr_t>
- ^~~~~~~~~
- /usr/local/include/c++/8.1.0/type_traits:561:42: note: suggested alternative:
- In file included from /usr/local/include/c++/8.1.0/bits/cxxabi_init_exception.h:38,
- from /usr/local/include/c++/8.1.0/bits/exception_ptr.h:38,
- from /usr/local/include/c++/8.1.0/exception:143,
- from /usr/local/include/c++/8.1.0/ios:39,
- from /usr/local/include/c++/8.1.0/ostream:38,
- from /usr/local/include/c++/8.1.0/iostream:39,
- from main.cpp:3:
- /usr/local/lib/gcc/x86_64-linux-gnu/8.1.0/include/stddef.h:444:29: note: 'nullptr_t'
- typedef decltype(nullptr) nullptr_t;
- ^~~~~~~~~
- In file included from /usr/local/include/c++/8.1.0/bits/move.h:55,
- from /usr/local/include/c++/8.1.0/bits/nested_exception.h:40,
- from /usr/local/include/c++/8.1.0/exception:144,
- from /usr/local/include/c++/8.1.0/ios:39,
- from /usr/local/include/c++/8.1.0/ostream:38,
- from /usr/local/include/c++/8.1.0/iostream:39,
- from main.cpp:3:
- /usr/local/include/c++/8.1.0/type_traits:561:51: error: template argument 1 is invalid
- struct __is_null_pointer_helper<std::nullptr_t>
- ^
- /usr/local/include/c++/8.1.0/type_traits:1300:37: error: 'size_t' is not a member of 'std'
- : public integral_constant<std::size_t, __alignof__(_Tp)> { };
- ^~~~~~
- /usr/local/include/c++/8.1.0/type_traits:1300:37: note: suggested alternative:
- In file included from /usr/include/wchar.h:51,
- from /usr/local/include/c++/8.1.0/cwchar:44,
- from /usr/local/include/c++/8.1.0/bits/postypes.h:40,
- from /usr/local/include/c++/8.1.0/iosfwd:40,
- from /usr/local/include/c++/8.1.0/ios:38,
- from /usr/local/include/c++/8.1.0/ostream:38,
- from /usr/local/include/c++/8.1.0/iostream:39,
- from main.cpp:3:
- /usr/local/lib/gcc/x86_64-linux-gnu/8.1.0/include/stddef.h:216:23: note: 'size_t'
- typedef __SIZE_TYPE__ size_t;
- ^~~~~~
- In file included from /usr/local/include/c++/8.1.0/bits/move.h:55,
- from /usr/local/include/c++/8.1.0/bits/nested_exception.h:40,
- from /usr/local/include/c++/8.1.0/exception:144,
- from /usr/local/include/c++/8.1.0/ios:39,
- from /usr/local/include/c++/8.1.0/ostream:38,
- from /usr/local/include/c++/8.1.0/iostream:39,
- from main.cpp:3:
- /usr/local/include/c++/8.1.0/type_traits:1300:37: error: 'size_t' is not a member of 'std'
- : public integral_constant<std::size_t, __alignof__(_Tp)> { };
- ^~~~~~
- /usr/local/include/c++/8.1.0/type_traits:1300:37: note: suggested alternative:
- In file included from /usr/include/wchar.h:51,
- from /usr/local/include/c++/8.1.0/cwchar:44,
- from /usr/local/include/c++/8.1.0/bits/postypes.h:40,
- from /usr/local/include/c++/8.1.0/iosfwd:40,
- from /usr/local/include/c++/8.1.0/ios:38,
- from /usr/local/include/c++/8.1.0/ostream:38,
- from /usr/local/include/c++/8.1.0/iostream:39,
- from main.cpp:3:
- /usr/local/lib/gcc/x86_64-linux-gnu/8.1.0/include/stddef.h:216:23: note: 'size_t'
- typedef __SIZE_TYPE__ size_t;
- ^~~~~~
- In file included from /usr/local/include/c++/8.1.0/bits/move.h:55,
- from /usr/local/include/c++/8.1.0/bits/nested_exception.h:40,
- from /usr/local/include/c++/8.1.0/exception:144,
- from /usr/local/include/c++/8.1.0/ios:39,
- from /usr/local/include/c++/8.1.0/ostream:38,
- from /usr/local/include/c++/8.1.0/iostream:39,
- from main.cpp:3:
- /usr/local/include/c++/8.1.0/type_traits:1300:61: error: template argument 1 is invalid
- : public integral_constant<std::size_t, __alignof__(_Tp)> { };
- ^
- /usr/local/include/c++/8.1.0/type_traits:1300:61: note: invalid template non-type parameter
- /usr/local/include/c++/8.1.0/type_traits:1305:37: error: 'size_t' is not a member of 'std'
- : public integral_constant<std::size_t, 0> { };
- ^~~~~~
- /usr/local/include/c++/8.1.0/type_traits:1305:37: note: suggested alternative:
- In file included from /usr/include/wchar.h:51,
- from /usr/local/include/c++/8.1.0/cwchar:44,
- from /usr/local/include/c++/8.1.0/bits/postypes.h:40,
- from /usr/local/include/c++/8.1.0/iosfwd:40,
- from /usr/local/include/c++/8.1.0/ios:38,
- from /usr/local/include/c++/8.1.0/ostream:38,
- from /usr/local/include/c++/8.1.0/iostream:39,
- from main.cpp:3:
- /usr/local/lib/gcc/x86_64-linux-gnu/8.1.0/include/stddef.h:216:23: note: 'size_t'
- typedef __SIZE_TYPE__ size_t;
- ^~~~~~
- In file included from /usr/local/include/c++/8.1.0/bits/move.h:55,
- from /usr/local/include/c++/8.1.0/bits/nested_exception.h:40,
- from /usr/local/include/c++/8.1.0/exception:144,
- from /usr/local/include/c++/8.1.0/ios:39,
- from /usr/local/include/c++/8.1.0/ostream:38,
- from /usr/local/include/c++/8.1.0/iostream:39,
- from main.cpp:3:
- /usr/local/include/c++/8.1.0/type_traits:1305:37: error: 'size_t' is not a member of 'std'
- : public integral_constant<std::size_t, 0> { };
- ^~~~~~
- /usr/local/include/c++/8.1.0/type_traits:1305:37: note: suggested alternative:
- In file included from /usr/include/wchar.h:51,
- from /usr/local/include/c++/8.1.0/cwchar:44,
- from /usr/local/include/c++/8.1.0/bits/postypes.h:40,
- from /usr/local/include/c++/8.1.0/iosfwd:40,
- from /usr/local/include/c++/8.1.0/ios:38,
- from /usr/local/include/c++/8.1.0/ostream:38,
- from /usr/local/include/c++/8.1.0/iostream:39,
- from main.cpp:3:
- /usr/local/lib/gcc/x86_64-linux-gnu/8.1.0/include/stddef.h:216:23: note: 'size_t'
- typedef __SIZE_TYPE__ size_t;
- ^~~~~~
- In file included from /usr/local/include/c++/8.1.0/bits/move.h:55,
- from /usr/local/include/c++/8.1.0/bits/nested_exception.h:40,
- from /usr/local/include/c++/8.1.0/exception:144,
- from /usr/local/include/c++/8.1.0/ios:39,
- from /usr/local/include/c++/8.1.0/ostream:38,
- from /usr/local/include/c++/8.1.0/iostream:39,
- from main.cpp:3:
- /usr/local/include/c++/8.1.0/type_traits:1305:46: error: template argument 1 is invalid
- : public integral_constant<std::size_t, 0> { };
- ^
- /usr/local/include/c++/8.1.0/type_traits:1305:46: note: invalid template non-type parameter
- /usr/local/include/c++/8.1.0/type_traits:1307:31: error: 'std::size_t' has not been declared
- template<typename _Tp, std::size_t _Size>
- ^~~~~~
- /usr/local/include/c++/8.1.0/type_traits:1308:21: error: '_Size' was not declared in this scope
- struct rank<_Tp[_Size]>
- ^~~~~
- /usr/local/include/c++/8.1.0/type_traits:1308:27: error: template argument 1 is invalid
- struct rank<_Tp[_Size]>
- ^
- /usr/local/include/c++/8.1.0/type_traits:1309:37: error: 'size_t' is not a member of 'std'
- : public integral_constant<std::size_t, 1 + rank<_Tp>::value> { };
- ^~~~~~
- /usr/local/include/c++/8.1.0/type_traits:1309:37: note: suggested alternative:
- In file included from /usr/include/wchar.h:51,
- from /usr/local/include/c++/8.1.0/cwchar:44,
- from /usr/local/include/c++/8.1.0/bits/postypes.h:40,
- from /usr/local/include/c++/8.1.0/iosfwd:40,
- from /usr/local/include/c++/8.1.0/ios:38,
- from /usr/local/include/c++/8.1.0/ostream:38,
- from /usr/local/include/c++/8.1.0/iostream:39,
- from main.cpp:3:
- /usr/local/lib/gcc/x86_64-linux-gnu/8.1.0/include/stddef.h:216:23: note: 'size_t'
- typedef __SIZE_TYPE__ size_t;
- ^~~~~~
- In file included from /usr/local/include/c++/8.1.0/bits/move.h:55,
- from /usr/local/include/c++/8.1.0/bits/nested_exception.h:40,
- from /usr/local/include/c++/8.1.0/exception:144,
- from /usr/local/include/c++/8.1.0/ios:39,
- from /usr/local/include/c++/8.1.0/ostream:38,
- from /usr/local/include/c++/8.1.0/iostream:39,
- from main.cpp:3:
- /usr/local/include/c++/8.1.0/type_traits:1309:37: error: 'size_t' is not a member of 'std'
- : public integral_constant<std::size_t, 1 + rank<_Tp>::value> { };
- ^~~~~~
- /usr/local/include/c++/8.1.0/type_traits:1309:37: note: suggested alternative:
- In file included from /usr/include/wchar.h:51,
- from /usr/local/include/c++/8.1.0/cwchar:44,
- from /usr/local/include/c++/8.1.0/bits/postypes.h:40,
- from /usr/local/include/c++/8.1.0/iosfwd:40,
- from /usr/local/include/c++/8.1.0/ios:38,
- from /usr/local/include/c++/8.1.0/ostream:38,
- from /usr/local/include/c++/8.1.0/iostream:39,
- from main.cpp:3:
- /usr/local/lib/gcc/x86_64-linux-gnu/8.1.0/include/stddef.h:216:23: note: 'size_t'
- typedef __SIZE_TYPE__ size_t;
- ^~~~~~
- In file included from /usr/local/include/c++/8.1.0/bits/move.h:55,
- from /usr/local/include/c++/8.1.0/bits/nested_exception.h:40,
- from /usr/local/include/c++/8.1.0/exception:144,
- from /usr/local/include/c++/8.1.0/ios:39,
- from /usr/local/include/c++/8.1.0/ostream:38,
- from /usr/local/include/c++/8.1.0/iostream:39,
- from main.cpp:3:
- /usr/local/include/c++/8.1.0/type_traits:1309:65: error: template argument 1 is invalid
- : public integral_constant<std::size_t, 1 + rank<_Tp>::value> { };
- ^
- /usr/local/include/c++/8.1.0/type_traits:1309:65: note: invalid template non-type parameter
- /usr/local/include/c++/8.1.0/type_traits:1313:37: error: 'size_t' is not a member of 'std'
- : public integral_constant<std::size_t, 1 + rank<_Tp>::value> { };
- ^~~~~~
- /usr/local/include/c++/8.1.0/type_traits:1313:37: note: suggested alternative:
- In file included from /usr/include/wchar.h:51,
- from /usr/local/include/c++/8.1.0/cwchar:44,
- from /usr/local/include/c++/8.1.0/bits/postypes.h:40,
- from /usr/local/include/c++/8.1.0/iosfwd:40,
- from /usr/local/include/c++/8.1.0/ios:38,
- from /usr/local/include/c++/8.1.0/ostream:38,
- from /usr/local/include/c++/8.1.0/iostream:39,
- from main.cpp:3:
- /usr/local/lib/gcc/x86_64-linux-gnu/8.1.0/include/stddef.h:216:23: note: 'size_t'
- typedef __SIZE_TYPE__ size_t;
- ^~~~~~
- In file included from /usr/local/include/c++/8.1.0/bits/move.h:55,
- from /usr/local/include/c++/8.1.0/bits/nested_exception.h:40,
- from /usr/local/include/c++/8.1.0/exception:144,
- from /usr/local/include/c++/8.1.0/ios:39,
- from /usr/local/include/c++/8.1.0/ostream:38,
- from /usr/local/include/c++/8.1.0/iostream:39,
- from main.cpp:3:
- /usr/local/include/c++/8.1.0/type_traits:1313:37: error: 'size_t' is not a member of 'std'
- : public integral_constant<std::size_t, 1 + rank<_Tp>::value> { };
- ^~~~~~
- /usr/local/include/c++/8.1.0/type_traits:1313:37: note: suggested alternative:
- In file included from /usr/include/wchar.h:51,
- from /usr/local/include/c++/8.1.0/cwchar:44,
- from /usr/local/include/c++/8.1.0/bits/postypes.h:40,
- from /usr/local/include/c++/8.1.0/iosfwd:40,
- from /usr/local/include/c++/8.1.0/ios:38,
- from /usr/local/include/c++/8.1.0/ostream:38,
- from /usr/local/include/c++/8.1.0/iostream:39,
- from main.cpp:3:
- /usr/local/lib/gcc/x86_64-linux-gnu/8.1.0/include/stddef.h:216:23: note: 'size_t'
- typedef __SIZE_TYPE__ size_t;
- ^~~~~~
- In file included from /usr/local/include/c++/8.1.0/bits/move.h:55,
- from /usr/local/include/c++/8.1.0/bits/nested_exception.h:40,
- from /usr/local/include/c++/8.1.0/exception:144,
- from /usr/local/include/c++/8.1.0/ios:39,
- from /usr/local/include/c++/8.1.0/ostream:38,
- from /usr/local/include/c++/8.1.0/iostream:39,
- from main.cpp:3:
- /usr/local/include/c++/8.1.0/type_traits:1313:65: error: template argument 1 is invalid
- : public integral_constant<std::size_t, 1 + rank<_Tp>::value> { };
- ^
- /usr/local/include/c++/8.1.0/type_traits:1313:65: note: invalid template non-type parameter
- /usr/local/include/c++/8.1.0/type_traits:1318:37: error: 'size_t' is not a member of 'std'
- : public integral_constant<std::size_t, 0> { };
- ^~~~~~
- /usr/local/include/c++/8.1.0/type_traits:1318:37: note: suggested alternative:
- In file included from /usr/include/wchar.h:51,
- from /usr/local/include/c++/8.1.0/cwchar:44,
- from /usr/local/include/c++/8.1.0/bits/postypes.h:40,
- from /usr/local/include/c++/8.1.0/iosfwd:40,
- from /usr/local/include/c++/8.1.0/ios:38,
- from /usr/local/include/c++/8.1.0/ostream:38,
- from /usr/local/include/c++/8.1.0/iostream:39,
- from main.cpp:3:
- /usr/local/lib/gcc/x86_64-linux-gnu/8.1.0/include/stddef.h:216:23: note: 'size_t'
- typedef __SIZE_TYPE__ size_t;
- ^~~~~~
- In file included from /usr/local/include/c++/8.1.0/bits/move.h:55,
- from /usr/local/include/c++/8.1.0/bits/nested_exception.h:40,
- from /usr/local/include/c++/8.1.0/exception:144,
- from /usr/local/include/c++/8.1.0/ios:39,
- from /usr/local/include/c++/8.1.0/ostream:38,
- from /usr/local/include/c++/8.1.0/iostream:39,
- from main.cpp:3:
- /usr/local/include/c++/8.1.0/type_traits:1318:37: error: 'size_t' is not a member of 'std'
- : public integral_constant<std::size_t, 0> { };
- ^~~~~~
- /usr/local/include/c++/8.1.0/type_traits:1318:37: note: suggested alternative:
- In file included from /usr/include/wchar.h:51,
- from /usr/local/include/c++/8.1.0/cwchar:44,
- from /usr/local/include/c++/8.1.0/bits/postypes.h:40,
- from /usr/local/include/c++/8.1.0/iosfwd:40,
- from /usr/local/include/c++/8.1.0/ios:38,
- from /usr/local/include/c++/8.1.0/ostream:38,
- from /usr/local/include/c++/8.1.0/iostream:39,
- from main.cpp:3:
- /usr/local/lib/gcc/x86_64-linux-gnu/8.1.0/include/stddef.h:216:23: note: 'size_t'
- typedef __SIZE_TYPE__ size_t;
- ^~~~~~
- In file included from /usr/local/include/c++/8.1.0/bits/move.h:55,
- from /usr/local/include/c++/8.1.0/bits/nested_exception.h:40,
- from /usr/local/include/c++/8.1.0/exception:144,
- from /usr/local/include/c++/8.1.0/ios:39,
- from /usr/local/include/c++/8.1.0/ostream:38,
- from /usr/local/include/c++/8.1.0/iostream:39,
- from main.cpp:3:
- /usr/local/include/c++/8.1.0/type_traits:1318:46: error: template argument 1 is invalid
- : public integral_constant<std::size_t, 0> { };
- ^
- /usr/local/include/c++/8.1.0/type_traits:1318:46: note: invalid template non-type parameter
- /usr/local/include/c++/8.1.0/type_traits:1320:47: error: 'std::size_t' has not been declared
- template<typename _Tp, unsigned _Uint, std::size_t _Size>
- ^~~~~~
- /usr/local/include/c++/8.1.0/type_traits:1321:23: error: '_Size' was not declared in this scope
- struct extent<_Tp[_Size], _Uint>
- ^~~~~
- /usr/local/include/c++/8.1.0/type_traits:1321:36: error: template argument 1 is invalid
- struct extent<_Tp[_Size], _Uint>
- ^
- /usr/local/include/c++/8.1.0/type_traits:1322:37: error: 'size_t' is not a member of 'std'
- : public integral_constant<std::size_t,
- ^~~~~~
- /usr/local/include/c++/8.1.0/type_traits:1322:37: note: suggested alternative:
- In file included from /usr/include/wchar.h:51,
- from /usr/local/include/c++/8.1.0/cwchar:44,
- from /usr/local/include/c++/8.1.0/bits/postypes.h:40,
- from /usr/local/include/c++/8.1.0/iosfwd:40,
- from /usr/local/include/c++/8.1.0/ios:38,
- from /usr/local/include/c++/8.1.0/ostream:38,
- from /usr/local/include/c++/8.1.0/iostream:39,
- from main.cpp:3:
- /usr/local/lib/gcc/x86_64-linux-gnu/8.1.0/include/stddef.h:216:23: note: 'size_t'
- typedef __SIZE_TYPE__ size_t;
- ^~~~~~
- In file included from /usr/local/include/c++/8.1.0/bits/move.h:55,
- from /usr/local/include/c++/8.1.0/bits/nested_exception.h:40,
- from /usr/local/include/c++/8.1.0/exception:144,
- from /usr/local/include/c++/8.1.0/ios:39,
- from /usr/local/include/c++/8.1.0/ostream:38,
- from /usr/local/include/c++/8.1.0/iostream:39,
- from main.cpp:3:
- /usr/local/include/c++/8.1.0/type_traits:1322:37: error: 'size_t' is not a member of 'std'
- : public integral_constant<std::size_t,
- ^~~~~~
- /usr/local/include/c++/8.1.0/type_traits:1322:37: note: suggested alternative:
- In file included from /usr/include/wchar.h:51,
- from /usr/local/include/c++/8.1.0/cwchar:44,
- from /usr/local/include/c++/8.1.0/bits/postypes.h:40,
- from /usr/local/include/c++/8.1.0/iosfwd:40,
- from /usr/local/include/c++/8.1.0/ios:38,
- from /usr/local/include/c++/8.1.0/ostream:38,
- from /usr/local/include/c++/8.1.0/iostream:39,
- from main.cpp:3:
- /usr/local/lib/gcc/x86_64-linux-gnu/8.1.0/include/stddef.h:216:23: note: 'size_t'
- typedef __SIZE_TYPE__ size_t;
- ^~~~~~
- In file included from /usr/local/include/c++/8.1.0/bits/move.h:55,
- from /usr/local/include/c++/8.1.0/bits/nested_exception.h:40,
- from /usr/local/include/c++/8.1.0/exception:144,
- from /usr/local/include/c++/8.1.0/ios:39,
- from /usr/local/include/c++/8.1.0/ostream:38,
- from /usr/local/include/c++/8.1.0/iostream:39,
- from main.cpp:3:
- /usr/local/include/c++/8.1.0/type_traits:1323:24: error: '_Size' was not declared in this scope
- _Uint == 0 ? _Size : extent<_Tp,
- ^~~~~
- /usr/local/include/c++/8.1.0/type_traits:1324:28: error: template argument 1 is invalid
- _Uint - 1>::value>
- ^
- /usr/local/include/c++/8.1.0/type_traits:1324:28: note: invalid template non-type parameter
- /usr/local/include/c++/8.1.0/type_traits:1329:37: error: 'size_t' is not a member of 'std'
- : public integral_constant<std::size_t,
- ^~~~~~
- /usr/local/include/c++/8.1.0/type_traits:1329:37: note: suggested alternative:
- In file included from /usr/include/wchar.h:51,
- from /usr/local/include/c++/8.1.0/cwchar:44,
- from /usr/local/include/c++/8.1.0/bits/postypes.h:40,
- from /usr/local/include/c++/8.1.0/iosfwd:40,
- from /usr/local/include/c++/8.1.0/ios:38,
- from /usr/local/include/c++/8.1.0/ostream:38,
- from /usr/local/include/c++/8.1.0/iostream:39,
- from main.cpp:3:
- /usr/local/lib/gcc/x86_64-linux-gnu/8.1.0/include/stddef.h:216:23: note: 'size_t'
- typedef __SIZE_TYPE__ size_t;
- ^~~~~~
- In file included from /usr/local/include/c++/8.1.0/bits/move.h:55,
- from /usr/local/include/c++/8.1.0/bits/nested_exception.h:40,
- from /usr/local/include/c++/8.1.0/exception:144,
- from /usr/local/include/c++/8.1.0/ios:39,
- from /usr/local/include/c++/8.1.0/ostream:38,
- from /usr/local/include/c++/8.1.0/iostream:39,
- from main.cpp:3:
- /usr/local/include/c++/8.1.0/type_traits:1329:37: error: 'size_t' is not a member of 'std'
- : public integral_constant<std::size_t,
- ^~~~~~
- /usr/local/include/c++/8.1.0/type_traits:1329:37: note: suggested alternative:
- In file included from /usr/include/wchar.h:51,
- from /usr/local/include/c++/8.1.0/cwchar:44,
- from /usr/local/include/c++/8.1.0/bits/postypes.h:40,
- from /usr/local/include/c++/8.1.0/iosfwd:40,
- from /usr/local/include/c++/8.1.0/ios:38,
- from /usr/local/include/c++/8.1.0/ostream:38,
- from /usr/local/include/c++/8.1.0/iostream:39,
- from main.cpp:3:
- /usr/local/lib/gcc/x86_64-linux-gnu/8.1.0/include/stddef.h:216:23: note: 'size_t'
- typedef __SIZE_TYPE__ size_t;
- ^~~~~~
- In file included from /usr/local/include/c++/8.1.0/bits/move.h:55,
- from /usr/local/include/c++/8.1.0/bits/nested_exception.h:40,
- from /usr/local/include/c++/8.1.0/exception:144,
- from /usr/local/include/c++/8.1.0/ios:39,
- from /usr/local/include/c++/8.1.0/ostream:38,
- from /usr/local/include/c++/8.1.0/iostream:39,
- from main.cpp:3:
- /usr/local/include/c++/8.1.0/type_traits:1331:31: error: template argument 1 is invalid
- _Uint - 1>::value>
- ^
- /usr/local/include/c++/8.1.0/type_traits:1331:31: note: invalid template non-type parameter
- /usr/local/include/c++/8.1.0/type_traits:1780:31: error: 'std::size_t' has not been declared
- template<typename _Tp, std::size_t _Size>
- ^~~~~~
- /usr/local/include/c++/8.1.0/type_traits:1781:30: error: '_Size' was not declared in this scope
- struct remove_extent<_Tp[_Size]>
- ^~~~~
- /usr/local/include/c++/8.1.0/type_traits:1781:36: error: template argument 1 is invalid
- struct remove_extent<_Tp[_Size]>
- ^
- /usr/local/include/c++/8.1.0/type_traits:1793:31: error: 'std::size_t' has not been declared
- template<typename _Tp, std::size_t _Size>
- ^~~~~~
- /usr/local/include/c++/8.1.0/type_traits:1794:35: error: '_Size' was not declared in this scope
- struct remove_all_extents<_Tp[_Size]>
- ^~~~~
- /usr/local/include/c++/8.1.0/type_traits:1794:41: error: template argument 1 is invalid
- struct remove_all_extents<_Tp[_Size]>
- ^
- /usr/local/include/c++/8.1.0/type_traits:1852:17: error: 'std::size_t' has not been declared
- template<std::size_t _Len>
- ^~~~~~
- /usr/local/include/c++/8.1.0/type_traits:1857:23: error: '_Len' was not declared in this scope
- unsigned char __data[_Len];
- ^~~~
- /usr/local/include/c++/8.1.0/type_traits:1872:17: error: 'std::size_t' has not been declared
- template<std::size_t _Len, std::size_t _Align =
- ^~~~~~
- /usr/local/include/c++/8.1.0/type_traits:1872:35: error: 'std::size_t' has not been declared
- template<std::size_t _Len, std::size_t _Align =
- ^~~~~~
- /usr/local/include/c++/8.1.0/type_traits:1873:48: error: '_Len' was not declared in this scope
- __alignof__(typename __aligned_storage_msa<_Len>::__type)>
- ^~~~
- /usr/local/include/c++/8.1.0/type_traits:1873:52: error: template argument 1 is invalid
- __alignof__(typename __aligned_storage_msa<_Len>::__type)>
- ^
- /usr/local/include/c++/8.1.0/type_traits:1878:23: error: '_Len' was not declared in this scope
- unsigned char __data[_Len];
- ^~~~
- /usr/local/include/c++/8.1.0/type_traits:1879:37: error: '_Align' was not declared in this scope
- struct __attribute__((__aligned__((_Align)))) { } __align;
- ^~~~~~
- In file included from /usr/local/include/c++/8.1.0/bits/stl_algobase.h:62,
- from /usr/local/include/c++/8.1.0/bits/char_traits.h:39,
- from /usr/local/include/c++/8.1.0/ios:40,
- from /usr/local/include/c++/8.1.0/ostream:38,
- from /usr/local/include/c++/8.1.0/iostream:39,
- from main.cpp:3:
- /usr/local/include/c++/8.1.0/ext/type_traits.h:162:35: error: 'bool __gnu_cxx::__is_null_pointer' redeclared as different kind of symbol
- __is_null_pointer(std::nullptr_t)
- ^
- /usr/local/include/c++/8.1.0/ext/type_traits.h:157:5: note: previous declaration 'template<class _Type> bool __gnu_cxx::__is_null_pointer(_Type)'
- __is_null_pointer(_Type)
- ^~~~~~~~~~~~~~~~~
- /usr/local/include/c++/8.1.0/ext/type_traits.h:162:26: error: 'nullptr_t' is not a member of 'std'
- __is_null_pointer(std::nullptr_t)
- ^~~~~~~~~
- /usr/local/include/c++/8.1.0/ext/type_traits.h:162:26: note: suggested alternative:
- In file included from /usr/local/include/c++/8.1.0/bits/cxxabi_init_exception.h:38,
- from /usr/local/include/c++/8.1.0/bits/exception_ptr.h:38,
- from /usr/local/include/c++/8.1.0/exception:143,
- from /usr/local/include/c++/8.1.0/ios:39,
- from /usr/local/include/c++/8.1.0/ostream:38,
- from /usr/local/include/c++/8.1.0/iostream:39,
- from main.cpp:3:
- /usr/local/lib/gcc/x86_64-linux-gnu/8.1.0/include/stddef.h:444:29: note: 'nullptr_t'
- typedef decltype(nullptr) nullptr_t;
- ^~~~~~~~~
- In file included from /usr/local/include/c++/8.1.0/bits/stl_algobase.h:64,
- from /usr/local/include/c++/8.1.0/bits/char_traits.h:39,
- from /usr/local/include/c++/8.1.0/ios:40,
- from /usr/local/include/c++/8.1.0/ostream:38,
- from /usr/local/include/c++/8.1.0/iostream:39,
- from main.cpp:3:
- /usr/local/include/c++/8.1.0/bits/stl_pair.h:86:17: error: 'std::size_t' has not been declared
- template<std::size_t...>
- ^~~~~~
- /usr/local/include/c++/8.1.0/bits/stl_pair.h:429:41: error: 'std::size_t' has not been declared
- template<typename... _Args1, std::size_t... _Indexes1,
- ^~~~~~
- /usr/local/include/c++/8.1.0/bits/stl_pair.h:430:41: error: 'std::size_t' has not been declared
- typename... _Args2, std::size_t... _Indexes2>
- ^~~~~~
- /usr/local/include/c++/8.1.0/bits/stl_pair.h:432:27: error: '_Indexes1' was not declared in this scope
- _Index_tuple<_Indexes1...>, _Index_tuple<_Indexes2...>);
- ^~~~~~~~~
- /usr/local/include/c++/8.1.0/bits/stl_pair.h:432:27: note: suggested alternative: '_Index_tuple'
- _Index_tuple<_Indexes1...>, _Index_tuple<_Indexes2...>);
- ^~~~~~~~~
- _Index_tuple
- /usr/local/include/c++/8.1.0/bits/stl_pair.h:432:36: error: expected parameter pack before '...'
- _Index_tuple<_Indexes1...>, _Index_tuple<_Indexes2...>);
- ^~~
- /usr/local/include/c++/8.1.0/bits/stl_pair.h:432:39: error: template argument 1 is invalid
- _Index_tuple<_Indexes1...>, _Index_tuple<_Indexes2...>);
- ^
- /usr/local/include/c++/8.1.0/bits/stl_pair.h:432:55: error: '_Indexes2' was not declared in this scope
- _Index_tuple<_Indexes1...>, _Index_tuple<_Indexes2...>);
- ^~~~~~~~~
- /usr/local/include/c++/8.1.0/bits/stl_pair.h:432:55: note: suggested alternative: '_Index_tuple'
- _Index_tuple<_Indexes1...>, _Index_tuple<_Indexes2...>);
- ^~~~~~~~~
- _Index_tuple
- /usr/local/include/c++/8.1.0/bits/stl_pair.h:432:64: error: expected parameter pack before '...'
- _Index_tuple<_Indexes1...>, _Index_tuple<_Indexes2...>);
- ^~~
- /usr/local/include/c++/8.1.0/bits/stl_pair.h:432:67: error: template argument 1 is invalid
- _Index_tuple<_Indexes1...>, _Index_tuple<_Indexes2...>);
- ^
- In file included from /usr/local/include/c++/8.1.0/ios:40,
- from /usr/local/include/c++/8.1.0/ostream:38,
- from /usr/local/include/c++/8.1.0/iostream:39,
- from main.cpp:3:
- /usr/local/include/c++/8.1.0/bits/char_traits.h:108:66: error: 'std::size_t' has not been declared
- compare(const char_type* __s1, const char_type* __s2, std::size_t __n);
- ^~~~~~
- /usr/local/include/c++/8.1.0/bits/char_traits.h:110:40: error: 'size_t' in namespace 'std' does not name a type
- static _GLIBCXX14_CONSTEXPR std::size_t
- ^~~~~~
- /usr/local/include/c++/8.1.0/bits/char_traits.h:114:39: error: 'std::size_t' has not been declared
- find(const char_type* __s, std::size_t __n, const char_type& __a);
- ^~~~~~
- /usr/local/include/c++/8.1.0/bits/char_traits.h:117:57: error: 'std::size_t' has not been declared
- move(char_type* __s1, const char_type* __s2, std::size_t __n);
- ^~~~~~
- /usr/local/include/c++/8.1.0/bits/char_traits.h:120:57: error: 'std::size_t' has not been declared
- copy(char_type* __s1, const char_type* __s2, std::size_t __n);
- ^~~~~~
- /usr/local/include/c++/8.1.0/bits/char_traits.h:123:35: error: 'std::size_t' has not been declared
- assign(char_type* __s, std::size_t __n, char_type __a);
- ^~~~~~
- /usr/local/include/c++/8.1.0/bits/char_traits.h:151:64: error: 'std::size_t' has not been declared
- compare(const char_type* __s1, const char_type* __s2, std::size_t __n)
- ^~~~~~
- /usr/local/include/c++/8.1.0/bits/char_traits.h: In static member function 'static int __gnu_cxx::char_traits<_CharT>::compare(const char_type*, const char_type*, int)':
- /usr/local/include/c++/8.1.0/bits/char_traits.h:153:17: error: 'size_t' is not a member of 'std'
- for (std::size_t __i = 0; __i < __n; ++__i)
- ^~~~~~
- /usr/local/include/c++/8.1.0/bits/char_traits.h:153:17: note: suggested alternative:
- In file included from /usr/include/wchar.h:51,
- from /usr/local/include/c++/8.1.0/cwchar:44,
- from /usr/local/include/c++/8.1.0/bits/postypes.h:40,
- from /usr/local/include/c++/8.1.0/iosfwd:40,
- from /usr/local/include/c++/8.1.0/ios:38,
- from /usr/local/include/c++/8.1.0/ostream:38,
- from /usr/local/include/c++/8.1.0/iostream:39,
- from main.cpp:3:
- /usr/local/lib/gcc/x86_64-linux-gnu/8.1.0/include/stddef.h:216:23: note: 'size_t'
- typedef __SIZE_TYPE__ size_t;
- ^~~~~~
- In file included from /usr/local/include/c++/8.1.0/ios:40,
- from /usr/local/include/c++/8.1.0/ostream:38,
- from /usr/local/include/c++/8.1.0/iostream:39,
- from main.cpp:3:
- /usr/local/include/c++/8.1.0/bits/char_traits.h:153:33: error: '__i' was not declared in this scope
- for (std::size_t __i = 0; __i < __n; ++__i)
- ^~~
- /usr/local/include/c++/8.1.0/bits/char_traits.h:153:33: note: suggested alternative: '__n'
- for (std::size_t __i = 0; __i < __n; ++__i)
- ^~~
- __n
- /usr/local/include/c++/8.1.0/bits/char_traits.h: At global scope:
- /usr/local/include/c++/8.1.0/bits/char_traits.h:162:31: error: 'size_t' in namespace 'std' does not name a type
- _GLIBCXX14_CONSTEXPR std::size_t
- ^~~~~~
- /usr/local/include/c++/8.1.0/bits/char_traits.h:175:37: error: 'std::size_t' has not been declared
- find(const char_type* __s, std::size_t __n, const char_type& __a)
- ^~~~~~
- /usr/local/include/c++/8.1.0/bits/char_traits.h: In static member function 'static const char_type* __gnu_cxx::char_traits<_CharT>::find(const char_type*, int, const char_type&)':
- /usr/local/include/c++/8.1.0/bits/char_traits.h:177:17: error: 'size_t' is not a member of 'std'
- for (std::size_t __i = 0; __i < __n; ++__i)
- ^~~~~~
- /usr/local/include/c++/8.1.0/bits/char_traits.h:177:17: note: suggested alternative:
- In file included from /usr/include/wchar.h:51,
- from /usr/local/include/c++/8.1.0/cwchar:44,
- from /usr/local/include/c++/8.1.0/bits/postypes.h:40,
- from /usr/local/include/c++/8.1.0/iosfwd:40,
- from /usr/local/include/c++/8.1.0/ios:38,
- from /usr/local/include/c++/8.1.0/ostream:38,
- from /usr/local/include/c++/8.1.0/iostream:39,
- from main.cpp:3:
- /usr/local/lib/gcc/x86_64-linux-gnu/8.1.0/include/stddef.h:216:23: note: 'size_t'
- typedef __SIZE_TYPE__ size_t;
- ^~~~~~
- In file included from /usr/local/include/c++/8.1.0/ios:40,
- from /usr/local/include/c++/8.1.0/ostream:38,
- from /usr/local/include/c++/8.1.0/iostream:39,
- from main.cpp:3:
- /usr/local/include/c++/8.1.0/bits/char_traits.h:177:33: error: '__i' was not declared in this scope
- for (std::size_t __i = 0; __i < __n; ++__i)
- ^~~
- /usr/local/include/c++/8.1.0/bits/char_traits.h:177:33: note: suggested alternative: '__s'
- for (std::size_t __i = 0; __i < __n; ++__i)
- ^~~
- __s
- /usr/local/include/c++/8.1.0/bits/char_traits.h: At global scope:
- /usr/local/include/c++/8.1.0/bits/char_traits.h:186:55: error: 'std::size_t' has not been declared
- move(char_type* __s1, const char_type* __s2, std::size_t __n)
- ^~~~~~
- /usr/local/include/c++/8.1.0/bits/char_traits.h:195:55: error: 'std::size_t' has not been declared
- copy(char_type* __s1, const char_type* __s2, std::size_t __n)
- ^~~~~~
- /usr/local/include/c++/8.1.0/bits/char_traits.h:205:33: error: 'std::size_t' has not been declared
- assign(char_type* __s, std::size_t __n, char_type __a)
- ^~~~~~
- In file included from /usr/local/include/c++/8.1.0/x86_64-linux-gnu/bits/c++allocator.h:33,
- from /usr/local/include/c++/8.1.0/bits/allocator.h:46,
- from /usr/local/include/c++/8.1.0/string:41,
- from /usr/local/include/c++/8.1.0/bits/locale_classes.h:40,
- from /usr/local/include/c++/8.1.0/bits/ios_base.h:41,
- from /usr/local/include/c++/8.1.0/ios:42,
- from /usr/local/include/c++/8.1.0/ostream:38,
- from /usr/local/include/c++/8.1.0/iostream:39,
- from main.cpp:3:
- /usr/local/include/c++/8.1.0/ext/new_allocator.h:44:14: error: 'std::size_t' has not been declared
- using std::size_t;
- ^~~~~~
- /usr/local/include/c++/8.1.0/ext/new_allocator.h:45:14: error: 'std::ptrdiff_t' has not been declared
- using std::ptrdiff_t;
- ^~~~~~~~~
- In file included from /usr/local/include/c++/8.1.0/string:44,
- from /usr/local/include/c++/8.1.0/bits/locale_classes.h:40,
- from /usr/local/include/c++/8.1.0/bits/ios_base.h:41,
- from /usr/local/include/c++/8.1.0/ios:42,
- from /usr/local/include/c++/8.1.0/ostream:38,
- from /usr/local/include/c++/8.1.0/iostream:39,
- from main.cpp:3:
- /usr/local/include/c++/8.1.0/bits/ostream_insert.h:45:26: error: 'streamsize' has not been declared
- const _CharT* __s, streamsize __n)
- ^~~~~~~~~~
- /usr/local/include/c++/8.1.0/bits/ostream_insert.h: In function 'void std::__ostream_write(std::basic_ostream<_CharT, _Traits>&, const _CharT*, int)':
- /usr/local/include/c++/8.1.0/bits/ostream_insert.h:50:13: error: 'streamsize' does not name a type; did you mean 'streambuf'?
- const streamsize __put = __out.rdbuf()->sputn(__s, __n);
- ^~~~~~~~~~
- streambuf
- /usr/local/include/c++/8.1.0/bits/ostream_insert.h:51:11: error: '__put' was not declared in this scope
- if (__put != __n)
- ^~~~~
- /usr/local/include/c++/8.1.0/bits/ostream_insert.h:51:11: note: suggested alternative: '__out'
- if (__put != __n)
- ^~~~~
- __out
- /usr/local/include/c++/8.1.0/bits/ostream_insert.h: At global scope:
- /usr/local/include/c++/8.1.0/bits/ostream_insert.h:57:59: error: 'streamsize' has not been declared
- __ostream_fill(basic_ostream<_CharT, _Traits>& __out, streamsize __n)
- ^~~~~~~~~~
- /usr/local/include/c++/8.1.0/bits/ostream_insert.h:77:27: error: 'streamsize' has not been declared
- const _CharT* __s, streamsize __n)
- ^~~~~~~~~~
- /usr/local/include/c++/8.1.0/bits/ostream_insert.h: In function 'std::basic_ostream<_CharT, _Traits>& std::__ostream_insert(std::basic_ostream<_CharT, _Traits>&, const _CharT*, int)':
- /usr/local/include/c++/8.1.0/bits/ostream_insert.h:87:14: error: 'streamsize' does not name a type; did you mean 'streambuf'?
- const streamsize __w = __out.width();
- ^~~~~~~~~~
- streambuf
- /usr/local/include/c++/8.1.0/bits/ostream_insert.h:88:12: error: '__w' was not declared in this scope
- if (__w > __n)
- ^~~
- /usr/local/include/c++/8.1.0/bits/ostream_insert.h:88:12: note: suggested alternative: '__s'
- if (__w > __n)
- ^~~
- __s
- /usr/local/include/c++/8.1.0/bits/ostream_insert.h: At global scope:
- /usr/local/include/c++/8.1.0/bits/ostream_insert.h:118:68: error: 'streamsize' has not been declared
- extern template ostream& __ostream_insert(ostream&, const char*, streamsize);
- ^~~~~~~~~~
- /usr/local/include/c++/8.1.0/bits/ostream_insert.h:122:11: error: 'streamsize' has not been declared
- streamsize);
- ^~~~~~~~~~
- In file included from /usr/local/include/c++/8.1.0/ext/alloc_traits.h:36,
- from /usr/local/include/c++/8.1.0/bits/basic_string.h:40,
- from /usr/local/include/c++/8.1.0/string:52,
- from /usr/local/include/c++/8.1.0/bits/locale_classes.h:40,
- from /usr/local/include/c++/8.1.0/bits/ios_base.h:41,
- from /usr/local/include/c++/8.1.0/ios:42,
- from /usr/local/include/c++/8.1.0/ostream:38,
- from /usr/local/include/c++/8.1.0/iostream:39,
- from main.cpp:3:
- /usr/local/include/c++/8.1.0/bits/alloc_traits.h:404:36: error: 'ptrdiff_t' in namespace 'std' does not name a type
- using difference_type = std::ptrdiff_t;
- ^~~~~~~~~
- /usr/local/include/c++/8.1.0/bits/alloc_traits.h:407:30: error: 'size_t' in namespace 'std' does not name a type
- using size_type = std::size_t;
- ^~~~~~
- /usr/local/include/c++/8.1.0/bits/alloc_traits.h:407:25: note: suggested alternative: 'time_put'
- using size_type = std::size_t;
- ^~~
- time_put
- /usr/local/include/c++/8.1.0/bits/alloc_traits.h:435:37: error: 'size_type' has not been declared
- allocate(allocator_type& __a, size_type __n)
- ^~~~~~~~~
- /usr/local/include/c++/8.1.0/bits/alloc_traits.h:449:37: error: 'size_type' has not been declared
- allocate(allocator_type& __a, size_type __n, const_void_pointer __hint)
- ^~~~~~~~~
- /usr/local/include/c++/8.1.0/bits/alloc_traits.h:461:52: error: 'size_type' has not been declared
- deallocate(allocator_type& __a, pointer __p, size_type __n)
- ^~~~~~~~~
- /usr/local/include/c++/8.1.0/bits/alloc_traits.h:494:14: error: 'size_type' does not name a type; did you mean 'true_type'?
- static size_type
- ^~~~~~~~~
- true_type
- In file included from /usr/local/include/c++/8.1.0/bits/basic_string.h:6361,
- from /usr/local/include/c++/8.1.0/string:52,
- from /usr/local/include/c++/8.1.0/bits/locale_classes.h:40,
- from /usr/local/include/c++/8.1.0/bits/ios_base.h:41,
- from /usr/local/include/c++/8.1.0/ios:42,
- from /usr/local/include/c++/8.1.0/ostream:38,
- from /usr/local/include/c++/8.1.0/iostream:39,
- from main.cpp:3:
- /usr/local/include/c++/8.1.0/ext/string_conversions.h:55:51: error: 'std::size_t' has not been declared
- const char* __name, const _CharT* __str, std::size_t* __idx,
- ^~~~~~
- /usr/local/include/c++/8.1.0/ext/string_conversions.h:99:48: error: 'std::size_t' has not been declared
- __to_xstring(int (*__convf) (_CharT*, std::size_t, const _CharT*,
- ^~~~~~
- /usr/local/include/c++/8.1.0/ext/string_conversions.h:100:31: error: 'std::size_t' has not been declared
- __builtin_va_list), std::size_t __n,
- ^~~~~~
- In file included from /usr/local/include/c++/8.1.0/bits/basic_string.h:40,
- from /usr/local/include/c++/8.1.0/string:52,
- from /usr/local/include/c++/8.1.0/bits/locale_classes.h:40,
- from /usr/local/include/c++/8.1.0/bits/ios_base.h:41,
- from /usr/local/include/c++/8.1.0/ios:42,
- from /usr/local/include/c++/8.1.0/ostream:38,
- from /usr/local/include/c++/8.1.0/iostream:39,
- from main.cpp:3:
- /usr/local/include/c++/8.1.0/ext/alloc_traits.h: In instantiation of 'struct __gnu_cxx::__alloc_traits<std::allocator<char>, char>':
- /usr/local/include/c++/8.1.0/bits/basic_string.h:80:24: required from 'class std::__cxx11::basic_string<char>'
- /usr/local/include/c++/8.1.0/bits/basic_string.h:6372:68: required from here
- /usr/local/include/c++/8.1.0/ext/alloc_traits.h:61:53: error: no type named 'size_type' in 'struct std::allocator_traits<std::allocator<char> >'
- typedef typename _Base_type::size_type size_type;
- ^~~~~~~~~
- /usr/local/include/c++/8.1.0/ext/alloc_traits.h:62:53: error: no type named 'difference_type' in 'struct std::allocator_traits<std::allocator<char> >'
- typedef typename _Base_type::difference_type difference_type;
- ^~~~~~~~~~~~~~~
- /usr/local/include/c++/8.1.0/ext/alloc_traits.h:70:23: error: no members matching '__gnu_cxx::__alloc_traits<std::allocator<char>, char>::_Base_type {aka std::allocator_traits<std::allocator<char> >}::max_size' in '__gnu_cxx::__alloc_traits<std::allocator<char>, char>::_Base_type' {aka 'struct std::allocator_traits<std::allocator<char> >'}
- using _Base_type::max_size;
- ^~~~~~~~
- In file included from /usr/local/include/c++/8.1.0/string:52,
- from /usr/local/include/c++/8.1.0/bits/locale_classes.h:40,
- from /usr/local/include/c++/8.1.0/bits/ios_base.h:41,
- from /usr/local/include/c++/8.1.0/ios:42,
- from /usr/local/include/c++/8.1.0/ostream:38,
- from /usr/local/include/c++/8.1.0/iostream:39,
- from main.cpp:3:
- /usr/local/include/c++/8.1.0/bits/basic_string.h: In function 'int std::__cxx11::stoi(const string&, size_t*, int)':
- /usr/local/include/c++/8.1.0/bits/basic_string.h:6373:19: error: no matching function for call to '__stoa<long int, int>(long int (*)(const char*, char**, int) throw (), const char [5], const char*, size_t*&, int&)'
- __idx, __base); }
- ^
- In file included from /usr/local/include/c++/8.1.0/bits/basic_string.h:6361,
- from /usr/local/include/c++/8.1.0/string:52,
- from /usr/local/include/c++/8.1.0/bits/locale_classes.h:40,
- from /usr/local/include/c++/8.1.0/bits/ios_base.h:41,
- from /usr/local/include/c++/8.1.0/ios:42,
- from /usr/local/include/c++/8.1.0/ostream:38,
- from /usr/local/include/c++/8.1.0/iostream:39,
- from main.cpp:3:
- /usr/local/include/c++/8.1.0/ext/string_conversions.h:54:5: note: candidate: 'template<class _TRet, class _Ret, class _CharT, class ... _Base> _Ret __gnu_cxx::__stoa(_TRet (*)(const _CharT*, _CharT**, _Base ...), const char*, const _CharT*, int*, _Base ...)'
- __stoa(_TRet (*__convf) (const _CharT*, _CharT**, _Base...),
- ^~~~~~
- /usr/local/include/c++/8.1.0/ext/string_conversions.h:54:5: note: template argument deduction/substitution failed:
- In file included from /usr/local/include/c++/8.1.0/string:52,
- from /usr/local/include/c++/8.1.0/bits/locale_classes.h:40,
- from /usr/local/include/c++/8.1.0/bits/ios_base.h:41,
- from /usr/local/include/c++/8.1.0/ios:42,
- from /usr/local/include/c++/8.1.0/ostream:38,
- from /usr/local/include/c++/8.1.0/iostream:39,
- from main.cpp:3:
- /usr/local/include/c++/8.1.0/bits/basic_string.h:6373:6: note: cannot convert '__idx' (type 'size_t*' {aka 'long unsigned int*'}) to type 'int*'
- __idx, __base); }
- ^~~~~
- /usr/local/include/c++/8.1.0/bits/basic_string.h: In function 'long int std::__cxx11::stol(const string&, size_t*, int)':
- /usr/local/include/c++/8.1.0/bits/basic_string.h:6378:22: error: no matching function for call to '__stoa(long int (*)(const char*, char**, int) throw (), const char [5], const char*, size_t*&, int&)'
- __idx, __base); }
- ^
- In file included from /usr/local/include/c++/8.1.0/bits/basic_string.h:6361,
- from /usr/local/include/c++/8.1.0/string:52,
- from /usr/local/include/c++/8.1.0/bits/locale_classes.h:40,
- from /usr/local/include/c++/8.1.0/bits/ios_base.h:41,
- from /usr/local/include/c++/8.1.0/ios:42,
- from /usr/local/include/c++/8.1.0/ostream:38,
- from /usr/local/include/c++/8.1.0/iostream:39,
- from main.cpp:3:
- /usr/local/include/c++/8.1.0/ext/string_conversions.h:54:5: note: candidate: 'template<class _TRet, class _Ret, class _CharT, class ... _Base> _Ret __gnu_cxx::__stoa(_TRet (*)(const _CharT*, _CharT**, _Base ...), const char*, const _CharT*, int*, _Base ...)'
- __stoa(_TRet (*__convf) (const _CharT*, _CharT**, _Base...),
- ^~~~~~
- /usr/local/include/c++/8.1.0/ext/string_conversions.h:54:5: note: template argument deduction/substitution failed:
- In file included from /usr/local/include/c++/8.1.0/string:52,
- from /usr/local/include/c++/8.1.0/bits/locale_classes.h:40,
- from /usr/local/include/c++/8.1.0/bits/ios_base.h:41,
- from /usr/local/include/c++/8.1.0/ios:42,
- from /usr/local/include/c++/8.1.0/ostream:38,
- from /usr/local/include/c++/8.1.0/iostream:39,
- from main.cpp:3:
- /usr/local/include/c++/8.1.0/bits/basic_string.h:6378:9: note: cannot convert '__idx' (type 'size_t*' {aka 'long unsigned int*'}) to type 'int*'
- __idx, __base); }
- ^~~~~
- /usr/local/include/c++/8.1.0/bits/basic_string.h: In function 'long unsigned int std::__cxx11::stoul(const string&, size_t*, int)':
- /usr/local/include/c++/8.1.0/bits/basic_string.h:6383:22: error: no matching function for call to '__stoa(long unsigned int (*)(const char*, char**, int) throw (), const char [6], const char*, size_t*&, int&)'
- __idx, __base); }
- ^
- In file included from /usr/local/include/c++/8.1.0/bits/basic_string.h:6361,
- from /usr/local/include/c++/8.1.0/string:52,
- from /usr/local/include/c++/8.1.0/bits/locale_classes.h:40,
- from /usr/local/include/c++/8.1.0/bits/ios_base.h:41,
- from /usr/local/include/c++/8.1.0/ios:42,
- from /usr/local/include/c++/8.1.0/ostream:38,
- from /usr/local/include/c++/8.1.0/iostream:39,
- from main.cpp:3:
- /usr/local/include/c++/8.1.0/ext/string_conversions.h:54:5: note: candidate: 'template<class _TRet, class _Ret, class _CharT, class ... _Base> _Ret __gnu_cxx::__stoa(_TRet (*)(const _CharT*, _CharT**, _Base ...), const char*, const _CharT*, int*, _Base ...)'
- __stoa(_TRet (*__convf) (const _CharT*, _CharT**, _Base...),
- ^~~~~~
- /usr/local/include/c++/8.1.0/ext/string_conversions.h:54:5: note: template argument deduction/substitution failed:
- In file included from /usr/local/include/c++/8.1.0/string:52,
- from /usr/local/include/c++/8.1.0/bits/locale_classes.h:40,
- from /usr/local/include/c++/8.1.0/bits/ios_base.h:41,
- from /usr/local/include/c++/8.1.0/ios:42,
- from /usr/local/include/c++/8.1.0/ostream:38,
- from /usr/local/include/c++/8.1.0/iostream:39,
- from main.cpp:3:
- /usr/local/include/c++/8.1.0/bits/basic_string.h:6383:9: note: cannot convert '__idx' (type 'size_t*' {aka 'long unsigned int*'}) to type 'int*'
- __idx, __base); }
- ^~~~~
- /usr/local/include/c++/8.1.0/bits/basic_string.h: In function 'long long int std::__cxx11::stoll(const string&, size_t*, int)':
- /usr/local/include/c++/8.1.0/bits/basic_string.h:6388:22: error: no matching function for call to '__stoa(long long int (*)(const char*, char**, int) throw (), const char [6], const char*, size_t*&, int&)'
- __idx, __base); }
- ^
- In file included from /usr/local/include/c++/8.1.0/bits/basic_string.h:6361,
- from /usr/local/include/c++/8.1.0/string:52,
- from /usr/local/include/c++/8.1.0/bits/locale_classes.h:40,
- from /usr/local/include/c++/8.1.0/bits/ios_base.h:41,
- from /usr/local/include/c++/8.1.0/ios:42,
- from /usr/local/include/c++/8.1.0/ostream:38,
- from /usr/local/include/c++/8.1.0/iostream:39,
- from main.cpp:3:
- /usr/local/include/c++/8.1.0/ext/string_conversions.h:54:5: note: candidate: 'template<class _TRet, class _Ret, class _CharT, class ... _Base> _Ret __gnu_cxx::__stoa(_TRet (*)(const _CharT*, _CharT**, _Base ...), const char*, const _CharT*, int*, _Base ...)'
- __stoa(_TRet (*__convf) (const _CharT*, _CharT**, _Base...),
- ^~~~~~
- /usr/local/include/c++/8.1.0/ext/string_conversions.h:54:5: note: template argument deduction/substitution failed:
- In file included from /usr/local/include/c++/8.1.0/string:52,
- from /usr/local/include/c++/8.1.0/bits/locale_classes.h:40,
- from /usr/local/include/c++/8.1.0/bits/ios_base.h:41,
- from /usr/local/include/c++/8.1.0/ios:42,
- from /usr/local/include/c++/8.1.0/ostream:38,
- from /usr/local/include/c++/8.1.0/iostream:39,
- from main.cpp:3:
- /usr/local/include/c++/8.1.0/bits/basic_string.h:6388:9: note: cannot convert '__idx' (type 'size_t*' {aka 'long unsigned int*'}) to type 'int*'
- __idx, __base); }
- ^~~~~
- /usr/local/include/c++/8.1.0/bits/basic_string.h: In function 'long long unsigned int std::__cxx11::stoull(const string&, size_t*, int)':
- /usr/local/include/c++/8.1.0/bits/basic_string.h:6393:22: error: no matching function for call to '__stoa(long long unsigned int (*)(const char*, char**, int) throw (), const char [7], const char*, size_t*&, int&)'
- __idx, __base); }
- ^
- In file included from /usr/local/include/c++/8.1.0/bits/basic_string.h:6361,
- from /usr/local/include/c++/8.1.0/string:52,
- from /usr/local/include/c++/8.1.0/bits/locale_classes.h:40,
- from /usr/local/include/c++/8.1.0/bits/ios_base.h:41,
- from /usr/local/include/c++/8.1.0/ios:42,
- from /usr/local/include/c++/8.1.0/ostream:38,
- from /usr/local/include/c++/8.1.0/iostream:39,
- from main.cpp:3:
- /usr/local/include/c++/8.1.0/ext/string_conversions.h:54:5: note: candidate: 'template<class _TRet, class _Ret, class _CharT, class ... _Base> _Ret __gnu_cxx::__stoa(_TRet (*)(const _CharT*, _CharT**, _Base ...), const char*, const _CharT*, int*, _Base ...)'
- __stoa(_TRet (*__convf) (const _CharT*, _CharT**, _Base...),
- ^~~~~~
- /usr/local/include/c++/8.1.0/ext/string_conversions.h:54:5: note: template argument deduction/substitution failed:
- In file included from /usr/local/include/c++/8.1.0/string:52,
- from /usr/local/include/c++/8.1.0/bits/locale_classes.h:40,
- from /usr/local/include/c++/8.1.0/bits/ios_base.h:41,
- from /usr/local/include/c++/8.1.0/ios:42,
- from /usr/local/include/c++/8.1.0/ostream:38,
- from /usr/local/include/c++/8.1.0/iostream:39,
- from main.cpp:3:
- /usr/local/include/c++/8.1.0/bits/basic_string.h:6393:9: note: cannot convert '__idx' (type 'size_t*' {aka 'long unsigned int*'}) to type 'int*'
- __idx, __base); }
- ^~~~~
- /usr/local/include/c++/8.1.0/bits/basic_string.h: In function 'float std::__cxx11::stof(const string&, size_t*)':
- /usr/local/include/c++/8.1.0/bits/basic_string.h:6398:72: error: no matching function for call to '__stoa(float (*)(const char*, char**) throw (), const char [5], const char*, size_t*&)'
- { return __gnu_cxx::__stoa(&std::strtof, "stof", __str.c_str(), __idx); }
- ^
- In file included from /usr/local/include/c++/8.1.0/bits/basic_string.h:6361,
- from /usr/local/include/c++/8.1.0/string:52,
- from /usr/local/include/c++/8.1.0/bits/locale_classes.h:40,
- from /usr/local/include/c++/8.1.0/bits/ios_base.h:41,
- from /usr/local/include/c++/8.1.0/ios:42,
- from /usr/local/include/c++/8.1.0/ostream:38,
- from /usr/local/include/c++/8.1.0/iostream:39,
- from main.cpp:3:
- /usr/local/include/c++/8.1.0/ext/string_conversions.h:54:5: note: candidate: 'template<class _TRet, class _Ret, class _CharT, class ... _Base> _Ret __gnu_cxx::__stoa(_TRet (*)(const _CharT*, _CharT**, _Base ...), const char*, const _CharT*, int*, _Base ...)'
- __stoa(_TRet (*__convf) (const _CharT*, _CharT**, _Base...),
- ^~~~~~
- /usr/local/include/c++/8.1.0/ext/string_conversions.h:54:5: note: template argument deduction/substitution failed:
- In file included from /usr/local/include/c++/8.1.0/string:52,
- from /usr/local/include/c++/8.1.0/bits/locale_classes.h:40,
- from /usr/local/include/c++/8.1.0/bits/ios_base.h:41,
- from /usr/local/include/c++/8.1.0/ios:42,
- from /usr/local/include/c++/8.1.0/ostream:38,
- from /usr/local/include/c++/8.1.0/iostream:39,
- from main.cpp:3:
- /usr/local/include/c++/8.1.0/bits/basic_string.h:6398:67: note: cannot convert '__idx' (type 'size_t*' {aka 'long unsigned int*'}) to type 'int*'
- { return __gnu_cxx::__stoa(&std::strtof, "stof", __str.c_str(), __idx); }
- ^~~~~
- /usr/local/include/c++/8.1.0/bits/basic_string.h: In function 'double std::__cxx11::stod(const string&, size_t*)':
- /usr/local/include/c++/8.1.0/bits/basic_string.h:6402:72: error: no matching function for call to '__stoa(double (*)(const char*, char**) throw (), const char [5], const char*, size_t*&)'
- { return __gnu_cxx::__stoa(&std::strtod, "stod", __str.c_str(), __idx); }
- ^
- In file included from /usr/local/include/c++/8.1.0/bits/basic_string.h:6361,
- from /usr/local/include/c++/8.1.0/string:52,
- from /usr/local/include/c++/8.1.0/bits/locale_classes.h:40,
- from /usr/local/include/c++/8.1.0/bits/ios_base.h:41,
- from /usr/local/include/c++/8.1.0/ios:42,
- from /usr/local/include/c++/8.1.0/ostream:38,
- from /usr/local/include/c++/8.1.0/iostream:39,
- from main.cpp:3:
- /usr/local/include/c++/8.1.0/ext/string_conversions.h:54:5: note: candidate: 'template<class _TRet, class _Ret, class _CharT, class ... _Base> _Ret __gnu_cxx::__stoa(_TRet (*)(const _CharT*, _CharT**, _Base ...), const char*, const _CharT*, int*, _Base ...)'
- __stoa(_TRet (*__convf) (const _CharT*, _CharT**, _Base...),
- ^~~~~~
- /usr/local/include/c++/8.1.0/ext/string_conversions.h:54:5: note: template argument deduction/substitution failed:
- In file included from /usr/local/include/c++/8.1.0/string:52,
- from /usr/local/include/c++/8.1.0/bits/locale_classes.h:40,
- from /usr/local/include/c++/8.1.0/bits/ios_base.h:41,
- from /usr/local/include/c++/8.1.0/ios:42,
- from /usr/local/include/c++/8.1.0/ostream:38,
- from /usr/local/include/c++/8.1.0/iostream:39,
- from main.cpp:3:
- /usr/local/include/c++/8.1.0/bits/basic_string.h:6402:67: note: cannot convert '__idx' (type 'size_t*' {aka 'long unsigned int*'}) to type 'int*'
- { return __gnu_cxx::__stoa(&std::strtod, "stod", __str.c_str(), __idx); }
- ^~~~~
- /usr/local/include/c++/8.1.0/bits/basic_string.h: In function 'long double std::__cxx11::stold(const string&, size_t*)':
- /usr/local/include/c++/8.1.0/bits/basic_string.h:6406:74: error: no matching function for call to '__stoa(long double (*)(const char*, char**) throw (), const char [6], const char*, size_t*&)'
- { return __gnu_cxx::__stoa(&std::strtold, "stold", __str.c_str(), __idx); }
- ^
- In file included from /usr/local/include/c++/8.1.0/bits/basic_string.h:6361,
- from /usr/local/include/c++/8.1.0/string:52,
- from /usr/local/include/c++/8.1.0/bits/locale_classes.h:40,
- from /usr/local/include/c++/8.1.0/bits/ios_base.h:41,
- from /usr/local/include/c++/8.1.0/ios:42,
- from /usr/local/include/c++/8.1.0/ostream:38,
- from /usr/local/include/c++/8.1.0/iostream:39,
- from main.cpp:3:
- /usr/local/include/c++/8.1.0/ext/string_conversions.h:54:5: note: candidate: 'template<class _TRet, class _Ret, class _CharT, class ... _Base> _Ret __gnu_cxx::__stoa(_TRet (*)(const _CharT*, _CharT**, _Base ...), const char*, const _CharT*, int*, _Base ...)'
- __stoa(_TRet (*__convf) (const _CharT*, _CharT**, _Base...),
- ^~~~~~
- /usr/local/include/c++/8.1.0/ext/string_conversions.h:54:5: note: template argument deduction/substitution failed:
- In file included from /usr/local/include/c++/8.1.0/string:52,
- from /usr/local/include/c++/8.1.0/bits/locale_classes.h:40,
- from /usr/local/include/c++/8.1.0/bits/ios_base.h:41,
- from /usr/local/include/c++/8.1.0/ios:42,
- from /usr/local/include/c++/8.1.0/ostream:38,
- from /usr/local/include/c++/8.1.0/iostream:39,
- from main.cpp:3:
- /usr/local/include/c++/8.1.0/bits/basic_string.h:6406:69: note: cannot convert '__idx' (type 'size_t*' {aka 'long unsigned int*'}) to type 'int*'
- { return __gnu_cxx::__stoa(&std::strtold, "stold", __str.c_str(), __idx); }
- ^~~~~
- /usr/local/include/c++/8.1.0/bits/basic_string.h: In function 'std::__cxx11::string std::__cxx11::to_string(int)':
- /usr/local/include/c++/8.1.0/bits/basic_string.h:6416:20: error: no matching function for call to '__to_xstring<std::__cxx11::string>(int (*)(char*, size_t, const char*, __va_list_tag*) throw (), long unsigned int, const char [3], int&)'
- "%d", __val); }
- ^
- In file included from /usr/local/include/c++/8.1.0/bits/basic_string.h:6361,
- from /usr/local/include/c++/8.1.0/string:52,
- from /usr/local/include/c++/8.1.0/bits/locale_classes.h:40,
- from /usr/local/include/c++/8.1.0/bits/ios_base.h:41,
- from /usr/local/include/c++/8.1.0/ios:42,
- from /usr/local/include/c++/8.1.0/ostream:38,
- from /usr/local/include/c++/8.1.0/iostream:39,
- from main.cpp:3:
- /usr/local/include/c++/8.1.0/ext/string_conversions.h:99:5: note: candidate: 'template<class _String, class _CharT> _String __gnu_cxx::__to_xstring(int (*)(_CharT*, int, const _CharT*, __va_list_tag*), int, const _CharT*, ...)'
- __to_xstring(int (*__convf) (_CharT*, std::size_t, const _CharT*,
- ^~~~~~~~~~~~
- /usr/local/include/c++/8.1.0/ext/string_conversions.h:99:5: note: template argument deduction/substitution failed:
- In file included from /usr/local/include/c++/8.1.0/string:52,
- from /usr/local/include/c++/8.1.0/bits/locale_classes.h:40,
- from /usr/local/include/c++/8.1.0/bits/ios_base.h:41,
- from /usr/local/include/c++/8.1.0/ios:42,
- from /usr/local/include/c++/8.1.0/ostream:38,
- from /usr/local/include/c++/8.1.0/iostream:39,
- from main.cpp:3:
- /usr/local/include/c++/8.1.0/bits/basic_string.h:6416:20: note: mismatched types 'int' and 'size_t' {aka 'long unsigned int'}
- "%d", __val); }
- ^
- /usr/local/include/c++/8.1.0/bits/basic_string.h: In function 'std::__cxx11::string std::__cxx11::to_string(unsigned int)':
- /usr/local/include/c++/8.1.0/bits/basic_string.h:6422:20: error: no matching function for call to '__to_xstring<std::__cxx11::string>(int (*)(char*, size_t, const char*, __va_list_tag*) throw (), long unsigned int, const char [3], unsigned int&)'
- "%u", __val); }
- ^
- In file included from /usr/local/include/c++/8.1.0/bits/basic_string.h:6361,
- from /usr/local/include/c++/8.1.0/string:52,
- from /usr/local/include/c++/8.1.0/bits/locale_classes.h:40,
- from /usr/local/include/c++/8.1.0/bits/ios_base.h:41,
- from /usr/local/include/c++/8.1.0/ios:42,
- from /usr/local/include/c++/8.1.0/ostream:38,
- from /usr/local/include/c++/8.1.0/iostream:39,
- from main.cpp:3:
- /usr/local/include/c++/8.1.0/ext/string_conversions.h:99:5: note: candidate: 'template<class _String, class _CharT> _String __gnu_cxx::__to_xstring(int (*)(_CharT*, int, const _CharT*, __va_list_tag*), int, const _CharT*, ...)'
- __to_xstring(int (*__convf) (_CharT*, std::size_t, const _CharT*,
- ^~~~~~~~~~~~
- /usr/local/include/c++/8.1.0/ext/string_conversions.h:99:5: note: template argument deduction/substitution failed:
- In file included from /usr/local/include/c++/8.1.0/string:52,
- from /usr/local/include/c++/8.1.0/bits/locale_classes.h:40,
- from /usr/local/include/c++/8.1.0/bits/ios_base.h:41,
- from /usr/local/include/c++/8.1.0/ios:42,
- from /usr/local/include/c++/8.1.0/ostream:38,
- from /usr/local/include/c++/8.1.0/iostream:39,
- from main.cpp:3:
- /usr/local/include/c++/8.1.0/bits/basic_string.h:6422:20: note: mismatched types 'int' and 'size_t' {aka 'long unsigned int'}
- "%u", __val); }
- ^
- /usr/local/include/c++/8.1.0/bits/basic_string.h: In function 'std::__cxx11::string std::__cxx11::to_string(long int)':
- /usr/local/include/c++/8.1.0/bits/basic_string.h:6427:21: error: no matching function for call to '__to_xstring<std::__cxx11::string>(int (*)(char*, size_t, const char*, __va_list_tag*) throw (), long unsigned int, const char [4], long int&)'
- "%ld", __val); }
- ^
- In file included from /usr/local/include/c++/8.1.0/bits/basic_string.h:6361,
- from /usr/local/include/c++/8.1.0/string:52,
- from /usr/local/include/c++/8.1.0/bits/locale_classes.h:40,
- from /usr/local/include/c++/8.1.0/bits/ios_base.h:41,
- from /usr/local/include/c++/8.1.0/ios:42,
- from /usr/local/include/c++/8.1.0/ostream:38,
- from /usr/local/include/c++/8.1.0/iostream:39,
- from main.cpp:3:
- /usr/local/include/c++/8.1.0/ext/string_conversions.h:99:5: note: candidate: 'template<class _String, class _CharT> _String __gnu_cxx::__to_xstring(int (*)(_CharT*, int, const _CharT*, __va_list_tag*), int, const _CharT*, ...)'
- __to_xstring(int (*__convf) (_CharT*, std::size_t, const _CharT*,
- ^~~~~~~~~~~~
- /usr/local/include/c++/8.1.0/ext/string_conversions.h:99:5: note: template argument deduction/substitution failed:
- In file included from /usr/local/include/c++/8.1.0/string:52,
- from /usr/local/include/c++/8.1.0/bits/locale_classes.h:40,
- from /usr/local/include/c++/8.1.0/bits/ios_base.h:41,
- from /usr/local/include/c++/8.1.0/ios:42,
- from /usr/local/include/c++/8.1.0/ostream:38,
- from /usr/local/include/c++/8.1.0/iostream:39,
- from main.cpp:3:
- /usr/local/include/c++/8.1.0/bits/basic_string.h:6427:21: note: mismatched types 'int' and 'size_t' {aka 'long unsigned int'}
- "%ld", __val); }
- ^
- /usr/local/include/c++/8.1.0/bits/basic_string.h: In function 'std::__cxx11::string std::__cxx11::to_string(long unsigned int)':
- /usr/local/include/c++/8.1.0/bits/basic_string.h:6433:21: error: no matching function for call to '__to_xstring<std::__cxx11::string>(int (*)(char*, size_t, const char*, __va_list_tag*) throw (), long unsigned int, const char [4], long unsigned int&)'
- "%lu", __val); }
- ^
- In file included from /usr/local/include/c++/8.1.0/bits/basic_string.h:6361,
- from /usr/local/include/c++/8.1.0/string:52,
- from /usr/local/include/c++/8.1.0/bits/locale_classes.h:40,
- from /usr/local/include/c++/8.1.0/bits/ios_base.h:41,
- from /usr/local/include/c++/8.1.0/ios:42,
- from /usr/local/include/c++/8.1.0/ostream:38,
- from /usr/local/include/c++/8.1.0/iostream:39,
- from main.cpp:3:
- /usr/local/include/c++/8.1.0/ext/string_conversions.h:99:5: note: candidate: 'template<class _String, class _CharT> _String __gnu_cxx::__to_xstring(int (*)(_CharT*, int, const _CharT*, __va_list_tag*), int, const _CharT*, ...)'
- __to_xstring(int (*__convf) (_CharT*, std::size_t, const _CharT*,
- ^~~~~~~~~~~~
- /usr/local/include/c++/8.1.0/ext/string_conversions.h:99:5: note: template argument deduction/substitution failed:
- In file included from /usr/local/include/c++/8.1.0/string:52,
- from /usr/local/include/c++/8.1.0/bits/locale_classes.h:40,
- from /usr/local/include/c++/8.1.0/bits/ios_base.h:41,
- from /usr/local/include/c++/8.1.0/ios:42,
- from /usr/local/include/c++/8.1.0/ostream:38,
- from /usr/local/include/c++/8.1.0/iostream:39,
- from main.cpp:3:
- /usr/local/include/c++/8.1.0/bits/basic_string.h:6433:21: note: mismatched types 'int' and 'size_t' {aka 'long unsigned int'}
- "%lu", __val); }
- ^
- /usr/local/include/c++/8.1.0/bits/basic_string.h: In function 'std::__cxx11::string std::__cxx11::to_string(long long int)':
- /usr/local/include/c++/8.1.0/bits/basic_string.h:6439:22: error: no matching function for call to '__to_xstring<std::__cxx11::string>(int (*)(char*, size_t, const char*, __va_list_tag*) throw (), long unsigned int, const char [5], long long int&)'
- "%lld", __val); }
- ^
- In file included from /usr/local/include/c++/8.1.0/bits/basic_string.h:6361,
- from /usr/local/include/c++/8.1.0/string:52,
- from /usr/local/include/c++/8.1.0/bits/locale_classes.h:40,
- from /usr/local/include/c++/8.1.0/bits/ios_base.h:41,
- from /usr/local/include/c++/8.1.0/ios:42,
- from /usr/local/include/c++/8.1.0/ostream:38,
- from /usr/local/include/c++/8.1.0/iostream:39,
- from main.cpp:3:
- /usr/local/include/c++/8.1.0/ext/string_conversions.h:99:5: note: candidate: 'template<class _String, class _CharT> _String __gnu_cxx::__to_xstring(int (*)(_CharT*, int, const _CharT*, __va_list_tag*), int, const _CharT*, ...)'
- __to_xstring(int (*__convf) (_CharT*, std::size_t, const _CharT*,
- ^~~~~~~~~~~~
- /usr/local/include/c++/8.1.0/ext/string_conversions.h:99:5: note: template argument deduction/substitution failed:
- In file included from /usr/local/include/c++/8.1.0/string:52,
- from /usr/local/include/c++/8.1.0/bits/locale_classes.h:40,
- from /usr/local/include/c++/8.1.0/bits/ios_base.h:41,
- from /usr/local/include/c++/8.1.0/ios:42,
- from /usr/local/include/c++/8.1.0/ostream:38,
- from /usr/local/include/c++/8.1.0/iostream:39,
- from main.cpp:3:
- /usr/local/include/c++/8.1.0/bits/basic_string.h:6439:22: note: mismatched types 'int' and 'size_t' {aka 'long unsigned int'}
- "%lld", __val); }
- ^
- /usr/local/include/c++/8.1.0/bits/basic_string.h: In function 'std::__cxx11::string std::__cxx11::to_string(long long unsigned int)':
- /usr/local/include/c++/8.1.0/bits/basic_string.h:6445:22: error: no matching function for call to '__to_xstring<std::__cxx11::string>(int (*)(char*, size_t, const char*, __va_list_tag*) throw (), long unsigned int, const char [5], long long unsigned int&)'
- "%llu", __val); }
- ^
- In file included from /usr/local/include/c++/8.1.0/bits/basic_string.h:6361,
- from /usr/local/include/c++/8.1.0/string:52,
- from /usr/local/include/c++/8.1.0/bits/locale_classes.h:40,
- from /usr/local/include/c++/8.1.0/bits/ios_base.h:41,
- from /usr/local/include/c++/8.1.0/ios:42,
- from /usr/local/include/c++/8.1.0/ostream:38,
- from /usr/local/include/c++/8.1.0/iostream:39,
- from main.cpp:3:
- /usr/local/include/c++/8.1.0/ext/string_conversions.h:99:5: note: candidate: 'template<class _String, class _CharT> _String __gnu_cxx::__to_xstring(int (*)(_CharT*, int, const _CharT*, __va_list_tag*), int, const _CharT*, ...)'
- __to_xstring(int (*__convf) (_CharT*, std::size_t, const _CharT*,
- ^~~~~~~~~~~~
- /usr/local/include/c++/8.1.0/ext/string_conversions.h:99:5: note: template argument deduction/substitution failed:
- In file included from /usr/local/include/c++/8.1.0/string:52,
- from /usr/local/include/c++/8.1.0/bits/locale_classes.h:40,
- from /usr/local/include/c++/8.1.0/bits/ios_base.h:41,
- from /usr/local/include/c++/8.1.0/ios:42,
- from /usr/local/include/c++/8.1.0/ostream:38,
- from /usr/local/include/c++/8.1.0/iostream:39,
- from main.cpp:3:
- /usr/local/include/c++/8.1.0/bits/basic_string.h:6445:22: note: mismatched types 'int' and 'size_t' {aka 'long unsigned int'}
- "%llu", __val); }
- ^
- /usr/local/include/c++/8.1.0/bits/basic_string.h: In function 'std::__cxx11::string std::__cxx11::to_string(float)':
- /usr/local/include/c++/8.1.0/bits/basic_string.h:6453:20: error: no matching function for call to '__to_xstring<std::__cxx11::string>(int (*)(char*, size_t, const char*, __va_list_tag*) throw (), const int&, const char [3], float&)'
- "%f", __val);
- ^
- In file included from /usr/local/include/c++/8.1.0/bits/basic_string.h:6361,
- from /usr/local/include/c++/8.1.0/string:52,
- from /usr/local/include/c++/8.1.0/bits/locale_classes.h:40,
- from /usr/local/include/c++/8.1.0/bits/ios_base.h:41,
- from /usr/local/include/c++/8.1.0/ios:42,
- from /usr/local/include/c++/8.1.0/ostream:38,
- from /usr/local/include/c++/8.1.0/iostream:39,
- from main.cpp:3:
- /usr/local/include/c++/8.1.0/ext/string_conversions.h:99:5: note: candidate: 'template<class _String, class _CharT> _String __gnu_cxx::__to_xstring(int (*)(_CharT*, int, const _CharT*, __va_list_tag*), int, const _CharT*, ...)'
- __to_xstring(int (*__convf) (_CharT*, std::size_t, const _CharT*,
- ^~~~~~~~~~~~
- /usr/local/include/c++/8.1.0/ext/string_conversions.h:99:5: note: template argument deduction/substitution failed:
- In file included from /usr/local/include/c++/8.1.0/string:52,
- from /usr/local/include/c++/8.1.0/bits/locale_classes.h:40,
- from /usr/local/include/c++/8.1.0/bits/ios_base.h:41,
- from /usr/local/include/c++/8.1.0/ios:42,
- from /usr/local/include/c++/8.1.0/ostream:38,
- from /usr/local/include/c++/8.1.0/iostream:39,
- from main.cpp:3:
- /usr/local/include/c++/8.1.0/bits/basic_string.h:6453:20: note: mismatched types 'int' and 'size_t' {aka 'long unsigned int'}
- "%f", __val);
- ^
- /usr/local/include/c++/8.1.0/bits/basic_string.h: In function 'std::__cxx11::string std::__cxx11::to_string(double)':
- /usr/local/include/c++/8.1.0/bits/basic_string.h:6462:20: error: no matching function for call to '__to_xstring<std::__cxx11::string>(int (*)(char*, size_t, const char*, __va_list_tag*) throw (), const int&, const char [3], double&)'
- "%f", __val);
- ^
- In file included from /usr/local/include/c++/8.1.0/bits/basic_string.h:6361,
- from /usr/local/include/c++/8.1.0/string:52,
- from /usr/local/include/c++/8.1.0/bits/locale_classes.h:40,
- from /usr/local/include/c++/8.1.0/bits/ios_base.h:41,
- from /usr/local/include/c++/8.1.0/ios:42,
- from /usr/local/include/c++/8.1.0/ostream:38,
- from /usr/local/include/c++/8.1.0/iostream:39,
- from main.cpp:3:
- /usr/local/include/c++/8.1.0/ext/string_conversions.h:99:5: note: candidate: 'template<class _String, class _CharT> _String __gnu_cxx::__to_xstring(int (*)(_CharT*, int, const _CharT*, __va_list_tag*), int, const _CharT*, ...)'
- __to_xstring(int (*__convf) (_CharT*, std::size_t, const _CharT*,
- ^~~~~~~~~~~~
- /usr/local/include/c++/8.1.0/ext/string_conversions.h:99:5: note: template argument deduction/substitution failed:
- In file included from /usr/local/include/c++/8.1.0/string:52,
- from /usr/local/include/c++/8.1.0/bits/locale_classes.h:40,
- from /usr/local/include/c++/8.1.0/bits/ios_base.h:41,
- from /usr/local/include/c++/8.1.0/ios:42,
- from /usr/local/include/c++/8.1.0/ostream:38,
- from /usr/local/include/c++/8.1.0/iostream:39,
- from main.cpp:3:
- /usr/local/include/c++/8.1.0/bits/basic_string.h:6462:20: note: mismatched types 'int' and 'size_t' {aka 'long unsigned int'}
- "%f", __val);
- ^
- /usr/local/include/c++/8.1.0/bits/basic_string.h: In function 'std::__cxx11::string std::__cxx11::to_string(long double)':
- /usr/local/include/c++/8.1.0/bits/basic_string.h:6471:21: error: no matching function for call to '__to_xstring<std::__cxx11::string>(int (*)(char*, size_t, const char*, __va_list_tag*) throw (), const int&, const char [4], long double&)'
- "%Lf", __val);
- ^
- In file included from /usr/local/include/c++/8.1.0/bits/basic_string.h:6361,
- from /usr/local/include/c++/8.1.0/string:52,
- from /usr/local/include/c++/8.1.0/bits/locale_classes.h:40,
- from /usr/local/include/c++/8.1.0/bits/ios_base.h:41,
- from /usr/local/include/c++/8.1.0/ios:42,
- from /usr/local/include/c++/8.1.0/ostream:38,
- from /usr/local/include/c++/8.1.0/iostream:39,
- from main.cpp:3:
- /usr/local/include/c++/8.1.0/ext/string_conversions.h:99:5: note: candidate: 'template<class _String, class _CharT> _String __gnu_cxx::__to_xstring(int (*)(_CharT*, int, const _CharT*, __va_list_tag*), int, const _CharT*, ...)'
- __to_xstring(int (*__convf) (_CharT*, std::size_t, const _CharT*,
- ^~~~~~~~~~~~
- /usr/local/include/c++/8.1.0/ext/string_conversions.h:99:5: note: template argument deduction/substitution failed:
- In file included from /usr/local/include/c++/8.1.0/string:52,
- from /usr/local/include/c++/8.1.0/bits/locale_classes.h:40,
- from /usr/local/include/c++/8.1.0/bits/ios_base.h:41,
- from /usr/local/include/c++/8.1.0/ios:42,
- from /usr/local/include/c++/8.1.0/ostream:38,
- from /usr/local/include/c++/8.1.0/iostream:39,
- from main.cpp:3:
- /usr/local/include/c++/8.1.0/bits/basic_string.h:6471:21: note: mismatched types 'int' and 'size_t' {aka 'long unsigned int'}
- "%Lf", __val);
- ^
- In file included from /usr/local/include/c++/8.1.0/bits/basic_string.h:40,
- from /usr/local/include/c++/8.1.0/string:52,
- from /usr/local/include/c++/8.1.0/bits/locale_classes.h:40,
- from /usr/local/include/c++/8.1.0/bits/ios_base.h:41,
- from /usr/local/include/c++/8.1.0/ios:42,
- from /usr/local/include/c++/8.1.0/ostream:38,
- from /usr/local/include/c++/8.1.0/iostream:39,
- from main.cpp:3:
- /usr/local/include/c++/8.1.0/ext/alloc_traits.h: In instantiation of 'struct __gnu_cxx::__alloc_traits<std::allocator<wchar_t>, wchar_t>':
- /usr/local/include/c++/8.1.0/bits/basic_string.h:80:24: required from 'class std::__cxx11::basic_string<wchar_t>'
- /usr/local/include/c++/8.1.0/bits/basic_string.h:6478:68: required from here
- /usr/local/include/c++/8.1.0/ext/alloc_traits.h:61:53: error: no type named 'size_type' in 'struct std::allocator_traits<std::allocator<wchar_t> >'
- typedef typename _Base_type::size_type size_type;
- ^~~~~~~~~
- /usr/local/include/c++/8.1.0/ext/alloc_traits.h:62:53: error: no type named 'difference_type' in 'struct std::allocator_traits<std::allocator<wchar_t> >'
- typedef typename _Base_type::difference_type difference_type;
- ^~~~~~~~~~~~~~~
- /usr/local/include/c++/8.1.0/ext/alloc_traits.h:70:23: error: no members matching '__gnu_cxx::__alloc_traits<std::allocator<wchar_t>, wchar_t>::_Base_type {aka std::allocator_traits<std::allocator<wchar_t> >}::max_size' in '__gnu_cxx::__alloc_traits<std::allocator<wchar_t>, wchar_t>::_Base_type' {aka 'struct std::allocator_traits<std::allocator<wchar_t> >'}
- using _Base_type::max_size;
- ^~~~~~~~
- In file included from /usr/local/include/c++/8.1.0/string:52,
- from /usr/local/include/c++/8.1.0/bits/locale_classes.h:40,
- from /usr/local/include/c++/8.1.0/bits/ios_base.h:41,
- from /usr/local/include/c++/8.1.0/ios:42,
- from /usr/local/include/c++/8.1.0/ostream:38,
- from /usr/local/include/c++/8.1.0/iostream:39,
- from main.cpp:3:
- /usr/local/include/c++/8.1.0/bits/basic_string.h: In function 'int std::__cxx11::stoi(const wstring&, size_t*, int)':
- /usr/local/include/c++/8.1.0/bits/basic_string.h:6479:19: error: no matching function for call to '__stoa<long int, int>(long int (*)(const wchar_t*, wchar_t**, int) throw (), const char [5], const wchar_t*, size_t*&, int&)'
- __idx, __base); }
- ^
- In file included from /usr/local/include/c++/8.1.0/bits/basic_string.h:6361,
- from /usr/local/include/c++/8.1.0/string:52,
- from /usr/local/include/c++/8.1.0/bits/locale_classes.h:40,
- from /usr/local/include/c++/8.1.0/bits/ios_base.h:41,
- from /usr/local/include/c++/8.1.0/ios:42,
- from /usr/local/include/c++/8.1.0/ostream:38,
- from /usr/local/include/c++/8.1.0/iostream:39,
- from main.cpp:3:
- /usr/local/include/c++/8.1.0/ext/string_conversions.h:54:5: note: candidate: 'template<class _TRet, class _Ret, class _CharT, class ... _Base> _Ret __gnu_cxx::__stoa(_TRet (*)(const _CharT*, _CharT**, _Base ...), const char*, const _CharT*, int*, _Base ...)'
- __stoa(_TRet (*__convf) (const _CharT*, _CharT**, _Base...),
- ^~~~~~
- /usr/local/include/c++/8.1.0/ext/string_conversions.h:54:5: note: template argument deduction/substitution failed:
- In file included from /usr/local/include/c++/8.1.0/string:52,
- from /usr/local/include/c++/8.1.0/bits/locale_classes.h:40,
- from /usr/local/include/c++/8.1.0/bits/ios_base.h:41,
- from /usr/local/include/c++/8.1.0/ios:42,
- from /usr/local/include/c++/8.1.0/ostream:38,
- from /usr/local/include/c++/8.1.0/iostream:39,
- from main.cpp:3:
- /usr/local/include/c++/8.1.0/bits/basic_string.h:6479:6: note: cannot convert '__idx' (type 'size_t*' {aka 'long unsigned int*'}) to type 'int*'
- __idx, __base); }
- ^~~~~
- /usr/local/include/c++/8.1.0/bits/basic_string.h: In function 'long int std::__cxx11::stol(const wstring&, size_t*, int)':
- /usr/local/include/c++/8.1.0/bits/basic_string.h:6484:22: error: no matching function for call to '__stoa(long int (*)(const wchar_t*, wchar_t**, int) throw (), const char [5], const wchar_t*, size_t*&, int&)'
- __idx, __base); }
- ^
- In file included from /usr/local/include/c++/8.1.0/bits/basic_string.h:6361,
- from /usr/local/include/c++/8.1.0/string:52,
- from /usr/local/include/c++/8.1.0/bits/locale_classes.h:40,
- from /usr/local/include/c++/8.1.0/bits/ios_base.h:41,
- from /usr/local/include/c++/8.1.0/ios:42,
- from /usr/local/include/c++/8.1.0/ostream:38,
- from /usr/local/include/c++/8.1.0/iostream:39,
- from main.cpp:3:
- /usr/local/include/c++/8.1.0/ext/string_conversions.h:54:5: note: candidate: 'template<class _TRet, class _Ret, class _CharT, class ... _Base> _Ret __gnu_cxx::__stoa(_TRet (*)(const _CharT*, _CharT**, _Base ...), const char*, const _CharT*, int*, _Base ...)'
- __stoa(_TRet (*__convf) (const _CharT*, _CharT**, _Base...),
- ^~~~~~
- /usr/local/include/c++/8.1.0/ext/string_conversions.h:54:5: note: template argument deduction/substitution failed:
- In file included from /usr/local/include/c++/8.1.0/string:52,
- from /usr/local/include/c++/8.1.0/bits/locale_classes.h:40,
- from /usr/local/include/c++/8.1.0/bits/ios_base.h:41,
- from /usr/local/include/c++/8.1.0/ios:42,
- from /usr/local/include/c++/8.1.0/ostream:38,
- from /usr/local/include/c++/8.1.0/iostream:39,
- from main.cpp:3:
- /usr/local/include/c++/8.1.0/bits/basic_string.h:6484:9: note: cannot convert '__idx' (type 'size_t*' {aka 'long unsigned int*'}) to type 'int*'
- __idx, __base); }
- ^~~~~
- /usr/local/include/c++/8.1.0/bits/basic_string.h: In function 'long unsigned int std::__cxx11::stoul(const wstring&, size_t*, int)':
- /usr/local/include/c++/8.1.0/bits/basic_string.h:6489:22: error: no matching function for call to '__stoa(long unsigned int (*)(const wchar_t*, wchar_t**, int) throw (), const char [6], const wchar_t*, size_t*&, int&)'
- __idx, __base); }
- ^
- In file included from /usr/local/include/c++/8.1.0/bits/basic_string.h:6361,
- from /usr/local/include/c++/8.1.0/string:52,
- from /usr/local/include/c++/8.1.0/bits/locale_classes.h:40,
- from /usr/local/include/c++/8.1.0/bits/ios_base.h:41,
- from /usr/local/include/c++/8.1.0/ios:42,
- from /usr/local/include/c++/8.1.0/ostream:38,
- from /usr/local/include/c++/8.1.0/iostream:39,
- from main.cpp:3:
- /usr/local/include/c++/8.1.0/ext/string_conversions.h:54:5: note: candidate: 'template<class _TRet, class _Ret, class _CharT, class ... _Base> _Ret __gnu_cxx::__stoa(_TRet (*)(const _CharT*, _CharT**, _Base ...), const char*, const _CharT*, int*, _Base ...)'
- __stoa(_TRet (*__convf) (const _CharT*, _CharT**, _Base...),
- ^~~~~~
- /usr/local/include/c++/8.1.0/ext/string_conversions.h:54:5: note: template argument deduction/substitution failed:
- In file included from /usr/local/include/c++/8.1.0/string:52,
- from /usr/local/include/c++/8.1.0/bits/locale_classes.h:40,
- from /usr/local/include/c++/8.1.0/bits/ios_base.h:41,
- from /usr/local/include/c++/8.1.0/ios:42,
- from /usr/local/include/c++/8.1.0/ostream:38,
- from /usr/local/include/c++/8.1.0/iostream:39,
- from main.cpp:3:
- /usr/local/include/c++/8.1.0/bits/basic_string.h:6489:9: note: cannot convert '__idx' (type 'size_t*' {aka 'long unsigned int*'}) to type 'int*'
- __idx, __base); }
- ^~~~~
- /usr/local/include/c++/8.1.0/bits/basic_string.h: In function 'long long int std::__cxx11::stoll(const wstring&, size_t*, int)':
- /usr/local/include/c++/8.1.0/bits/basic_string.h:6494:22: error: no matching function for call to '__stoa(long long int (*)(const wchar_t*, wchar_t**, int) throw (), const char [6], const wchar_t*, size_t*&, int&)'
- __idx, __base); }
- ^
- In file included from /usr/local/include/c++/8.1.0/bits/basic_string.h:6361,
- from /usr/local/include/c++/8.1.0/string:52,
- from /usr/local/include/c++/8.1.0/bits/locale_classes.h:40,
- from /usr/local/include/c++/8.1.0/bits/ios_base.h:41,
- from /usr/local/include/c++/8.1.0/ios:42,
- from /usr/local/include/c++/8.1.0/ostream:38,
- from /usr/local/include/c++/8.1.0/iostream:39,
- from main.cpp:3:
- /usr/local/include/c++/8.1.0/ext/string_conversions.h:54:5: note: candidate: 'template<class _TRet, class _Ret, class _CharT, class ... _Base> _Ret __gnu_cxx::__stoa(_TRet (*)(const _CharT*, _CharT**, _Base ...), const char*, const _CharT*, int*, _Base ...)'
- __stoa(_TRet (*__convf) (const _CharT*, _CharT**, _Base...),
- ^~~~~~
- /usr/local/include/c++/8.1.0/ext/string_conversions.h:54:5: note: template argument deduction/substitution failed:
- In file included from /usr/local/include/c++/8.1.0/string:52,
- from /usr/local/include/c++/8.1.0/bits/locale_classes.h:40,
- from /usr/local/include/c++/8.1.0/bits/ios_base.h:41,
- from /usr/local/include/c++/8.1.0/ios:42,
- from /usr/local/include/c++/8.1.0/ostream:38,
- from /usr/local/include/c++/8.1.0/iostream:39,
- from main.cpp:3:
- /usr/local/include/c++/8.1.0/bits/basic_string.h:6494:9: note: cannot convert '__idx' (type 'size_t*' {aka 'long unsigned int*'}) to type 'int*'
- __idx, __base); }
- ^~~~~
- /usr/local/include/c++/8.1.0/bits/basic_string.h: In function 'long long unsigned int std::__cxx11::stoull(const wstring&, size_t*, int)':
- /usr/local/include/c++/8.1.0/bits/basic_string.h:6499:22: error: no matching function for call to '__stoa(long long unsigned int (*)(const wchar_t*, wchar_t**, int) throw (), const char [7], const wchar_t*, size_t*&, int&)'
- __idx, __base); }
- ^
- In file included from /usr/local/include/c++/8.1.0/bits/basic_string.h:6361,
- from /usr/local/include/c++/8.1.0/string:52,
- from /usr/local/include/c++/8.1.0/bits/locale_classes.h:40,
- from /usr/local/include/c++/8.1.0/bits/ios_base.h:41,
- from /usr/local/include/c++/8.1.0/ios:42,
- from /usr/local/include/c++/8.1.0/ostream:38,
- from /usr/local/include/c++/8.1.0/iostream:39,
- from main.cpp:3:
- /usr/local/include/c++/8.1.0/ext/string_conversions.h:54:5: note: candidate: 'template<class _TRet, class _Ret, class _CharT, class ... _Base> _Ret __gnu_cxx::__stoa(_TRet (*)(const _CharT*, _CharT**, _Base ...), const char*, const _CharT*, int*, _Base ...)'
- __stoa(_TRet (*__convf) (const _CharT*, _CharT**, _Base...),
- ^~~~~~
- /usr/local/include/c++/8.1.0/ext/string_conversions.h:54:5: note: template argument deduction/substitution failed:
- In file included from /usr/local/include/c++/8.1.0/string:52,
- from /usr/local/include/c++/8.1.0/bits/locale_classes.h:40,
- from /usr/local/include/c++/8.1.0/bits/ios_base.h:41,
- from /usr/local/include/c++/8.1.0/ios:42,
- from /usr/local/include/c++/8.1.0/ostream:38,
- from /usr/local/include/c++/8.1.0/iostream:39,
- from main.cpp:3:
- /usr/local/include/c++/8.1.0/bits/basic_string.h:6499:9: note: cannot convert '__idx' (type 'size_t*' {aka 'long unsigned int*'}) to type 'int*'
- __idx, __base); }
- ^~~~~
- /usr/local/include/c++/8.1.0/bits/basic_string.h: In function 'float std::__cxx11::stof(const wstring&, size_t*)':
- /usr/local/include/c++/8.1.0/bits/basic_string.h:6504:72: error: no matching function for call to '__stoa(float (*)(const wchar_t*, wchar_t**) throw (), const char [5], const wchar_t*, size_t*&)'
- { return __gnu_cxx::__stoa(&std::wcstof, "stof", __str.c_str(), __idx); }
- ^
- In file included from /usr/local/include/c++/8.1.0/bits/basic_string.h:6361,
- from /usr/local/include/c++/8.1.0/string:52,
- from /usr/local/include/c++/8.1.0/bits/locale_classes.h:40,
- from /usr/local/include/c++/8.1.0/bits/ios_base.h:41,
- from /usr/local/include/c++/8.1.0/ios:42,
- from /usr/local/include/c++/8.1.0/ostream:38,
- from /usr/local/include/c++/8.1.0/iostream:39,
- from main.cpp:3:
- /usr/local/include/c++/8.1.0/ext/string_conversions.h:54:5: note: candidate: 'template<class _TRet, class _Ret, class _CharT, class ... _Base> _Ret __gnu_cxx::__stoa(_TRet (*)(const _CharT*, _CharT**, _Base ...), const char*, const _CharT*, int*, _Base ...)'
- __stoa(_TRet (*__convf) (const _CharT*, _CharT**, _Base...),
- ^~~~~~
- /usr/local/include/c++/8.1.0/ext/string_conversions.h:54:5: note: template argument deduction/substitution failed:
- In file included from /usr/local/include/c++/8.1.0/string:52,
- from /usr/local/include/c++/8.1.0/bits/locale_classes.h:40,
- from /usr/local/include/c++/8.1.0/bits/ios_base.h:41,
- from /usr/local/include/c++/8.1.0/ios:42,
- from /usr/local/include/c++/8.1.0/ostream:38,
- from /usr/local/include/c++/8.1.0/iostream:39,
- from main.cpp:3:
- /usr/local/include/c++/8.1.0/bits/basic_string.h:6504:67: note: cannot convert '__idx' (type 'size_t*' {aka 'long unsigned int*'}) to type 'int*'
- { return __gnu_cxx::__stoa(&std::wcstof, "stof", __str.c_str(), __idx); }
- ^~~~~
- /usr/local/include/c++/8.1.0/bits/basic_string.h: In function 'double std::__cxx11::stod(const wstring&, size_t*)':
- /usr/local/include/c++/8.1.0/bits/basic_string.h:6508:72: error: no matching function for call to '__stoa(double (*)(const wchar_t*, wchar_t**) throw (), const char [5], const wchar_t*, size_t*&)'
- { return __gnu_cxx::__stoa(&std::wcstod, "stod", __str.c_str(), __idx); }
- ^
- In file included from /usr/local/include/c++/8.1.0/bits/basic_string.h:6361,
- from /usr/local/include/c++/8.1.0/string:52,
- from /usr/local/include/c++/8.1.0/bits/locale_classes.h:40,
- from /usr/local/include/c++/8.1.0/bits/ios_base.h:41,
- from /usr/local/include/c++/8.1.0/ios:42,
- from /usr/local/include/c++/8.1.0/ostream:38,
- from /usr/local/include/c++/8.1.0/iostream:39,
- from main.cpp:3:
- /usr/local/include/c++/8.1.0/ext/string_conversions.h:54:5: note: candidate: 'template<class _TRet, class _Ret, class _CharT, class ... _Base> _Ret __gnu_cxx::__stoa(_TRet (*)(const _CharT*, _CharT**, _Base ...), const char*, const _CharT*, int*, _Base ...)'
- __stoa(_TRet (*__convf) (const _CharT*, _CharT**, _Base...),
- ^~~~~~
- /usr/local/include/c++/8.1.0/ext/string_conversions.h:54:5: note: template argument deduction/substitution failed:
- In file included from /usr/local/include/c++/8.1.0/string:52,
- from /usr/local/include/c++/8.1.0/bits/locale_classes.h:40,
- from /usr/local/include/c++/8.1.0/bits/ios_base.h:41,
- from /usr/local/include/c++/8.1.0/ios:42,
- from /usr/local/include/c++/8.1.0/ostream:38,
- from /usr/local/include/c++/8.1.0/iostream:39,
- from main.cpp:3:
- /usr/local/include/c++/8.1.0/bits/basic_string.h:6508:67: note: cannot convert '__idx' (type 'size_t*' {aka 'long unsigned int*'}) to type 'int*'
- { return __gnu_cxx::__stoa(&std::wcstod, "stod", __str.c_str(), __idx); }
- ^~~~~
- /usr/local/include/c++/8.1.0/bits/basic_string.h: In function 'long double std::__cxx11::stold(const wstring&, size_t*)':
- /usr/local/include/c++/8.1.0/bits/basic_string.h:6512:74: error: no matching function for call to '__stoa(long double (*)(const wchar_t*, wchar_t**) throw (), const char [6], const wchar_t*, size_t*&)'
- { return __gnu_cxx::__stoa(&std::wcstold, "stold", __str.c_str(), __idx); }
- ^
- In file included from /usr/local/include/c++/8.1.0/bits/basic_string.h:6361,
- from /usr/local/include/c++/8.1.0/string:52,
- from /usr/local/include/c++/8.1.0/bits/locale_classes.h:40,
- from /usr/local/include/c++/8.1.0/bits/ios_base.h:41,
- from /usr/local/include/c++/8.1.0/ios:42,
- from /usr/local/include/c++/8.1.0/ostream:38,
- from /usr/local/include/c++/8.1.0/iostream:39,
- from main.cpp:3:
- /usr/local/include/c++/8.1.0/ext/string_conversions.h:54:5: note: candidate: 'template<class _TRet, class _Ret, class _CharT, class ... _Base> _Ret __gnu_cxx::__stoa(_TRet (*)(const _CharT*, _CharT**, _Base ...), const char*, const _CharT*, int*, _Base ...)'
- __stoa(_TRet (*__convf) (const _CharT*, _CharT**, _Base...),
- ^~~~~~
- /usr/local/include/c++/8.1.0/ext/string_conversions.h:54:5: note: template argument deduction/substitution failed:
- In file included from /usr/local/include/c++/8.1.0/string:52,
- from /usr/local/include/c++/8.1.0/bits/locale_classes.h:40,
- from /usr/local/include/c++/8.1.0/bits/ios_base.h:41,
- from /usr/local/include/c++/8.1.0/ios:42,
- from /usr/local/include/c++/8.1.0/ostream:38,
- from /usr/local/include/c++/8.1.0/iostream:39,
- from main.cpp:3:
- /usr/local/include/c++/8.1.0/bits/basic_string.h:6512:69: note: cannot convert '__idx' (type 'size_t*' {aka 'long unsigned int*'}) to type 'int*'
- { return __gnu_cxx::__stoa(&std::wcstold, "stold", __str.c_str(), __idx); }
- ^~~~~
- /usr/local/include/c++/8.1.0/bits/basic_string.h: In function 'std::__cxx11::wstring std::__cxx11::to_wstring(int)':
- /usr/local/include/c++/8.1.0/bits/basic_string.h:6519:22: error: no matching function for call to '__to_xstring<std::__cxx11::wstring>(int (*)(wchar_t*, size_t, const wchar_t*, __va_list_tag*) throw (), long unsigned int, const wchar_t [3], int&)'
- L"%d", __val); }
- ^
- In file included from /usr/local/include/c++/8.1.0/bits/basic_string.h:6361,
- from /usr/local/include/c++/8.1.0/string:52,
- from /usr/local/include/c++/8.1.0/bits/locale_classes.h:40,
- from /usr/local/include/c++/8.1.0/bits/ios_base.h:41,
- from /usr/local/include/c++/8.1.0/ios:42,
- from /usr/local/include/c++/8.1.0/ostream:38,
- from /usr/local/include/c++/8.1.0/iostream:39,
- from main.cpp:3:
- /usr/local/include/c++/8.1.0/ext/string_conversions.h:99:5: note: candidate: 'template<class _String, class _CharT> _String __gnu_cxx::__to_xstring(int (*)(_CharT*, int, const _CharT*, __va_list_tag*), int, const _CharT*, ...)'
- __to_xstring(int (*__convf) (_CharT*, std::size_t, const _CharT*,
- ^~~~~~~~~~~~
- /usr/local/include/c++/8.1.0/ext/string_conversions.h:99:5: note: template argument deduction/substitution failed:
- In file included from /usr/local/include/c++/8.1.0/string:52,
- from /usr/local/include/c++/8.1.0/bits/locale_classes.h:40,
- from /usr/local/include/c++/8.1.0/bits/ios_base.h:41,
- from /usr/local/include/c++/8.1.0/ios:42,
- from /usr/local/include/c++/8.1.0/ostream:38,
- from /usr/local/include/c++/8.1.0/iostream:39,
- from main.cpp:3:
- /usr/local/include/c++/8.1.0/bits/basic_string.h:6519:22: note: mismatched types 'int' and 'size_t' {aka 'long unsigned int'}
- L"%d", __val); }
- ^
- /usr/local/include/c++/8.1.0/bits/basic_string.h: In function 'std::__cxx11::wstring std::__cxx11::to_wstring(unsigned int)':
- /usr/local/include/c++/8.1.0/bits/basic_string.h:6525:22: error: no matching function for call to '__to_xstring<std::__cxx11::wstring>(int (*)(wchar_t*, size_t, const wchar_t*, __va_list_tag*) throw (), long unsigned int, const wchar_t [3], unsigned int&)'
- L"%u", __val); }
- ^
- In file included from /usr/local/include/c++/8.1.0/bits/basic_string.h:6361,
- from /usr/local/include/c++/8.1.0/string:52,
- from /usr/local/include/c++/8.1.0/bits/locale_classes.h:40,
- from /usr/local/include/c++/8.1.0/bits/ios_base.h:41,
- from /usr/local/include/c++/8.1.0/ios:42,
- from /usr/local/include/c++/8.1.0/ostream:38,
- from /usr/local/include/c++/8.1.0/iostream:39,
- from main.cpp:3:
- /usr/local/include/c++/8.1.0/ext/string_conversions.h:99:5: note: candidate: 'template<class _String, class _CharT> _String __gnu_cxx::__to_xstring(int (*)(_CharT*, int, const _CharT*, __va_list_tag*), int, const _CharT*, ...)'
- __to_xstring(int (*__convf) (_CharT*, std::size_t, const _CharT*,
- ^~~~~~~~~~~~
- /usr/local/include/c++/8.1.0/ext/string_conversions.h:99:5: note: template argument deduction/substitution failed:
- In file included from /usr/local/include/c++/8.1.0/string:52,
- from /usr/local/include/c++/8.1.0/bits/locale_classes.h:40,
- from /usr/local/include/c++/8.1.0/bits/ios_base.h:41,
- from /usr/local/include/c++/8.1.0/ios:42,
- from /usr/local/include/c++/8.1.0/ostream:38,
- from /usr/local/include/c++/8.1.0/iostream:39,
- from main.cpp:3:
- /usr/local/include/c++/8.1.0/bits/basic_string.h:6525:22: note: mismatched types 'int' and 'size_t' {aka 'long unsigned int'}
- L"%u", __val); }
- ^
- /usr/local/include/c++/8.1.0/bits/basic_string.h: In function 'std::__cxx11::wstring std::__cxx11::to_wstring(long int)':
- /usr/local/include/c++/8.1.0/bits/basic_string.h:6530:23: error: no matching function for call to '__to_xstring<std::__cxx11::wstring>(int (*)(wchar_t*, size_t, const wchar_t*, __va_list_tag*) throw (), long unsigned int, const wchar_t [4], long int&)'
- L"%ld", __val); }
- ^
- In file included from /usr/local/include/c++/8.1.0/bits/basic_string.h:6361,
- from /usr/local/include/c++/8.1.0/string:52,
- from /usr/local/include/c++/8.1.0/bits/locale_classes.h:40,
- from /usr/local/include/c++/8.1.0/bits/ios_base.h:41,
- from /usr/local/include/c++/8.1.0/ios:42,
- from /usr/local/include/c++/8.1.0/ostream:38,
- from /usr/local/include/c++/8.1.0/iostream:39,
- from main.cpp:3:
- /usr/local/include/c++/8.1.0/ext/string_conversions.h:99:5: note: candidate: 'template<class _String, class _CharT> _String __gnu_cxx::__to_xstring(int (*)(_CharT*, int, const _CharT*, __va_list_tag*), int, const _CharT*, ...)'
- __to_xstring(int (*__convf) (_CharT*, std::size_t, const _CharT*,
- ^~~~~~~~~~~~
- /usr/local/include/c++/8.1.0/ext/string_conversions.h:99:5: note: template argument deduction/substitution failed:
- In file included from /usr/local/include/c++/8.1.0/string:52,
- from /usr/local/include/c++/8.1.0/bits/locale_classes.h:40,
- from /usr/local/include/c++/8.1.0/bits/ios_base.h:41,
- from /usr/local/include/c++/8.1.0/ios:42,
- from /usr/local/include/c++/8.1.0/ostream:38,
- from /usr/local/include/c++/8.1.0/iostream:39,
- from main.cpp:3:
- /usr/local/include/c++/8.1.0/bits/basic_string.h:6530:23: note: mismatched types 'int' and 'size_t' {aka 'long unsigned int'}
- L"%ld", __val); }
- ^
- /usr/local/include/c++/8.1.0/bits/basic_string.h: In function 'std::__cxx11::wstring std::__cxx11::to_wstring(long unsigned int)':
- /usr/local/include/c++/8.1.0/bits/basic_string.h:6536:23: error: no matching function for call to '__to_xstring<std::__cxx11::wstring>(int (*)(wchar_t*, size_t, const wchar_t*, __va_list_tag*) throw (), long unsigned int, const wchar_t [4], long unsigned int&)'
- L"%lu", __val); }
- ^
- In file included from /usr/local/include/c++/8.1.0/bits/basic_string.h:6361,
- from /usr/local/include/c++/8.1.0/string:52,
- from /usr/local/include/c++/8.1.0/bits/locale_classes.h:40,
- from /usr/local/include/c++/8.1.0/bits/ios_base.h:41,
- from /usr/local/include/c++/8.1.0/ios:42,
- from /usr/local/include/c++/8.1.0/ostream:38,
- from /usr/local/include/c++/8.1.0/iostream:39,
- from main.cpp:3:
- /usr/local/include/c++/8.1.0/ext/string_conversions.h:99:5: note: candidate: 'template<class _String, class _CharT> _String __gnu_cxx::__to_xstring(int (*)(_CharT*, int, const _CharT*, __va_list_tag*), int, const _CharT*, ...)'
- __to_xstring(int (*__convf) (_CharT*, std::size_t, const _CharT*,
- ^~~~~~~~~~~~
- /usr/local/include/c++/8.1.0/ext/string_conversions.h:99:5: note: template argument deduction/substitution failed:
- In file included from /usr/local/include/c++/8.1.0/string:52,
- from /usr/local/include/c++/8.1.0/bits/locale_classes.h:40,
- from /usr/local/include/c++/8.1.0/bits/ios_base.h:41,
- from /usr/local/include/c++/8.1.0/ios:42,
- from /usr/local/include/c++/8.1.0/ostream:38,
- from /usr/local/include/c++/8.1.0/iostream:39,
- from main.cpp:3:
- /usr/local/include/c++/8.1.0/bits/basic_string.h:6536:23: note: mismatched types 'int' and 'size_t' {aka 'long unsigned int'}
- L"%lu", __val); }
- ^
- /usr/local/include/c++/8.1.0/bits/basic_string.h: In function 'std::__cxx11::wstring std::__cxx11::to_wstring(long long int)':
- /usr/local/include/c++/8.1.0/bits/basic_string.h:6542:24: error: no matching function for call to '__to_xstring<std::__cxx11::wstring>(int (*)(wchar_t*, size_t, const wchar_t*, __va_list_tag*) throw (), long unsigned int, const wchar_t [5], long long int&)'
- L"%lld", __val); }
- ^
- In file included from /usr/local/include/c++/8.1.0/bits/basic_string.h:6361,
- from /usr/local/include/c++/8.1.0/string:52,
- from /usr/local/include/c++/8.1.0/bits/locale_classes.h:40,
- from /usr/local/include/c++/8.1.0/bits/ios_base.h:41,
- from /usr/local/include/c++/8.1.0/ios:42,
- from /usr/local/include/c++/8.1.0/ostream:38,
- from /usr/local/include/c++/8.1.0/iostream:39,
- from main.cpp:3:
- /usr/local/include/c++/8.1.0/ext/string_conversions.h:99:5: note: candidate: 'template<class _String, class _CharT> _String __gnu_cxx::__to_xstring(int (*)(_CharT*, int, const _CharT*, __va_list_tag*), int, const _CharT*, ...)'
- __to_xstring(int (*__convf) (_CharT*, std::size_t, const _CharT*,
- ^~~~~~~~~~~~
- /usr/local/include/c++/8.1.0/ext/string_conversions.h:99:5: note: template argument deduction/substitution failed:
- In file included from /usr/local/include/c++/8.1.0/string:52,
- from /usr/local/include/c++/8.1.0/bits/locale_classes.h:40,
- from /usr/local/include/c++/8.1.0/bits/ios_base.h:41,
- from /usr/local/include/c++/8.1.0/ios:42,
- from /usr/local/include/c++/8.1.0/ostream:38,
- from /usr/local/include/c++/8.1.0/iostream:39,
- from main.cpp:3:
- /usr/local/include/c++/8.1.0/bits/basic_string.h:6542:24: note: mismatched types 'int' and 'size_t' {aka 'long unsigned int'}
- L"%lld", __val); }
- ^
- /usr/local/include/c++/8.1.0/bits/basic_string.h: In function 'std::__cxx11::wstring std::__cxx11::to_wstring(long long unsigned int)':
- /usr/local/include/c++/8.1.0/bits/basic_string.h:6548:24: error: no matching function for call to '__to_xstring<std::__cxx11::wstring>(int (*)(wchar_t*, size_t, const wchar_t*, __va_list_tag*) throw (), long unsigned int, const wchar_t [5], long long unsigned int&)'
- L"%llu", __val); }
- ^
- In file included from /usr/local/include/c++/8.1.0/bits/basic_string.h:6361,
- from /usr/local/include/c++/8.1.0/string:52,
- from /usr/local/include/c++/8.1.0/bits/locale_classes.h:40,
- from /usr/local/include/c++/8.1.0/bits/ios_base.h:41,
- from /usr/local/include/c++/8.1.0/ios:42,
- from /usr/local/include/c++/8.1.0/ostream:38,
- from /usr/local/include/c++/8.1.0/iostream:39,
- from main.cpp:3:
- /usr/local/include/c++/8.1.0/ext/string_conversions.h:99:5: note: candidate: 'template<class _String, class _CharT> _String __gnu_cxx::__to_xstring(int (*)(_CharT*, int, const _CharT*, __va_list_tag*), int, const _CharT*, ...)'
- __to_xstring(int (*__convf) (_CharT*, std::size_t, const _CharT*,
- ^~~~~~~~~~~~
- /usr/local/include/c++/8.1.0/ext/string_conversions.h:99:5: note: template argument deduction/substitution failed:
- In file included from /usr/local/include/c++/8.1.0/string:52,
- from /usr/local/include/c++/8.1.0/bits/locale_classes.h:40,
- from /usr/local/include/c++/8.1.0/bits/ios_base.h:41,
- from /usr/local/include/c++/8.1.0/ios:42,
- from /usr/local/include/c++/8.1.0/ostream:38,
- from /usr/local/include/c++/8.1.0/iostream:39,
- from main.cpp:3:
- /usr/local/include/c++/8.1.0/bits/basic_string.h:6548:24: note: mismatched types 'int' and 'size_t' {aka 'long unsigned int'}
- L"%llu", __val); }
- ^
- /usr/local/include/c++/8.1.0/bits/basic_string.h: In function 'std::__cxx11::wstring std::__cxx11::to_wstring(float)':
- /usr/local/include/c++/8.1.0/bits/basic_string.h:6556:22: error: no matching function for call to '__to_xstring<std::__cxx11::wstring>(int (*)(wchar_t*, size_t, const wchar_t*, __va_list_tag*) throw (), const int&, const wchar_t [3], float&)'
- L"%f", __val);
- ^
- In file included from /usr/local/include/c++/8.1.0/bits/basic_string.h:6361,
- from /usr/local/include/c++/8.1.0/string:52,
- from /usr/local/include/c++/8.1.0/bits/locale_classes.h:40,
- from /usr/local/include/c++/8.1.0/bits/ios_base.h:41,
- from /usr/local/include/c++/8.1.0/ios:42,
- from /usr/local/include/c++/8.1.0/ostream:38,
- from /usr/local/include/c++/8.1.0/iostream:39,
- from main.cpp:3:
- /usr/local/include/c++/8.1.0/ext/string_conversions.h:99:5: note: candidate: 'template<class _String, class _CharT> _String __gnu_cxx::__to_xstring(int (*)(_CharT*, int, const _CharT*, __va_list_tag*), int, const _CharT*, ...)'
- __to_xstring(int (*__convf) (_CharT*, std::size_t, const _CharT*,
- ^~~~~~~~~~~~
- /usr/local/include/c++/8.1.0/ext/string_conversions.h:99:5: note: template argument deduction/substitution failed:
- In file included from /usr/local/include/c++/8.1.0/string:52,
- from /usr/local/include/c++/8.1.0/bits/locale_classes.h:40,
- from /usr/local/include/c++/8.1.0/bits/ios_base.h:41,
- from /usr/local/include/c++/8.1.0/ios:42,
- from /usr/local/include/c++/8.1.0/ostream:38,
- from /usr/local/include/c++/8.1.0/iostream:39,
- from main.cpp:3:
- /usr/local/include/c++/8.1.0/bits/basic_string.h:6556:22: note: mismatched types 'int' and 'size_t' {aka 'long unsigned int'}
- L"%f", __val);
- ^
- /usr/local/include/c++/8.1.0/bits/basic_string.h: In function 'std::__cxx11::wstring std::__cxx11::to_wstring(double)':
- /usr/local/include/c++/8.1.0/bits/basic_string.h:6565:22: error: no matching function for call to '__to_xstring<std::__cxx11::wstring>(int (*)(wchar_t*, size_t, const wchar_t*, __va_list_tag*) throw (), const int&, const wchar_t [3], double&)'
- L"%f", __val);
- ^
- In file included from /usr/local/include/c++/8.1.0/bits/basic_string.h:6361,
- from /usr/local/include/c++/8.1.0/string:52,
- from /usr/local/include/c++/8.1.0/bits/locale_classes.h:40,
- from /usr/local/include/c++/8.1.0/bits/ios_base.h:41,
- from /usr/local/include/c++/8.1.0/ios:42,
- from /usr/local/include/c++/8.1.0/ostream:38,
- from /usr/local/include/c++/8.1.0/iostream:39,
- from main.cpp:3:
- /usr/local/include/c++/8.1.0/ext/string_conversions.h:99:5: note: candidate: 'template<class _String, class _CharT> _String __gnu_cxx::__to_xstring(int (*)(_CharT*, int, const _CharT*, __va_list_tag*), int, const _CharT*, ...)'
- __to_xstring(int (*__convf) (_CharT*, std::size_t, const _CharT*,
- ^~~~~~~~~~~~
- /usr/local/include/c++/8.1.0/ext/string_conversions.h:99:5: note: template argument deduction/substitution failed:
- In file included from /usr/local/include/c++/8.1.0/string:52,
- from /usr/local/include/c++/8.1.0/bits/locale_classes.h:40,
- from /usr/local/include/c++/8.1.0/bits/ios_base.h:41,
- from /usr/local/include/c++/8.1.0/ios:42,
- from /usr/local/include/c++/8.1.0/ostream:38,
- from /usr/local/include/c++/8.1.0/iostream:39,
- from main.cpp:3:
- /usr/local/include/c++/8.1.0/bits/basic_string.h:6565:22: note: mismatched types 'int' and 'size_t' {aka 'long unsigned int'}
- L"%f", __val);
- ^
- /usr/local/include/c++/8.1.0/bits/basic_string.h: In function 'std::__cxx11::wstring std::__cxx11::to_wstring(long double)':
- /usr/local/include/c++/8.1.0/bits/basic_string.h:6574:23: error: no matching function for call to '__to_xstring<std::__cxx11::wstring>(int (*)(wchar_t*, size_t, const wchar_t*, __va_list_tag*) throw (), const int&, const wchar_t [4], long double&)'
- L"%Lf", __val);
- ^
- In file included from /usr/local/include/c++/8.1.0/bits/basic_string.h:6361,
- from /usr/local/include/c++/8.1.0/string:52,
- from /usr/local/include/c++/8.1.0/bits/locale_classes.h:40,
- from /usr/local/include/c++/8.1.0/bits/ios_base.h:41,
- from /usr/local/include/c++/8.1.0/ios:42,
- from /usr/local/include/c++/8.1.0/ostream:38,
- from /usr/local/include/c++/8.1.0/iostream:39,
- from main.cpp:3:
- /usr/local/include/c++/8.1.0/ext/string_conversions.h:99:5: note: candidate: 'template<class _String, class _CharT> _String __gnu_cxx::__to_xstring(int (*)(_CharT*, int, const _CharT*, __va_list_tag*), int, const _CharT*, ...)'
- __to_xstring(int (*__convf) (_CharT*, std::size_t, const _CharT*,
- ^~~~~~~~~~~~
- /usr/local/include/c++/8.1.0/ext/string_conversions.h:99:5: note: template argument deduction/substitution failed:
- In file included from /usr/local/include/c++/8.1.0/string:52,
- from /usr/local/include/c++/8.1.0/bits/locale_classes.h:40,
- from /usr/local/include/c++/8.1.0/bits/ios_base.h:41,
- from /usr/local/include/c++/8.1.0/ios:42,
- from /usr/local/include/c++/8.1.0/ostream:38,
- from /usr/local/include/c++/8.1.0/iostream:39,
- from main.cpp:3:
- /usr/local/include/c++/8.1.0/bits/basic_string.h:6574:23: note: mismatched types 'int' and 'size_t' {aka 'long unsigned int'}
- L"%Lf", __val);
- ^
- In file included from /usr/local/include/c++/8.1.0/string:52,
- from /usr/local/include/c++/8.1.0/bits/locale_classes.h:40,
- from /usr/local/include/c++/8.1.0/bits/ios_base.h:41,
- from /usr/local/include/c++/8.1.0/ios:42,
- from /usr/local/include/c++/8.1.0/ostream:38,
- from /usr/local/include/c++/8.1.0/iostream:39,
- from main.cpp:3:
- /usr/local/include/c++/8.1.0/bits/basic_string.h: In member function 'size_t std::hash<std::__cxx11::basic_string<char> >::operator()(const string&) const':
- /usr/local/include/c++/8.1.0/bits/basic_string.h:6603:54: error: 'const string' {aka 'const class std::__cxx11::basic_string<char>'} has no member named 'length'
- { return std::_Hash_impl::hash(__s.data(), __s.length()); }
- ^~~~~~
- /usr/local/include/c++/8.1.0/bits/basic_string.h: In member function 'size_t std::hash<std::__cxx11::basic_string<wchar_t> >::operator()(const wstring&) const':
- /usr/local/include/c++/8.1.0/bits/basic_string.h:6619:42: error: 'const wstring' {aka 'const class std::__cxx11::basic_string<wchar_t>'} has no member named 'length'
- __s.length() * sizeof(wchar_t)); }
- ^~~~~~
- In file included from /usr/local/include/c++/8.1.0/bits/basic_string.h:40,
- from /usr/local/include/c++/8.1.0/string:52,
- from /usr/local/include/c++/8.1.0/bits/locale_classes.h:40,
- from /usr/local/include/c++/8.1.0/bits/ios_base.h:41,
- from /usr/local/include/c++/8.1.0/ios:42,
- from /usr/local/include/c++/8.1.0/ostream:38,
- from /usr/local/include/c++/8.1.0/iostream:39,
- from main.cpp:3:
- /usr/local/include/c++/8.1.0/ext/alloc_traits.h: In instantiation of 'struct __gnu_cxx::__alloc_traits<std::allocator<char16_t>, char16_t>':
- /usr/local/include/c++/8.1.0/bits/basic_string.h:80:24: required from 'class std::__cxx11::basic_string<char16_t>'
- /usr/local/include/c++/8.1.0/bits/basic_string.h:6636:41: required from here
- /usr/local/include/c++/8.1.0/ext/alloc_traits.h:61:53: error: no type named 'size_type' in 'struct std::allocator_traits<std::allocator<char16_t> >'
- typedef typename _Base_type::size_type size_type;
- ^~~~~~~~~
- /usr/local/include/c++/8.1.0/ext/alloc_traits.h:62:53: error: no type named 'difference_type' in 'struct std::allocator_traits<std::allocator<char16_t> >'
- typedef typename _Base_type::difference_type difference_type;
- ^~~~~~~~~~~~~~~
- /usr/local/include/c++/8.1.0/ext/alloc_traits.h:70:23: error: no members matching '__gnu_cxx::__alloc_traits<std::allocator<char16_t>, char16_t>::_Base_type {aka std::allocator_traits<std::allocator<char16_t> >}::max_size' in '__gnu_cxx::__alloc_traits<std::allocator<char16_t>, char16_t>::_Base_type' {aka 'struct std::allocator_traits<std::allocator<char16_t> >'}
- using _Base_type::max_size;
- ^~~~~~~~
- In file included from /usr/local/include/c++/8.1.0/string:52,
- from /usr/local/include/c++/8.1.0/bits/locale_classes.h:40,
- from /usr/local/include/c++/8.1.0/bits/ios_base.h:41,
- from /usr/local/include/c++/8.1.0/ios:42,
- from /usr/local/include/c++/8.1.0/ostream:38,
- from /usr/local/include/c++/8.1.0/iostream:39,
- from main.cpp:3:
- /usr/local/include/c++/8.1.0/bits/basic_string.h: In member function 'size_t std::hash<std::__cxx11::basic_string<char16_t> >::operator()(const u16string&) const':
- /usr/local/include/c++/8.1.0/bits/basic_string.h:6637:42: error: 'const u16string' {aka 'const class std::__cxx11::basic_string<char16_t>'} has no member named 'length'
- __s.length() * sizeof(char16_t)); }
- ^~~~~~
- In file included from /usr/local/include/c++/8.1.0/bits/basic_string.h:40,
- from /usr/local/include/c++/8.1.0/string:52,
- from /usr/local/include/c++/8.1.0/bits/locale_classes.h:40,
- from /usr/local/include/c++/8.1.0/bits/ios_base.h:41,
- from /usr/local/include/c++/8.1.0/ios:42,
- from /usr/local/include/c++/8.1.0/ostream:38,
- from /usr/local/include/c++/8.1.0/iostream:39,
- from main.cpp:3:
- /usr/local/include/c++/8.1.0/ext/alloc_traits.h: In instantiation of 'struct __gnu_cxx::__alloc_traits<std::allocator<char32_t>, char32_t>':
- /usr/local/include/c++/8.1.0/bits/basic_string.h:80:24: required from 'class std::__cxx11::basic_string<char32_t>'
- /usr/local/include/c++/8.1.0/bits/basic_string.h:6651:41: required from here
- /usr/local/include/c++/8.1.0/ext/alloc_traits.h:61:53: error: no type named 'size_type' in 'struct std::allocator_traits<std::allocator<char32_t> >'
- typedef typename _Base_type::size_type size_type;
- ^~~~~~~~~
- /usr/local/include/c++/8.1.0/ext/alloc_traits.h:62:53: error: no type named 'difference_type' in 'struct std::allocator_traits<std::allocator<char32_t> >'
- typedef typename _Base_type::difference_type difference_type;
- ^~~~~~~~~~~~~~~
- /usr/local/include/c++/8.1.0/ext/alloc_traits.h:70:23: error: no members matching '__gnu_cxx::__alloc_traits<std::allocator<char32_t>, char32_t>::_Base_type {aka std::allocator_traits<std::allocator<char32_t> >}::max_size' in '__gnu_cxx::__alloc_traits<std::allocator<char32_t>, char32_t>::_Base_type' {aka 'struct std::allocator_traits<std::allocator<char32_t> >'}
- using _Base_type::max_size;
- ^~~~~~~~
- In file included from /usr/local/include/c++/8.1.0/string:52,
- from /usr/local/include/c++/8.1.0/bits/locale_classes.h:40,
- from /usr/local/include/c++/8.1.0/bits/ios_base.h:41,
- from /usr/local/include/c++/8.1.0/ios:42,
- from /usr/local/include/c++/8.1.0/ostream:38,
- from /usr/local/include/c++/8.1.0/iostream:39,
- from main.cpp:3:
- /usr/local/include/c++/8.1.0/bits/basic_string.h: In member function 'size_t std::hash<std::__cxx11::basic_string<char32_t> >::operator()(const u32string&) const':
- /usr/local/include/c++/8.1.0/bits/basic_string.h:6652:42: error: 'const u32string' {aka 'const class std::__cxx11::basic_string<char32_t>'} has no member named 'length'
- __s.length() * sizeof(char32_t)); }
- ^~~~~~
- In file included from /usr/local/include/c++/8.1.0/string:53,
- from /usr/local/include/c++/8.1.0/bits/locale_classes.h:40,
- from /usr/local/include/c++/8.1.0/bits/ios_base.h:41,
- from /usr/local/include/c++/8.1.0/ios:42,
- from /usr/local/include/c++/8.1.0/ostream:38,
- from /usr/local/include/c++/8.1.0/iostream:39,
- from main.cpp:3:
- /usr/local/include/c++/8.1.0/bits/basic_string.tcc: In function 'std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&)':
- /usr/local/include/c++/8.1.0/bits/basic_string.tcc:1487:14: error: 'streamsize' does not name a type; did you mean 'streambuf'?
- const streamsize __w = __in.width();
- ^~~~~~~~~~
- streambuf
- /usr/local/include/c++/8.1.0/bits/basic_string.tcc:1488:32: error: '__w' was not declared in this scope
- const __size_type __n = __w > 0 ? static_cast<__size_type>(__w)
- ^~~
- /usr/local/include/c++/8.1.0/bits/basic_string.tcc:1488:32: note: suggested alternative: '__n'
- const __size_type __n = __w > 0 ? static_cast<__size_type>(__w)
- ^~~
- __n
- In file included from /usr/local/include/c++/8.1.0/ios:42,
- from /usr/local/include/c++/8.1.0/ostream:38,
- from /usr/local/include/c++/8.1.0/iostream:39,
- from main.cpp:3:
- /usr/local/include/c++/8.1.0/bits/ios_base.h: At global scope:
- /usr/local/include/c++/8.1.0/bits/ios_base.h:522:5: error: 'streamsize' does not name a type; did you mean 'streampos'?
- streamsize _M_precision;
- ^~~~~~~~~~
- streampos
- /usr/local/include/c++/8.1.0/bits/ios_base.h:523:5: error: 'streamsize' does not name a type; did you mean 'streampos'?
- streamsize _M_width;
- ^~~~~~~~~~
- streampos
- /usr/local/include/c++/8.1.0/bits/ios_base.h:690:5: error: 'streamsize' does not name a type; did you mean 'streampos'?
- streamsize
- ^~~~~~~~~~
- streampos
- /usr/local/include/c++/8.1.0/bits/ios_base.h:699:5: error: 'streamsize' does not name a type; did you mean 'streampos'?
- streamsize
- ^~~~~~~~~~
- streampos
- /usr/local/include/c++/8.1.0/bits/ios_base.h:713:5: error: 'streamsize' does not name a type; did you mean 'streampos'?
- streamsize
- ^~~~~~~~~~
- streampos
- /usr/local/include/c++/8.1.0/bits/ios_base.h:722:5: error: 'streamsize' does not name a type; did you mean 'streampos'?
- streamsize
- ^~~~~~~~~~
- streampos
- In file included from /usr/local/include/c++/8.1.0/ios:43,
- from /usr/local/include/c++/8.1.0/ostream:38,
- from /usr/local/include/c++/8.1.0/iostream:39,
- from main.cpp:3:
- /usr/local/include/c++/8.1.0/streambuf:52:5: error: 'streamsize' does not name a type; did you mean 'streambuf'?
- streamsize
- ^~~~~~~~~~
- streambuf
- /usr/local/include/c++/8.1.0/streambuf:149:14: error: 'streamsize' does not name a type; did you mean 'streambuf'?
- friend streamsize
- ^~~~~~~~~~
- streambuf
- /usr/local/include/c++/8.1.0/streambuf:246:33: error: 'streamsize' has not been declared
- pubsetbuf(char_type* __s, streamsize __n)
- ^~~~~~~~~~
- /usr/local/include/c++/8.1.0/streambuf:290:7: error: 'streamsize' does not name a type; did you mean 'streambuf'?
- streamsize
- ^~~~~~~~~~
- streambuf
- /usr/local/include/c++/8.1.0/streambuf:363:7: error: 'streamsize' does not name a type; did you mean 'streambuf'?
- streamsize
- ^~~~~~~~~~
- streambuf
- /usr/local/include/c++/8.1.0/streambuf:456:7: error: 'streamsize' does not name a type; did you mean 'streambuf'?
- streamsize
- ^~~~~~~~~~
- streambuf
- /usr/local/include/c++/8.1.0/streambuf:598:26: error: 'streamsize' has not been declared
- setbuf(char_type*, streamsize)
- ^~~~~~~~~~
- /usr/local/include/c++/8.1.0/streambuf:655:15: error: 'streamsize' does not name a type; did you mean 'streambuf'?
- virtual streamsize
- ^~~~~~~~~~
- streambuf
- /usr/local/include/c++/8.1.0/streambuf:671:15: error: 'streamsize' does not name a type; did you mean 'streambuf'?
- virtual streamsize
- ^~~~~~~~~~
- streambuf
- /usr/local/include/c++/8.1.0/streambuf:748:15: error: 'streamsize' does not name a type; did you mean 'streambuf'?
- virtual streamsize
- ^~~~~~~~~~
- streambuf
- /usr/local/include/c++/8.1.0/streambuf:804:20: error: 'streamsize' has not been declared
- __safe_gbump(streamsize __n) { _M_in_cur += __n; }
- ^~~~~~~~~~
- /usr/local/include/c++/8.1.0/streambuf:807:20: error: 'streamsize' has not been declared
- __safe_pbump(streamsize __n) { _M_out_cur += __n; }
- ^~~~~~~~~~
- /usr/local/include/c++/8.1.0/streambuf:847:5: error: 'streamsize' does not name a type; did you mean 'streambuf'?
- streamsize
- ^~~~~~~~~~
- streambuf
- /usr/local/include/c++/8.1.0/streambuf:852:5: error: 'streamsize' does not name a type; did you mean 'streambuf'?
- streamsize
- ^~~~~~~~~~
- streambuf
- In file included from /usr/local/include/c++/8.1.0/streambuf:862,
- from /usr/local/include/c++/8.1.0/ios:43,
- from /usr/local/include/c++/8.1.0/ostream:38,
- from /usr/local/include/c++/8.1.0/iostream:39,
- from main.cpp:3:
- /usr/local/include/c++/8.1.0/bits/streambuf.tcc:44:5: error: 'streamsize' does not name a type; did you mean 'streambuf'?
- streamsize
- ^~~~~~~~~~
- streambuf
- /usr/local/include/c++/8.1.0/bits/streambuf.tcc:78:5: error: 'streamsize' does not name a type; did you mean 'streambuf'?
- streamsize
- ^~~~~~~~~~
- streambuf
- /usr/local/include/c++/8.1.0/bits/streambuf.tcc:115:5: error: 'streamsize' does not name a type; did you mean 'streambuf'?
- streamsize
- ^~~~~~~~~~
- streambuf
- /usr/local/include/c++/8.1.0/bits/streambuf.tcc:138:12: error: 'streamsize' does not name a type; did you mean 'streambuf'?
- inline streamsize
- ^~~~~~~~~~
- streambuf
- /usr/local/include/c++/8.1.0/bits/streambuf.tcc:151:5: error: 'streamsize' is not a template function
- streamsize
- ^~~~~~~~~~
- /usr/local/include/c++/8.1.0/bits/streambuf.tcc:151:15: error: expected ';' before '__copy_streambufs'
- streamsize
- ^
- ;
- __copy_streambufs(basic_streambuf<char>*,
- ~~~~~~~~~~~~~~~~~
- /usr/local/include/c++/8.1.0/bits/streambuf.tcc:155:5: error: 'streamsize' is not a template function
- streamsize
- ^~~~~~~~~~
- /usr/local/include/c++/8.1.0/bits/streambuf.tcc:155:15: error: expected ';' before '__copy_streambufs_eof'
- streamsize
- ^
- ;
- __copy_streambufs_eof(basic_streambuf<char>*,
- ~~~~~~~~~~~~~~~~~~~~~
- /usr/local/include/c++/8.1.0/bits/streambuf.tcc:162:5: error: 'streamsize' is not a template function
- streamsize
- ^~~~~~~~~~
- /usr/local/include/c++/8.1.0/bits/streambuf.tcc:162:15: error: expected ';' before '__copy_streambufs'
- streamsize
- ^
- ;
- __copy_streambufs(basic_streambuf<wchar_t>*,
- ~~~~~~~~~~~~~~~~~
- /usr/local/include/c++/8.1.0/bits/streambuf.tcc:166:5: error: 'streamsize' is not a template function
- streamsize
- ^~~~~~~~~~
- /usr/local/include/c++/8.1.0/bits/streambuf.tcc:166:15: error: expected ';' before '__copy_streambufs_eof'
- streamsize
- ^
- ;
- __copy_streambufs_eof(basic_streambuf<wchar_t>*,
- ~~~~~~~~~~~~~~~~~~~~~
- In file included from /usr/local/include/c++/8.1.0/bits/locale_facets.h:48,
- from /usr/local/include/c++/8.1.0/bits/basic_ios.h:37,
- from /usr/local/include/c++/8.1.0/ios:44,
- from /usr/local/include/c++/8.1.0/ostream:38,
- from /usr/local/include/c++/8.1.0/iostream:39,
- from main.cpp:3:
- /usr/local/include/c++/8.1.0/bits/streambuf_iterator.h:278:34: error: 'streamsize' has not been declared
- _M_put(const _CharT* __ws, streamsize __len)
- ^~~~~~~~~~
- /usr/local/include/c++/8.1.0/bits/streambuf_iterator.h: In function 'typename __gnu_cxx::__enable_if<std::__is_char<_CharT>::__value, std::ostreambuf_iterator<_CharT, std::char_traits<_CharT> > >::__type std::__copy_move_a2(_CharT*, _CharT*, std::ostreambuf_iterator<_CharT, std::char_traits<_CharT> >)':
- /usr/local/include/c++/8.1.0/bits/streambuf_iterator.h:312:13: error: 'streamsize' does not name a type; did you mean 'streambuf'?
- const streamsize __num = __last - __first;
- ^~~~~~~~~~
- streambuf
- /usr/local/include/c++/8.1.0/bits/streambuf_iterator.h:313:11: error: '__num' was not declared in this scope
- if (__num > 0)
- ^~~~~
- /usr/local/include/c++/8.1.0/bits/streambuf_iterator.h:313:11: note: suggested alternative: 'enum'
- if (__num > 0)
- ^~~~~
- enum
- /usr/local/include/c++/8.1.0/bits/streambuf_iterator.h: In function 'typename __gnu_cxx::__enable_if<std::__is_char<_CharT>::__value, std::ostreambuf_iterator<_CharT, std::char_traits<_CharT> > >::__type std::__copy_move_a2(const _CharT*, const _CharT*, std::ostreambuf_iterator<_CharT, std::char_traits<_CharT> >)':
- /usr/local/include/c++/8.1.0/bits/streambuf_iterator.h:324:13: error: 'streamsize' does not name a type; did you mean 'streambuf'?
- const streamsize __num = __last - __first;
- ^~~~~~~~~~
- streambuf
- /usr/local/include/c++/8.1.0/bits/streambuf_iterator.h:325:11: error: '__num' was not declared in this scope
- if (__num > 0)
- ^~~~~
- /usr/local/include/c++/8.1.0/bits/streambuf_iterator.h:325:11: note: suggested alternative: 'enum'
- if (__num > 0)
- ^~~~~
- enum
- /usr/local/include/c++/8.1.0/bits/streambuf_iterator.h: In function 'typename __gnu_cxx::__enable_if<std::__is_char<_CharT>::__value, _CharT*>::__type std::__copy_move_a2(std::istreambuf_iterator<_CharT, std::char_traits<_CharT> >, std::istreambuf_iterator<_CharT, std::char_traits<_CharT> >, _CharT*)':
- /usr/local/include/c++/8.1.0/bits/streambuf_iterator.h:347:14: error: 'streamsize' does not name a type; did you mean 'streambuf'?
- const streamsize __n = __sb->egptr() - __sb->gptr();
- ^~~~~~~~~~
- streambuf
- /usr/local/include/c++/8.1.0/bits/streambuf_iterator.h:348:12: error: '__n' was not declared in this scope
- if (__n > 1)
- ^~~
- /usr/local/include/c++/8.1.0/bits/streambuf_iterator.h:348:12: note: suggested alternative: '__c'
- if (__n > 1)
- ^~~
- __c
- /usr/local/include/c++/8.1.0/bits/streambuf_iterator.h: In function 'typename __gnu_cxx::__enable_if<std::__is_char<_CharT2>::__value, std::istreambuf_iterator<_CharT> >::__type std::find(std::istreambuf_iterator<_CharT>, std::istreambuf_iterator<_CharT>, const _CharT2&)':
- /usr/local/include/c++/8.1.0/bits/streambuf_iterator.h:385:8: error: 'streamsize' was not declared in this scope
- streamsize __n = __sb->egptr() - __sb->gptr();
- ^~~~~~~~~~
- /usr/local/include/c++/8.1.0/bits/streambuf_iterator.h:385:8: note: suggested alternative: 'streambuf'
- streamsize __n = __sb->egptr() - __sb->gptr();
- ^~~~~~~~~~
- streambuf
- /usr/local/include/c++/8.1.0/bits/streambuf_iterator.h:386:12: error: '__n' was not declared in this scope
- if (__n > 1)
- ^~~
- /usr/local/include/c++/8.1.0/bits/streambuf_iterator.h:386:12: note: suggested alternative: '__c'
- if (__n > 1)
- ^~~
- __c
- /usr/local/include/c++/8.1.0/bits/streambuf_iterator.h: In function 'typename __gnu_cxx::__enable_if<std::__is_char<_CharT2>::__value, void>::__type std::advance(std::istreambuf_iterator<_CharT>&, _Distance)':
- /usr/local/include/c++/8.1.0/bits/streambuf_iterator.h:427:4: error: 'streamsize' was not declared in this scope
- streamsize __size = __sb->egptr() - __sb->gptr();
- ^~~~~~~~~~
- /usr/local/include/c++/8.1.0/bits/streambuf_iterator.h:427:4: note: suggested alternative: 'streambuf'
- streamsize __size = __sb->egptr() - __sb->gptr();
- ^~~~~~~~~~
- streambuf
- /usr/local/include/c++/8.1.0/bits/streambuf_iterator.h:428:8: error: '__size' was not declared in this scope
- if (__size > __n)
- ^~~~~~
- /usr/local/include/c++/8.1.0/bits/streambuf_iterator.h:428:8: note: suggested alternative: 'dysize'
- if (__size > __n)
- ^~~~~~
- dysize
- /usr/local/include/c++/8.1.0/bits/streambuf_iterator.h:434:23: error: '__size' was not declared in this scope
- __sb->__safe_gbump(__size);
- ^~~~~~
- /usr/local/include/c++/8.1.0/bits/streambuf_iterator.h:434:23: note: suggested alternative: 'dysize'
- __sb->__safe_gbump(__size);
- ^~~~~~
- dysize
- In file included from /usr/local/include/c++/8.1.0/bits/basic_ios.h:37,
- from /usr/local/include/c++/8.1.0/ios:44,
- from /usr/local/include/c++/8.1.0/ostream:38,
- from /usr/local/include/c++/8.1.0/iostream:39,
- from main.cpp:3:
- /usr/local/include/c++/8.1.0/bits/locale_facets.h: At global scope:
- /usr/local/include/c++/8.1.0/bits/locale_facets.h:99:29: error: 'streamsize' has not been declared
- const _CharT* __olds, streamsize __newlen, streamsize __oldlen);
- ^~~~~~~~~~
- /usr/local/include/c++/8.1.0/bits/locale_facets.h:99:50: error: 'streamsize' has not been declared
- const _CharT* __olds, streamsize __newlen, streamsize __oldlen);
- ^~~~~~~~~~
- In file included from /usr/local/include/c++/8.1.0/bits/basic_ios.h:37,
- from /usr/local/include/c++/8.1.0/ios:44,
- from /usr/local/include/c++/8.1.0/ostream:38,
- from /usr/local/include/c++/8.1.0/iostream:39,
- from main.cpp:3:
- /usr/local/include/c++/8.1.0/bits/locale_facets.h:2484:32: error: 'streamsize' has not been declared
- _M_pad(char_type __fill, streamsize __w, ios_base& __io,
- ^~~~~~~~~~
- In file included from /usr/local/include/c++/8.1.0/bits/locale_facets.h:2651,
- from /usr/local/include/c++/8.1.0/bits/basic_ios.h:37,
- from /usr/local/include/c++/8.1.0/ios:44,
- from /usr/local/include/c++/8.1.0/ostream:38,
- from /usr/local/include/c++/8.1.0/iostream:39,
- from main.cpp:3:
- /usr/local/include/c++/8.1.0/bits/locale_facets.tcc: In member function 'void std::__numpunct_cache<_CharT>::_M_cache(const std::locale&)':
- /usr/local/include/c++/8.1.0/bits/locale_facets.tcc:88:27: error: 'const string' {aka 'const class std::__cxx11::basic_string<char>'} has no member named 'size'
- _M_grouping_size = __g.size();
- ^~~~
- /usr/local/include/c++/8.1.0/bits/locale_facets.tcc:90:8: error: 'const string' {aka 'const class std::__cxx11::basic_string<char>'} has no member named 'copy'
- __g.copy(__grouping, _M_grouping_size);
- ^~~~
- /usr/local/include/c++/8.1.0/bits/locale_facets.tcc: In member function '_InIter std::num_get<_CharT, _InIter>::_M_extract_float(_InIter, _InIter, std::ios_base&, std::ios_base::iostate&, std::__cxx11::string&) const':
- /usr/local/include/c++/8.1.0/bits/locale_facets.tcc:211:19: error: 'std::__cxx11::string' {aka 'class std::__cxx11::basic_string<char>'} has no member named 'reserve'
- __found_grouping.reserve(32);
- ^~~~~~~
- /usr/local/include/c++/8.1.0/bits/locale_facets.tcc:296:28: error: 'std::__cxx11::string' {aka 'class std::__cxx11::basic_string<char>'} has no member named 'size'
- if (__found_grouping.size())
- ^~~~
- /usr/local/include/c++/8.1.0/bits/locale_facets.tcc:319:28: error: 'std::__cxx11::string' {aka 'class std::__cxx11::basic_string<char>'} has no member named 'size'
- if (__found_grouping.size() && !__found_dec)
- ^~~~
- /usr/local/include/c++/8.1.0/bits/locale_facets.tcc:355:28: error: 'std::__cxx11::string' {aka 'class std::__cxx11::basic_string<char>'} has no member named 'size'
- if (__found_grouping.size())
- ^~~~
- /usr/local/include/c++/8.1.0/bits/locale_facets.tcc: In member function '_InIter std::num_get<_CharT, _InIter>::_M_extract_int(_InIter, _InIter, std::ios_base&, std::ios_base::iostate&, _ValueT&) const':
- /usr/local/include/c++/8.1.0/bits/locale_facets.tcc:469:21: error: 'std::__cxx11::string' {aka 'class std::__cxx11::basic_string<char>'} has no member named 'reserve'
- __found_grouping.reserve(32);
- ^~~~~~~
- /usr/local/include/c++/8.1.0/bits/locale_facets.tcc:555:23: error: 'std::__cxx11::string' {aka 'class std::__cxx11::basic_string<char>'} has no member named 'size'
- if (__found_grouping.size())
- ^~~~
- /usr/local/include/c++/8.1.0/bits/locale_facets.tcc:568:56: error: 'std::__cxx11::string' {aka 'class std::__cxx11::basic_string<char>'} has no member named 'size'
- if ((!__sep_pos && !__found_zero && !__found_grouping.size())
- ^~~~
- /usr/local/include/c++/8.1.0/bits/locale_facets.tcc: In member function 'virtual _InIter std::num_get<_CharT, _InIter>::do_get(std::num_get<_CharT, _InIter>::iter_type, std::num_get<_CharT, _InIter>::iter_type, std::ios_base&, std::ios_base::iostate&, float&) const':
- /usr/local/include/c++/8.1.0/bits/locale_facets.tcc:695:14: error: 'std::__cxx11::string' {aka 'class std::__cxx11::basic_string<char>'} has no member named 'reserve'
- __xtrc.reserve(32);
- ^~~~~~~
- /usr/local/include/c++/8.1.0/bits/locale_facets.tcc: In member function 'virtual _InIter std::num_get<_CharT, _InIter>::do_get(std::num_get<_CharT, _InIter>::iter_type, std::num_get<_CharT, _InIter>::iter_type, std::ios_base&, std::ios_base::iostate&, double&) const':
- /usr/local/include/c++/8.1.0/bits/locale_facets.tcc:710:14: error: 'std::__cxx11::string' {aka 'class std::__cxx11::basic_string<char>'} has no member named 'reserve'
- __xtrc.reserve(32);
- ^~~~~~~
- /usr/local/include/c++/8.1.0/bits/locale_facets.tcc: In member function 'virtual _InIter std::num_get<_CharT, _InIter>::do_get(std::num_get<_CharT, _InIter>::iter_type, std::num_get<_CharT, _InIter>::iter_type, std::ios_base&, std::ios_base::iostate&, long double&) const':
- /usr/local/include/c++/8.1.0/bits/locale_facets.tcc:742:14: error: 'std::__cxx11::string' {aka 'class std::__cxx11::basic_string<char>'} has no member named 'reserve'
- __xtrc.reserve(32);
- ^~~~~~~
- /usr/local/include/c++/8.1.0/bits/locale_facets.tcc: At global scope:
- /usr/local/include/c++/8.1.0/bits/locale_facets.tcc:780:27: error: 'streamsize' has not been declared
- _M_pad(_CharT __fill, streamsize __w, ios_base& __io,
- ^~~~~~~~~~
- /usr/local/include/c++/8.1.0/bits/locale_facets.tcc: In member function '_OutIter std::num_put<_CharT, _OutIter>::_M_insert_int(_OutIter, std::ios_base&, _CharT, _ValueT) const':
- /usr/local/include/c++/8.1.0/bits/locale_facets.tcc:921:8: error: 'streamsize' does not name a type; did you mean 'streambuf'?
- const streamsize __w = __io.width();
- ^~~~~~~~~~
- streambuf
- /usr/local/include/c++/8.1.0/bits/locale_facets.tcc:922:6: error: '__w' was not declared in this scope
- if (__w > static_cast<streamsize>(__len))
- ^~~
- /usr/local/include/c++/8.1.0/bits/locale_facets.tcc:922:6: note: suggested alternative: '__u'
- if (__w > static_cast<streamsize>(__len))
- ^~~
- __u
- /usr/local/include/c++/8.1.0/bits/locale_facets.tcc:922:24: error: 'streamsize' does not name a type; did you mean 'streambuf'?
- if (__w > static_cast<streamsize>(__len))
- ^~~~~~~~~~
- streambuf
- /usr/local/include/c++/8.1.0/bits/locale_facets.tcc:929:7: error: 'class std::ios_base' has no member named 'width'
- __io.width(0);
- ^~~~~
- /usr/local/include/c++/8.1.0/bits/locale_facets.tcc: In member function '_OutIter std::num_put<_CharT, _OutIter>::_M_insert_float(_OutIter, std::ios_base&, _CharT, char, _ValueT) const':
- /usr/local/include/c++/8.1.0/bits/locale_facets.tcc:984:8: error: 'streamsize' does not name a type; did you mean 'streambuf'?
- const streamsize __prec = __io.precision() < 0 ? 6 : __io.precision();
- ^~~~~~~~~~
- streambuf
- /usr/local/include/c++/8.1.0/bits/locale_facets.tcc:1006:14: error: '__prec' was not declared in this scope
- __fbuf, __prec, __v);
- ^~~~~~
- /usr/local/include/c++/8.1.0/bits/locale_facets.tcc:1006:14: note: suggested alternative: '__pad'
- __fbuf, __prec, __v);
- ^~~~~~
- __pad
- /usr/local/include/c++/8.1.0/bits/locale_facets.tcc:1018:18: error: '__prec' was not declared in this scope
- __fbuf, __prec, __v);
- ^~~~~~
- /usr/local/include/c++/8.1.0/bits/locale_facets.tcc:1018:18: note: suggested alternative: '__pad'
- __fbuf, __prec, __v);
- ^~~~~~
- __pad
- /usr/local/include/c++/8.1.0/bits/locale_facets.tcc:1071:6: error: 'streamsize' was not declared in this scope
- streamsize __off = 0;
- ^~~~~~~~~~
- /usr/local/include/c++/8.1.0/bits/locale_facets.tcc:1071:6: note: suggested alternative: 'streambuf'
- streamsize __off = 0;
- ^~~~~~~~~~
- streambuf
- /usr/local/include/c++/8.1.0/bits/locale_facets.tcc:1074:3: error: '__off' was not declared in this scope
- __off = 1;
- ^~~~~
- /usr/local/include/c++/8.1.0/bits/locale_facets.tcc:1074:3: note: suggested alternative: '__or_'
- __off = 1;
- ^~~~~
- __or_
- /usr/local/include/c++/8.1.0/bits/locale_facets.tcc:1080:45: error: '__off' was not declared in this scope
- __lc->_M_thousands_sep, __wp, __ws2 + __off,
- ^~~~~
- /usr/local/include/c++/8.1.0/bits/locale_facets.tcc:1080:45: note: suggested alternative: '__or_'
- __lc->_M_thousands_sep, __wp, __ws2 + __off,
- ^~~~~
- __or_
- /usr/local/include/c++/8.1.0/bits/locale_facets.tcc:1088:8: error: 'streamsize' does not name a type; did you mean 'streambuf'?
- const streamsize __w = __io.width();
- ^~~~~~~~~~
- streambuf
- /usr/local/include/c++/8.1.0/bits/locale_facets.tcc:1089:6: error: '__w' was not declared in this scope
- if (__w > static_cast<streamsize>(__len))
- ^~~
- /usr/local/include/c++/8.1.0/bits/locale_facets.tcc:1089:6: note: suggested alternative: '__p'
- if (__w > static_cast<streamsize>(__len))
- ^~~
- __p
- /usr/local/include/c++/8.1.0/bits/locale_facets.tcc:1089:24: error: 'streamsize' does not name a type; did you mean 'streambuf'?
- if (__w > static_cast<streamsize>(__len))
- ^~~~~~~~~~
- streambuf
- /usr/local/include/c++/8.1.0/bits/locale_facets.tcc:1096:7: error: 'class std::ios_base' has no member named 'width'
- __io.width(0);
- ^~~~~
- /usr/local/include/c++/8.1.0/bits/locale_facets.tcc: In member function 'virtual _OutIter std::num_put<_CharT, _OutIter>::do_put(std::num_put<_CharT, _OutIter>::iter_type, std::ios_base&, std::num_put<_CharT, _OutIter>::char_type, bool) const':
- /usr/local/include/c++/8.1.0/bits/locale_facets.tcc:1126:10: error: 'streamsize' does not name a type; did you mean 'streambuf'?
- const streamsize __w = __io.width();
- ^~~~~~~~~~
- streambuf
- /usr/local/include/c++/8.1.0/bits/locale_facets.tcc:1127:8: error: '__w' was not declared in this scope
- if (__w > static_cast<streamsize>(__len))
- ^~~
- /usr/local/include/c++/8.1.0/bits/locale_facets.tcc:1127:8: note: suggested alternative: '__s'
- if (__w > static_cast<streamsize>(__len))
- ^~~
- __s
- /usr/local/include/c++/8.1.0/bits/locale_facets.tcc:1127:26: error: 'streamsize' does not name a type; did you mean 'streambuf'?
- if (__w > static_cast<streamsize>(__len))
- ^~~~~~~~~~
- streambuf
- /usr/local/include/c++/8.1.0/bits/locale_facets.tcc:1129:14: error: 'streamsize' does not name a type; did you mean 'streambuf'?
- const streamsize __plen = __w - __len;
- ^~~~~~~~~~
- streambuf
- /usr/local/include/c++/8.1.0/bits/locale_facets.tcc:1132:10: error: '__plen' was not declared in this scope
- * __plen));
- ^~~~~~
- /usr/local/include/c++/8.1.0/bits/locale_facets.tcc:1132:10: note: suggested alternative: '__len'
- * __plen));
- ^~~~~~
- __len
- /usr/local/include/c++/8.1.0/bits/locale_facets.tcc:1135:13: error: 'class std::ios_base' has no member named 'width'
- __io.width(0);
- ^~~~~
- /usr/local/include/c++/8.1.0/bits/locale_facets.tcc:1149:9: error: 'class std::ios_base' has no member named 'width'
- __io.width(0);
- ^~~~~
- /usr/local/include/c++/8.1.0/bits/locale_facets.tcc: At global scope:
- /usr/local/include/c++/8.1.0/bits/locale_facets.tcc:1210:8: error: 'streamsize' has not been declared
- streamsize __newlen, streamsize __oldlen)
- ^~~~~~~~~~
- /usr/local/include/c++/8.1.0/bits/locale_facets.tcc:1210:29: error: 'streamsize' has not been declared
- streamsize __newlen, streamsize __oldlen)
- ^~~~~~~~~~
- In file included from /usr/local/include/c++/8.1.0/iostream:39,
- from main.cpp:3:
- /usr/local/include/c++/8.1.0/ostream:311:38: error: 'streamsize' has not been declared
- _M_write(const char_type* __s, streamsize __n)
- ^~~~~~~~~~
- /usr/local/include/c++/8.1.0/ostream:335:35: error: 'streamsize' has not been declared
- write(const char_type* __s, streamsize __n);
- ^~~~~~~~~~
- /usr/local/include/c++/8.1.0/ostream: In member function 'void std::basic_ostream<_CharT, _Traits>::_M_write(const char_type*, int)':
- /usr/local/include/c++/8.1.0/ostream:313:8: error: 'streamsize' does not name a type; did you mean 'streambuf'?
- const streamsize __put = this->rdbuf()->sputn(__s, __n);
- ^~~~~~~~~~
- streambuf
- /usr/local/include/c++/8.1.0/ostream:314:6: error: '__put' was not declared in this scope
- if (__put != __n)
- ^~~~~
- /usr/local/include/c++/8.1.0/ostream:314:6: note: suggested alternative: 'put'
- if (__put != __n)
- ^~~~~
- put
- /usr/local/include/c++/8.1.0/ostream: In function 'std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const _CharT*)':
- /usr/local/include/c++/8.1.0/ostream:545:17: error: 'streamsize' does not name a type; did you mean 'streambuf'?
- static_cast<streamsize>(_Traits::length(__s)));
- ^~~~~~~~~~
- streambuf
- /usr/local/include/c++/8.1.0/ostream: In function 'std::basic_ostream<char, _Traits>& std::operator<<(std::basic_ostream<char, _Traits>&, const char*)':
- /usr/local/include/c++/8.1.0/ostream:562:17: error: 'streamsize' does not name a type; did you mean 'streambuf'?
- static_cast<streamsize>(_Traits::length(__s)));
- ^~~~~~~~~~
- streambuf
- In file included from /usr/local/include/c++/8.1.0/ostream:693,
- from /usr/local/include/c++/8.1.0/iostream:39,
- from main.cpp:3:
- /usr/local/include/c++/8.1.0/bits/ostream.tcc: At global scope:
- /usr/local/include/c++/8.1.0/bits/ostream.tcc:183:30: error: 'streamsize' has not been declared
- write(const _CharT* __s, streamsize __n)
- ^~~~~~~~~~
- In file included from /usr/local/include/c++/8.1.0/iostream:40,
- from main.cpp:3:
- /usr/local/include/c++/8.1.0/istream:82:7: error: 'streamsize' does not name a type; did you mean 'streambuf'?
- streamsize _M_gcount;
- ^~~~~~~~~~
- streambuf
- /usr/local/include/c++/8.1.0/istream:268:7: error: 'streamsize' does not name a type; did you mean 'streambuf'?
- streamsize
- ^~~~~~~~~~
- streambuf
- /usr/local/include/c++/8.1.0/istream:343:27: error: 'streamsize' has not been declared
- get(char_type* __s, streamsize __n, char_type __delim);
- ^~~~~~~~~~
- /usr/local/include/c++/8.1.0/istream:354:27: error: 'streamsize' has not been declared
- get(char_type* __s, streamsize __n)
- ^~~~~~~~~~
- /usr/local/include/c++/8.1.0/istream:416:31: error: 'streamsize' has not been declared
- getline(char_type* __s, streamsize __n, char_type __delim);
- ^~~~~~~~~~
- /usr/local/include/c++/8.1.0/istream:427:31: error: 'streamsize' has not been declared
- getline(char_type* __s, streamsize __n)
- ^~~~~~~~~~
- /usr/local/include/c++/8.1.0/istream:451:7: error: expected ';' at end of member declaration
- ignore(streamsize __n, int_type __delim);
- ^~~~~~
- ;
- /usr/local/include/c++/8.1.0/istream:451:24: error: expected ')' before '__n'
- ignore(streamsize __n, int_type __delim);
- ~ ^~~~
- )
- /usr/local/include/c++/8.1.0/istream:454:7: error: expected ';' at end of member declaration
- ignore(streamsize __n);
- ^~~~~~
- ;
- /usr/local/include/c++/8.1.0/istream:454:14: error: redeclaration of 'std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::ignore'
- ignore(streamsize __n);
- ^~~~~~~~~~
- /usr/local/include/c++/8.1.0/istream:451:14: note: previous declaration 'std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::ignore'
- ignore(streamsize __n, int_type __delim);
- ^~~~~~~~~~
- /usr/local/include/c++/8.1.0/istream:454:24: error: expected ')' before '__n'
- ignore(streamsize __n);
- ~ ^~~~
- )
- /usr/local/include/c++/8.1.0/istream:457:14: error: 'std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::ignore()' conflicts with a previous declaration
- ignore();
- ^
- /usr/local/include/c++/8.1.0/istream:451:14: note: previous declaration 'std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::ignore'
- ignore(streamsize __n, int_type __delim);
- ^~~~~~~~~~
- /usr/local/include/c++/8.1.0/istream:486:28: error: 'streamsize' has not been declared
- read(char_type* __s, streamsize __n);
- ^~~~~~~~~~
- /usr/local/include/c++/8.1.0/istream:504:7: error: 'streamsize' does not name a type; did you mean 'streambuf'?
- streamsize
- ^~~~~~~~~~
- streambuf
- /usr/local/include/c++/8.1.0/istream: In constructor 'std::basic_istream<_CharT, _Traits>::basic_istream(std::basic_istream<_CharT, _Traits>::__streambuf_type*)':
- /usr/local/include/c++/8.1.0/istream:94:9: error: class 'std::basic_istream<_CharT, _Traits>' does not have any field named '_M_gcount'
- : _M_gcount(streamsize(0))
- ^~~~~~~~~
- /usr/local/include/c++/8.1.0/istream:94:19: error: there are no arguments to 'streamsize' that depend on a template parameter, so a declaration of 'streamsize' must be available [-fpermissive]
- : _M_gcount(streamsize(0))
- ^~~~~~~~~~
- /usr/local/include/c++/8.1.0/istream:94:19: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
- /usr/local/include/c++/8.1.0/istream: In destructor 'virtual std::basic_istream<_CharT, _Traits>::~basic_istream()':
- /usr/local/include/c++/8.1.0/istream:104:9: error: '_M_gcount' was not declared in this scope
- { _M_gcount = streamsize(0); }
- ^~~~~~~~~
- /usr/local/include/c++/8.1.0/istream:104:9: note: suggested alternative: '_S_out'
- { _M_gcount = streamsize(0); }
- ^~~~~~~~~
- _S_out
- /usr/local/include/c++/8.1.0/istream:104:21: error: there are no arguments to 'streamsize' that depend on a template parameter, so a declaration of 'streamsize' must be available [-fpermissive]
- { _M_gcount = streamsize(0); }
- ^~~~~~~~~~
- /usr/local/include/c++/8.1.0/istream: In constructor 'std::basic_istream<_CharT, _Traits>::basic_istream()':
- /usr/local/include/c++/8.1.0/istream:607:9: error: class 'std::basic_istream<_CharT, _Traits>' does not have any field named '_M_gcount'
- : _M_gcount(streamsize(0))
- ^~~~~~~~~
- /usr/local/include/c++/8.1.0/istream:607:19: error: there are no arguments to 'streamsize' that depend on a template parameter, so a declaration of 'streamsize' must be available [-fpermissive]
- : _M_gcount(streamsize(0))
- ^~~~~~~~~~
- /usr/local/include/c++/8.1.0/istream: In constructor 'std::basic_istream<_CharT, _Traits>::basic_istream(std::basic_istream<_CharT, _Traits>&&)':
- /usr/local/include/c++/8.1.0/istream:614:23: error: class 'std::basic_istream<_CharT, _Traits>' does not have any field named '_M_gcount'
- : __ios_type(), _M_gcount(__rhs._M_gcount)
- ^~~~~~~~~
- /usr/local/include/c++/8.1.0/istream: In member function 'void std::basic_istream<_CharT, _Traits>::swap(std::basic_istream<_CharT, _Traits>&)':
- /usr/local/include/c++/8.1.0/istream:635:12: error: '_M_gcount' was not declared in this scope
- std::swap(_M_gcount, __rhs._M_gcount);
- ^~~~~~~~~
- /usr/local/include/c++/8.1.0/istream:635:12: note: suggested alternative: '_S_out'
- std::swap(_M_gcount, __rhs._M_gcount);
- ^~~~~~~~~
- _S_out
- /usr/local/include/c++/8.1.0/istream: At global scope:
- /usr/local/include/c++/8.1.0/istream:648:29: error: 'streamsize' has not been declared
- getline(char_type* __s, streamsize __n, char_type __delim);
- ^~~~~~~~~~
- /usr/local/include/c++/8.1.0/istream:653:12: error: 'std::basic_istream<char>& std::basic_istream<char>::ignore' is not a static data member of 'class std::basic_istream<char>'
- ignore(streamsize __n);
- ^~~~~~~~~~
- /usr/local/include/c++/8.1.0/istream:653:12: error: 'streamsize' was not declared in this scope
- /usr/local/include/c++/8.1.0/istream:653:12: note: suggested alternative: 'streampos'
- ignore(streamsize __n);
- ^~~~~~~~~~
- streampos
- /usr/local/include/c++/8.1.0/istream:658:12: error: 'std::basic_istream<char>& std::basic_istream<char>::ignore' is not a static data member of 'class std::basic_istream<char>'
- ignore(streamsize __n, int_type __delim);
- ^~~~~~~~~~
- /usr/local/include/c++/8.1.0/istream:658:12: error: 'streamsize' was not declared in this scope
- /usr/local/include/c++/8.1.0/istream:658:12: note: suggested alternative: 'streampos'
- ignore(streamsize __n, int_type __delim);
- ^~~~~~~~~~
- streampos
- /usr/local/include/c++/8.1.0/istream:658:37: error: expected primary-expression before '__delim'
- ignore(streamsize __n, int_type __delim);
- ^~~~~~~
- /usr/local/include/c++/8.1.0/istream:658:44: error: expression list treated as compound expression in initializer [-fpermissive]
- ignore(streamsize __n, int_type __delim);
- ^
- /usr/local/include/c++/8.1.0/istream:664:29: error: 'streamsize' has not been declared
- getline(char_type* __s, streamsize __n, char_type __delim);
- ^~~~~~~~~~
- /usr/local/include/c++/8.1.0/istream:669:12: error: 'std::basic_istream<wchar_t>& std::basic_istream<wchar_t>::ignore' is not a static data member of 'class std::basic_istream<wchar_t>'
- ignore(streamsize __n);
- ^~~~~~~~~~
- /usr/local/include/c++/8.1.0/istream:669:12: error: 'streamsize' was not declared in this scope
- /usr/local/include/c++/8.1.0/istream:669:12: note: suggested alternative: 'streampos'
- ignore(streamsize __n);
- ^~~~~~~~~~
- streampos
- /usr/local/include/c++/8.1.0/istream:674:12: error: 'std::basic_istream<wchar_t>& std::basic_istream<wchar_t>::ignore' is not a static data member of 'class std::basic_istream<wchar_t>'
- ignore(streamsize __n, int_type __delim);
- ^~~~~~~~~~
- /usr/local/include/c++/8.1.0/istream:674:12: error: 'streamsize' was not declared in this scope
- /usr/local/include/c++/8.1.0/istream:674:12: note: suggested alternative: 'streampos'
- ignore(streamsize __n, int_type __delim);
- ^~~~~~~~~~
- streampos
- /usr/local/include/c++/8.1.0/istream:674:37: error: expected primary-expression before '__delim'
- ignore(streamsize __n, int_type __delim);
- ^~~~~~~
- /usr/local/include/c++/8.1.0/istream:674:44: error: expression list treated as compound expression in initializer [-fpermissive]
- ignore(streamsize __n, int_type __delim);
- ^
- In file included from /usr/local/include/c++/8.1.0/istream:991,
- from /usr/local/include/c++/8.1.0/iostream:40,
- from main.cpp:3:
- /usr/local/include/c++/8.1.0/bits/istream.tcc: In member function 'std::basic_istream<_CharT, _Traits>::int_type std::basic_istream<_CharT, _Traits>::get()':
- /usr/local/include/c++/8.1.0/bits/istream.tcc:248:7: error: '_M_gcount' was not declared in this scope
- _M_gcount = 0;
- ^~~~~~~~~
- /usr/local/include/c++/8.1.0/bits/istream.tcc:248:7: note: suggested alternative: '_S_out'
- _M_gcount = 0;
- ^~~~~~~~~
- _S_out
- /usr/local/include/c++/8.1.0/bits/istream.tcc: In member function 'std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::get(std::basic_istream<_CharT, _Traits>::char_type&)':
- /usr/local/include/c++/8.1.0/bits/istream.tcc:282:7: error: '_M_gcount' was not declared in this scope
- _M_gcount = 0;
- ^~~~~~~~~
- /usr/local/include/c++/8.1.0/bits/istream.tcc:282:7: note: suggested alternative: '_S_out'
- _M_gcount = 0;
- ^~~~~~~~~
- _S_out
- /usr/local/include/c++/8.1.0/bits/istream.tcc: At global scope:
- /usr/local/include/c++/8.1.0/bits/istream.tcc:317:25: error: 'streamsize' has not been declared
- get(char_type* __s, streamsize __n, char_type __delim)
- ^~~~~~~~~~
- /usr/local/include/c++/8.1.0/bits/istream.tcc: In member function 'std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::get(std::basic_istream<_CharT, _Traits>::char_type*, int, std::basic_istream<_CharT, _Traits>::char_type)':
- /usr/local/include/c++/8.1.0/bits/istream.tcc:319:7: error: '_M_gcount' was not declared in this scope
- _M_gcount = 0;
- ^~~~~~~~~
- /usr/local/include/c++/8.1.0/bits/istream.tcc:319:7: note: suggested alternative: '_S_out'
- _M_gcount = 0;
- ^~~~~~~~~
- _S_out
- /usr/local/include/c++/8.1.0/bits/istream.tcc: In member function 'std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::get(std::basic_istream<_CharT, _Traits>::__streambuf_type&, std::basic_istream<_CharT, _Traits>::char_type)':
- /usr/local/include/c++/8.1.0/bits/istream.tcc:366:7: error: '_M_gcount' was not declared in this scope
- _M_gcount = 0;
- ^~~~~~~~~
- /usr/local/include/c++/8.1.0/bits/istream.tcc:366:7: note: suggested alternative: '_S_out'
- _M_gcount = 0;
- ^~~~~~~~~
- _S_out
- /usr/local/include/c++/8.1.0/bits/istream.tcc: At global scope:
- /usr/local/include/c++/8.1.0/bits/istream.tcc:408:29: error: 'streamsize' has not been declared
- getline(char_type* __s, streamsize __n, char_type __delim)
- ^~~~~~~~~~
- /usr/local/include/c++/8.1.0/bits/istream.tcc: In member function 'std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::getline(std::basic_istream<_CharT, _Traits>::char_type*, int, std::basic_istream<_CharT, _Traits>::char_type)':
- /usr/local/include/c++/8.1.0/bits/istream.tcc:410:7: error: '_M_gcount' was not declared in this scope
- _M_gcount = 0;
- ^~~~~~~~~
- /usr/local/include/c++/8.1.0/bits/istream.tcc:410:7: note: suggested alternative: '_S_out'
- _M_gcount = 0;
- ^~~~~~~~~
- _S_out
- /usr/local/include/c++/8.1.0/bits/istream.tcc: At global scope:
- /usr/local/include/c++/8.1.0/bits/istream.tcc:467:5: error: no declaration matches 'std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::ignore()'
- basic_istream<_CharT, _Traits>::
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /usr/local/include/c++/8.1.0/iostream:40,
- from main.cpp:3:
- /usr/local/include/c++/8.1.0/istream:451:14: note: candidate is: 'std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::ignore'
- ignore(streamsize __n, int_type __delim);
- ^~~~~~~~~~
- /usr/local/include/c++/8.1.0/istream:58:11: note: 'class std::basic_istream<_CharT, _Traits>' defined here
- class basic_istream : virtual public basic_ios<_CharT, _Traits>
- ^~~~~~~~~~~~~
- In file included from /usr/local/include/c++/8.1.0/istream:991,
- from /usr/local/include/c++/8.1.0/iostream:40,
- from main.cpp:3:
- /usr/local/include/c++/8.1.0/bits/istream.tcc:501:12: error: 'std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::ignore' is not a static data member of 'class std::basic_istream<_CharT, _Traits>'
- ignore(streamsize __n)
- ^~~~~~~~~~
- /usr/local/include/c++/8.1.0/bits/istream.tcc:501:12: error: template definition of non-template 'std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::ignore'
- /usr/local/include/c++/8.1.0/bits/istream.tcc:501:12: error: 'streamsize' was not declared in this scope
- /usr/local/include/c++/8.1.0/bits/istream.tcc:501:12: note: suggested alternative: 'streambuf'
- ignore(streamsize __n)
- ^~~~~~~~~~
- streambuf
- /usr/local/include/c++/8.1.0/bits/istream.tcc:563:12: error: 'std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::ignore' is not a static data member of 'class std::basic_istream<_CharT, _Traits>'
- ignore(streamsize __n, int_type __delim)
- ^~~~~~~~~~
- /usr/local/include/c++/8.1.0/bits/istream.tcc:563:12: error: template definition of non-template 'std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::ignore'
- /usr/local/include/c++/8.1.0/bits/istream.tcc:563:12: error: 'streamsize' was not declared in this scope
- /usr/local/include/c++/8.1.0/bits/istream.tcc:563:12: note: suggested alternative: 'streambuf'
- ignore(streamsize __n, int_type __delim)
- ^~~~~~~~~~
- streambuf
- /usr/local/include/c++/8.1.0/bits/istream.tcc:563:37: error: expected primary-expression before '__delim'
- ignore(streamsize __n, int_type __delim)
- ^~~~~~~
- /usr/local/include/c++/8.1.0/bits/istream.tcc: In member function 'std::basic_istream<_CharT, _Traits>::int_type std::basic_istream<_CharT, _Traits>::peek()':
- /usr/local/include/c++/8.1.0/bits/istream.tcc:631:7: error: '_M_gcount' was not declared in this scope
- _M_gcount = 0;
- ^~~~~~~~~
- /usr/local/include/c++/8.1.0/bits/istream.tcc:631:7: note: suggested alternative: '_S_out'
- _M_gcount = 0;
- ^~~~~~~~~
- _S_out
- /usr/local/include/c++/8.1.0/bits/istream.tcc: At global scope:
- /usr/local/include/c++/8.1.0/bits/istream.tcc:658:26: error: 'streamsize' has not been declared
- read(char_type* __s, streamsize __n)
- ^~~~~~~~~~
- /usr/local/include/c++/8.1.0/bits/istream.tcc: In member function 'std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::read(std::basic_istream<_CharT, _Traits>::char_type*, int)':
- /usr/local/include/c++/8.1.0/bits/istream.tcc:660:7: error: '_M_gcount' was not declared in this scope
- _M_gcount = 0;
- ^~~~~~~~~
- /usr/local/include/c++/8.1.0/bits/istream.tcc:660:7: note: suggested alternative: '_S_out'
- _M_gcount = 0;
- ^~~~~~~~~
- _S_out
- /usr/local/include/c++/8.1.0/bits/istream.tcc: At global scope:
- /usr/local/include/c++/8.1.0/bits/istream.tcc:685:5: error: 'streamsize' does not name a type; did you mean 'streambuf'?
- streamsize
- ^~~~~~~~~~
- streambuf
- /usr/local/include/c++/8.1.0/bits/istream.tcc: In member function 'std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::putback(std::basic_istream<_CharT, _Traits>::char_type)':
- /usr/local/include/c++/8.1.0/bits/istream.tcc:723:7: error: '_M_gcount' was not declared in this scope
- _M_gcount = 0;
- ^~~~~~~~~
- /usr/local/include/c++/8.1.0/bits/istream.tcc:723:7: note: suggested alternative: '_S_out'
- _M_gcount = 0;
- ^~~~~~~~~
- _S_out
- /usr/local/include/c++/8.1.0/bits/istream.tcc: In member function 'std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::unget()':
- /usr/local/include/c++/8.1.0/bits/istream.tcc:758:7: error: '_M_gcount' was not declared in this scope
- _M_gcount = 0;
- ^~~~~~~~~
- /usr/local/include/c++/8.1.0/bits/istream.tcc:758:7: note: suggested alternative: '_S_out'
- _M_gcount = 0;
- ^~~~~~~~~
- _S_out
- /usr/local/include/c++/8.1.0/bits/istream.tcc: In function 'std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, _CharT2*)':
- /usr/local/include/c++/8.1.0/bits/istream.tcc:971:7: error: 'streamsize' was not declared in this scope
- streamsize __extracted = 0;
- ^~~~~~~~~~
- /usr/local/include/c++/8.1.0/bits/istream.tcc:971:7: note: suggested alternative: 'streambuf'
- streamsize __extracted = 0;
- ^~~~~~~~~~
- streambuf
- /usr/local/include/c++/8.1.0/bits/istream.tcc:979:18: error: expected ';' before '__num'
- streamsize __num = __in.width();
- ^~~~~~
- ;
- /usr/local/include/c++/8.1.0/bits/istream.tcc:980:12: error: '__num' was not declared in this scope
- if (__num <= 0)
- ^~~~~
- /usr/local/include/c++/8.1.0/bits/istream.tcc:980:12: note: suggested alternative: 'enum'
- if (__num <= 0)
- ^~~~~
- enum
- /usr/local/include/c++/8.1.0/bits/istream.tcc:981:49: error: type/value mismatch at argument 1 in template parameter list for 'template<class _Value> struct __gnu_cxx::__numeric_traits'
- __num = __gnu_cxx::__numeric_traits<streamsize>::__max;
- ^
- /usr/local/include/c++/8.1.0/bits/istream.tcc:981:49: note: expected a type, got 'streamsize'
- /usr/local/include/c++/8.1.0/bits/istream.tcc:989:15: error: '__extracted' was not declared in this scope
- while (__extracted < __num - 1
- ^~~~~~~~~~~
- /usr/local/include/c++/8.1.0/bits/istream.tcc:989:15: note: suggested alternative: '__traitor'
- while (__extracted < __num - 1
- ^~~~~~~~~~~
- __traitor
- /usr/local/include/c++/8.1.0/bits/istream.tcc:989:29: error: '__num' was not declared in this scope
- while (__extracted < __num - 1
- ^~~~~
- /usr/local/include/c++/8.1.0/bits/istream.tcc:989:29: note: suggested alternative: 'enum'
- while (__extracted < __num - 1
- ^~~~~
- enum
- /usr/local/include/c++/8.1.0/bits/istream.tcc:1014:12: error: '__extracted' was not declared in this scope
- if (!__extracted)
- ^~~~~~~~~~~
- /usr/local/include/c++/8.1.0/bits/istream.tcc:1014:12: note: suggested alternative: '__traitor'
- if (!__extracted)
- ^~~~~~~~~~~
- __traitor
- main.cpp: In constructor 'Move::Move()':
- main.cpp:72:8: error: 'type' was not declared in this scope
- if(type=="water"){
- ^~~~
- main.cpp:72:8: note: suggested alternative: 'wctype'
- if(type=="water"){
- ^~~~
- wctype
- main.cpp:117:10: error: expected primary-expression before ')' token
- else(){
- ^
- In file included from /usr/local/include/c++/8.1.0/string:52,
- from /usr/local/include/c++/8.1.0/bits/locale_classes.h:40,
- from /usr/local/include/c++/8.1.0/bits/ios_base.h:41,
- from /usr/local/include/c++/8.1.0/ios:42,
- from /usr/local/include/c++/8.1.0/ostream:38,
- from /usr/local/include/c++/8.1.0/iostream:39,
- from main.cpp:3:
- /usr/local/include/c++/8.1.0/bits/basic_string.h: In instantiation of '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>]':
- /usr/local/include/c++/8.1.0/system_error:189:40: required from here
- /usr/local/include/c++/8.1.0/bits/basic_string.h:542:24: error: 'class std::__cxx11::basic_string<char>' has no member named '_M_allocated_capacity'; did you mean '_S_local_capacity'?
- _M_capacity(__str._M_allocated_capacity);
- ~~~~~~^~~~~~~~~~~~~~~~~~~~~
- _S_local_capacity
- /usr/local/include/c++/8.1.0/bits/basic_string.h: In instantiation of 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc> std::operator+(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]':
- /usr/local/include/c++/8.1.0/system_error:351:50: required from here
- /usr/local/include/c++/8.1.0/bits/basic_string.h:5968:33: error: 'class std::__cxx11::basic_string<char>' has no member named 'size'
- const auto __size = __lhs.size() + __rhs.size();
- ~~~~~~^~~~
- /usr/local/include/c++/8.1.0/bits/basic_string.h:5968:48: error: 'class std::__cxx11::basic_string<char>' has no member named 'size'
- const auto __size = __lhs.size() + __rhs.size();
- ~~~~~~^~~~
- /usr/local/include/c++/8.1.0/bits/basic_string.h:5969:43: error: 'class std::__cxx11::basic_string<char>' has no member named 'capacity'
- const bool __cond = (__size > __lhs.capacity()
- ~~~~~~^~~~~~~~
- /usr/local/include/c++/8.1.0/bits/basic_string.h:5970:26: error: 'class std::__cxx11::basic_string<char>' has no member named 'capacity'
- && __size <= __rhs.capacity());
- ~~~~~~^~~~~~~~
- /usr/local/include/c++/8.1.0/bits/basic_string.h:5971:32: error: no matching function for call to 'std::__cxx11::basic_string<char>::insert(int, std::__cxx11::basic_string<char>&)'
- return __cond ? std::move(__rhs.insert(0, __lhs))
- ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
- /usr/local/include/c++/8.1.0/bits/basic_string.h:1558:9: note: candidate: 'template<class _InputIterator, class> std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::iterator std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::insert(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::const_iterator, _InputIterator, _InputIterator) [with _InputIterator = _InputIterator; <template-parameter-2-2> = <template-parameter-1-2>; _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
- insert(const_iterator __p, _InputIterator __beg, _InputIterator __end)
- ^~~~~~
- /usr/local/include/c++/8.1.0/bits/basic_string.h:1558:9: note: template argument deduction/substitution failed:
- /usr/local/include/c++/8.1.0/bits/basic_string.h:5971:32: note: candidate expects 3 arguments, 2 provided
- return __cond ? std::move(__rhs.insert(0, __lhs))
- ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
- /usr/local/include/c++/8.1.0/bits/basic_string.h:1592:7: note: candidate: 'void std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::insert(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::iterator, std::initializer_list<_Tp>) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::iterator = __gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> >; typename __gnu_cxx::__alloc_traits<typename __gnu_cxx::__alloc_traits<_Alloc>::rebind<_CharT>::other>::pointer = char*]'
- insert(iterator __p, initializer_list<_CharT> __l)
- ^~~~~~
- /usr/local/include/c++/8.1.0/bits/basic_string.h:1592:7: note: no known conversion for argument 1 from 'int' to 'std::__cxx11::basic_string<char>::iterator' {aka '__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> >'}
- /usr/local/include/c++/8.1.0/bits/basic_string.h:1719:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::iterator std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::insert(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::__const_iterator, _CharT) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::iterator = __gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> >; typename __gnu_cxx::__alloc_traits<typename __gnu_cxx::__alloc_traits<_Alloc>::rebind<_CharT>::other>::pointer = char*; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::__const_iterator = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; typename __gnu_cxx::__alloc_traits<typename __gnu_cxx::__alloc_traits<_Alloc>::rebind<_CharT>::other>::const_pointer = const char*]'
- insert(__const_iterator __p, _CharT __c)
- ^~~~~~
- /usr/local/include/c++/8.1.0/bits/basic_string.h:1719:7: note: no known conversion for argument 1 from 'int' to 'std::__cxx11::basic_string<char>::__const_iterator' {aka '__gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >'}
- /usr/local/include/c++/8.1.0/bits/basic_string.h: In instantiation of 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc> std::operator+(const _CharT*, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]':
- /usr/local/include/c++/8.1.0/system_error:354:51: required from here
- /usr/local/include/c++/8.1.0/bits/basic_string.h:5979:23: error: no matching function for call to 'std::__cxx11::basic_string<char>::insert(int, const char*&)'
- { return std::move(__rhs.insert(0, __lhs)); }
- ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
- /usr/local/include/c++/8.1.0/bits/basic_string.h:1558:9: note: candidate: 'template<class _InputIterator, class> std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::iterator std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::insert(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::const_iterator, _InputIterator, _InputIterator) [with _InputIterator = _InputIterator; <template-parameter-2-2> = <template-parameter-1-2>; _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
- insert(const_iterator __p, _InputIterator __beg, _InputIterator __end)
- ^~~~~~
- /usr/local/include/c++/8.1.0/bits/basic_string.h:1558:9: note: template argument deduction/substitution failed:
- /usr/local/include/c++/8.1.0/bits/basic_string.h:5979:23: note: candidate expects 3 arguments, 2 provided
- { return std::move(__rhs.insert(0, __lhs)); }
- ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
- /usr/local/include/c++/8.1.0/bits/basic_string.h:1592:7: note: candidate: 'void std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::insert(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::iterator, std::initializer_list<_Tp>) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::iterator = __gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> >; typename __gnu_cxx::__alloc_traits<typename __gnu_cxx::__alloc_traits<_Alloc>::rebind<_CharT>::other>::pointer = char*]'
- insert(iterator __p, initializer_list<_CharT> __l)
- ^~~~~~
- /usr/local/include/c++/8.1.0/bits/basic_string.h:1592:7: note: no known conversion for argument 1 from 'int' to 'std::__cxx11::basic_string<char>::iterator' {aka '__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> >'}
- /usr/local/include/c++/8.1.0/bits/basic_string.h:1719:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::iterator std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::insert(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::__const_iterator, _CharT) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::iterator = __gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> >; typename __gnu_cxx::__alloc_traits<typename __gnu_cxx::__alloc_traits<_Alloc>::rebind<_CharT>::other>::pointer = char*; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::__const_iterator = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; typename __gnu_cxx::__alloc_traits<typename __gnu_cxx::__alloc_traits<_Alloc>::rebind<_CharT>::other>::const_pointer = const char*]'
- insert(__const_iterator __p, _CharT __c)
- ^~~~~~
- /usr/local/include/c++/8.1.0/bits/basic_string.h:1719:7: note: no known conversion for argument 1 from 'int' to 'std::__cxx11::basic_string<char>::__const_iterator' {aka '__gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >'}
- /usr/local/include/c++/8.1.0/bits/basic_string.h: In instantiation of 'std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]':
- main.cpp:31:21: required from here
- /usr/local/include/c++/8.1.0/bits/basic_string.h:6289:57: error: 'const class std::__cxx11::basic_string<char>' has no member named 'size'
- return __ostream_insert(__os, __str.data(), __str.size());
- ~~~~~~^~~~
- /usr/local/include/c++/8.1.0/bits/basic_string.h: In instantiation of 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>& std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::operator=(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]':
- main.cpp:46:7: required from here
- /usr/local/include/c++/8.1.0/bits/basic_string.h:666:18: error: using invalid field 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::<unnamed union>::_M_allocated_capacity'
- _M_destroy(_M_allocated_capacity);
- ^~~~~~~~~~~~~~~~~~~~~
- /usr/local/include/c++/8.1.0/bits/basic_string.h:676:18: error: using invalid field 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::<unnamed union>::_M_allocated_capacity'
- _M_destroy(_M_allocated_capacity);
- ^~~~~~~~~~~~~~~~~~~~~
- /usr/local/include/c++/8.1.0/bits/basic_string.h: In instantiation of 'void std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::_M_dispose() [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]':
- /usr/local/include/c++/8.1.0/bits/basic_string.h:647:9: required from 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::~basic_string() [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
- /usr/local/include/c++/8.1.0/system_error:189:40: required from here
- /usr/local/include/c++/8.1.0/bits/basic_string.h:221:15: error: using invalid field 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::<unnamed union>::_M_allocated_capacity'
- _M_destroy(_M_allocated_capacity);
- ^~~~~~~~~~~~~~~~~~~
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement