Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- test.cpp(60): error C2664: 'const Type &Array<Type>::set(Int,const Type &)': convert argument 2 from 'String' to 'const Type &' You can not.
- with
- [
- Type=int
- ]
- test.cpp(60): note: Cause: Cannot convert from 'String' to 'const Type'.
- with
- [
- Type=int
- ]
- test.cpp(60): note: There is no user-defined conversion operator available that can perform this conversion, or the operator cannot be called.
- mypath\_11l_to_cpp\11l_hpp/Array.hpp(257): note: see declaration 'Array<Type>::set'.
- with
- [
- Type=int
- ]
- test.cpp(65): error C2677: no global operator or allowed conversion using binary type '[': 'Range<int,true,false>'
- test.cpp(65): error C2660: 'Array<Type>::set': function does not take 1 argument
- with
- [
- Type=int
- ]
- mypath\_11l_to_cpp\11l_hpp/Array.hpp(257): note: See declaration 'Array<Type>::set'.
- with
- [
- Type=int
- ]
- test.cpp(31): error C2665: 'create_array': None of the 2 overloads can convert the types of all arguments.
- mypath\_11l_to_cpp\11l_hpp/Array.hpp(534): note: could be 'Array<Char> create_array(const String &)'
- mypath\11l\_11l_to_cpp\11l_hpp/Array.hpp(505): note: or 'Array<char> create_array(std::initializer_list<bool>)'
- test.cpp(31): note: while matching argument list '(const _Ty)'
- with
- [
- _Ty=int
- ]
- test.cpp(66): note: see reference to compile function template instantiation 'auto pattern<Array<Type>>(const T1 &)'.
- with
- [
- Type=int,
- T1=Array<int>
- ]
- test.cpp(36): error C2665: 'create_array': None of the 2 overloads can convert the types of all arguments.
- mypath\_11l_to_cpp\11l_hpp/Array.hpp(534): note: could be 'Array<Char> create_array(const String &)'
- mypath\11l\_11l_to_cpp\11l_hpp/Array.hpp(505): note: or 'Array<char> create_array(std::initializer_list<bool>)'
- test.cpp(36): note: while matching argument list '(const _Ty)'
- with
- [
- _Ty=int
- ]
- test.cpp(41): error C2665: 'create_array': None of the 2 overloads can convert any argument types.
- mypath\_11l_to_cpp\11l_hpp/Array.hpp(534): note: could be 'Array<Char> create_array(const String &)'
- mypath\11l\_11l_to_cpp\11l_hpp/Array.hpp(505): note: or 'Array<char> create_array(std::initializer_list<bool>)'
- test.cpp(41): note: while matching argument list '(const _Ty)'
- with
- [
- _Ty=int
- ]
- test.cpp(46): error C2665: 'create_array': None of the 2 overloads can convert the types of all arguments.
- mypath\_11l_to_cpp\11l_hpp/Array.hpp(534): note: could be 'Array<Char> create_array(const String &)'
- mypath\11l\_11l_to_cpp\11l_hpp/Array.hpp(505): note: or 'Array<char> create_array(std::initializer_list<bool>)'
- test.cpp(46): note: while matching argument list '(const _Ty)'
- with
- [
- _Ty=int
- ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement