inline and end() in mem map classes