Guest User

Untitled

a guest
Sep 11th, 2021
63
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. test.cpp(60): error C2664: 'const Type &Array<Type>::set(Int,const Type &)': convert argument 2 from 'String' to 'const Type &' You can not.
  2.  
  3. with
  4.  
  5. [
  6.  
  7. Type=int
  8.  
  9. ]
  10.  
  11. test.cpp(60): note: Cause: Cannot convert from 'String' to 'const Type'.
  12.  
  13. with
  14.  
  15. [
  16.  
  17. Type=int
  18.  
  19. ]
  20.  
  21. test.cpp(60): note: There is no user-defined conversion operator available that can perform this conversion, or the operator cannot be called.
  22.  
  23. mypath\_11l_to_cpp\11l_hpp/Array.hpp(257): note: see declaration 'Array<Type>::set'.
  24.  
  25. with
  26.  
  27. [
  28.  
  29. Type=int
  30.  
  31. ]
  32.  
  33. test.cpp(65): error C2677: no global operator or allowed conversion using binary type '[': 'Range<int,true,false>'
  34.  
  35. test.cpp(65): error C2660: 'Array<Type>::set': function does not take 1 argument
  36.  
  37. with
  38.  
  39. [
  40.  
  41. Type=int
  42.  
  43. ]
  44.  
  45. mypath\_11l_to_cpp\11l_hpp/Array.hpp(257): note: See declaration 'Array<Type>::set'.
  46.  
  47. with
  48.  
  49. [
  50.  
  51. Type=int
  52.  
  53. ]
  54.  
  55. test.cpp(31): error C2665: 'create_array': None of the 2 overloads can convert the types of all arguments.
  56.  
  57. mypath\_11l_to_cpp\11l_hpp/Array.hpp(534): note: could be 'Array<Char> create_array(const String &)'
  58.  
  59. mypath\11l\_11l_to_cpp\11l_hpp/Array.hpp(505): note: or 'Array<char> create_array(std::initializer_list<bool>)'
  60.  
  61. test.cpp(31): note: while matching argument list '(const _Ty)'
  62.  
  63. with
  64.  
  65. [
  66.  
  67. _Ty=int
  68.  
  69. ]
  70.  
  71. test.cpp(66): note: see reference to compile function template instantiation 'auto pattern<Array<Type>>(const T1 &)'.
  72.  
  73. with
  74.  
  75. [
  76.  
  77. Type=int,
  78.  
  79. T1=Array<int>
  80.  
  81. ]
  82.  
  83. test.cpp(36): error C2665: 'create_array': None of the 2 overloads can convert the types of all arguments.
  84.  
  85. mypath\_11l_to_cpp\11l_hpp/Array.hpp(534): note: could be 'Array<Char> create_array(const String &)'
  86.  
  87. mypath\11l\_11l_to_cpp\11l_hpp/Array.hpp(505): note: or 'Array<char> create_array(std::initializer_list<bool>)'
  88.  
  89. test.cpp(36): note: while matching argument list '(const _Ty)'
  90.  
  91. with
  92.  
  93. [
  94.  
  95. _Ty=int
  96.  
  97. ]
  98.  
  99. test.cpp(41): error C2665: 'create_array': None of the 2 overloads can convert any argument types.
  100.  
  101. mypath\_11l_to_cpp\11l_hpp/Array.hpp(534): note: could be 'Array<Char> create_array(const String &)'
  102.  
  103. mypath\11l\_11l_to_cpp\11l_hpp/Array.hpp(505): note: or 'Array<char> create_array(std::initializer_list<bool>)'
  104.  
  105. test.cpp(41): note: while matching argument list '(const _Ty)'
  106.  
  107. with
  108.  
  109. [
  110.  
  111. _Ty=int
  112.  
  113. ]
  114.  
  115. test.cpp(46): error C2665: 'create_array': None of the 2 overloads can convert the types of all arguments.
  116.  
  117. mypath\_11l_to_cpp\11l_hpp/Array.hpp(534): note: could be 'Array<Char> create_array(const String &)'
  118.  
  119. mypath\11l\_11l_to_cpp\11l_hpp/Array.hpp(505): note: or 'Array<char> create_array(std::initializer_list<bool>)'
  120.  
  121. test.cpp(46): note: while matching argument list '(const _Ty)'
  122.  
  123. with
  124.  
  125. [
  126.  
  127. _Ty=int
  128.  
  129. ]
RAW Paste Data