I have a multi-index defined such that I can do:
<type?> test() {
myTable t(_self, _self.value);
auto r = t.find(...);
return r;
}
but how do I return the iterator? what is the type I need to declare for my method?
according to https://eosio.github.io/eosio.cdt/1.6.0/group__multiindex.html#function-find the return type is const_iterator
but the compiler complains that no type of that name exists, and the documentation says nothing of where I might find the type
help?