array_key: small change in the way the ctor from args is implemented.

Technically, we cannot use std::generate with a back inserter as it does not necessarily satisfies
the forward iterator requirements.