cpp/memory/ranges/uninitialized fill n

Constructs copies of the given value  in an uninitialized memory area, designated by the range, as if by

If an exception is thrown during the initialization, the objects already constructed are destroyed in an unspecified order.

Return value
An iterator equal to.

Complexity
Linear in.

Exceptions
The exception thrown on construction of the elements in the destination range, if any.