The NDIndex class is used to index domains in Field layouts in IPPL. When querying the first() and last() index of the NDIndex, it makes conceptually sense that the return type is an index (unsigned int or size_t) instead of int, as that implies that there can be negative indexing.