C++ Logo

std-proposals

Advanced search

Re: [std-proposals] Only reason I don't use std::array

From: Giuseppe D'Angelo <giuseppe.dangelo_at_[hidden]>
Date: Thu, 17 Aug 2023 17:54:30 +0200
Il 17/08/23 17:40, Frederick Virchanza Gotham via Std-Proposals ha scritto:
> void SomeFunc ( std::array<int,16> & ) {}
> void SomeFuncC( std::array<int,16> const & ) {}

But why would someone have functions with this signature, instead of
std::span</* const */ int, 16> ?

My 2 c,
-- 
Giuseppe D'Angelo

Received on 2023-08-17 15:54:34