does make_unique value initializes char array : <p>For example -</p>

<pre><code>#include &lt;memory&gt;

int main(){
    const auto bufSize = 1024;
    auto buffer = std::make_unique&lt;char[]&gt;(bufSize);
}
</code></pre>

<p>Is the buffer here already filled with <code>'\0'</code> characters or will I have to manually fill it to avoid garbage values.</p>

<p>And what would be the possible way to do this, will <code>std::memset(&amp;buffer.get(), 0, bufSize)</code> suffice?</p>
