Hello,
The following function gives me a warning:
template <class V, class AI, class I, class S>
V& AssocArray<V, AI, I, S>::operator [] (const AI& index)
{
iterator it = internal_array.find(index);
V mapIndex = (*it).second;
return mapIndex;
}
[Warning] reference to local variable `mapIndex' returned
I could not figure out the problem with mapIndex here.