C++ Logo

std-proposals

Advanced search

[std-proposals] Proposal to allow multiple template parameters packs of different types

From: Anoop Rana <ranaanoop986_at_[hidden]>
Date: Mon, 14 Nov 2022 19:18:09 +0530
Attached is the proposal that aims to make the following program
well-formed:

```

//----------------------vvvv--------------------->note U Is a nontype
template parameter packtemplate<typename... T, bool... U> void f(){
}int main(){
    f<int, double, true, false>(); //ill-formed as per current wording}

```
The complete proposal with all the necessary details is attached as a pdf
at the end of this email.


Regards,
Anoop Rana

Received on 2022-11-14 13:48:22