There is no limit on how much automatic storage any std API uses.
They could all require 12 terabytes of stack space.
However, that API only requires Cpp17DefaultInsertable
, and your implementation creates an extra instance over what is required by the constructor. Unless it is gated behind detecting the object is trivially ctorable and copyable, that implementation looks illegal.