0_0_38184693_7399.cpp: In function 'int main()':
0_0_38184693_7399.cpp:75:30: error: no matching function for call to 'Trie<char>::push(<unresolved overloaded function type>, std::basic_string<char>::size_type, int&)'
t.push(b.data,b.length(),ka);
^
0_0_38184693_7399.cpp:75:30: note: candidate is:
0_0_38184693_7399.cpp:23:7: note: void Trie<T>::push(T*, int, int) [with T = char]
void push(T* s, int len, int value = 0)
^
0_0_38184693_7399.cpp:23:7: note: no known conversion for argument 1 from '<unresolved overloaded function type>' to 'char*'
0_0_38184693_7399.cpp:86:33: error: no matching function for call to 'Trie<char>::find(<unresolved overloaded function type>, std::basic_string<char>::size_type)'
if (t.find(b.data, b.length()) == 0)cout << b;
^
0_0_38184693_7399.cpp:86:33: note: candidate is:
0_0_38184693_7399.cpp:39:6: note: int Trie<T>::find(T*, int) [with T = char]
int find(T* s, int len)
^
0_0_38184693_7399.cpp:39:6: note: no known conversion for argument 1 from '<unresolved overloaded function type>' to 'char*'
0_0_38184693_7399.cpp:87:44: error: no matching function for call to 'Trie<char>::find(<unresolved overloaded function type>, std::basic_string<char>::size_type)'
else cout << a[t.find(b.data, b.length())];
^
0_0_38184693_7399.cpp:87:44: note: candidate is:
0_0_38184693_7399.cpp:39:6: note: int Trie<T>::find(T*, int) [with T = char]
int find(T* s, int len)
^
0_0_38184693_7399.cpp:39:6: note: no known conversion for argument 1 from '<unresolved overloaded function type>' to 'char*'
|