Creates an array initialized with n copies of val.

Synopsis

Declared in <absl/container/fixed_array.h>

FixedArray(
    size_type n,
    value_type const& val,
    allocator_type const& a = allocator_type());

Parameters

Name

Description

n

The number of elements to store.

val

The value to copy into every element.

a

The allocator to use.

Created with MrDocs