static bool isend(AType &a, IType it) { return it == a.end(); }
static IType end(AType &a) { return a.end(); }