C++ Logo

std-proposals

Advanced search

Re: Two small ideas

From: Ville Voutilainen <ville.voutilainen_at_[hidden]>
Date: Wed, 8 Dec 2021 12:05:52 +0200
On Wed, 8 Dec 2021 at 02:43, Bill Kerney via Std-Proposals
<std-proposals_at_[hidden]> wrote:
>
> Hi all,
>
> Two small ideas -
>
> 1) Allow this...
>
> void print_matrix(const vector<vector<auto>> &mat) {
> ...
> }
>
> ...as a more constrained version of auto parameters so that it would work with any vector of vectors, but not with just any type.

Not exactly a small idea. :) But I do plan to propose this, it just
can't make it for C++23 due to -ETOOBUSYWITHOTHERTHINGS. :)

Received on 2021-12-08 04:06:05