Can you use a braced-init-list as a (default) template argument?

Subscribers:
4,120
Published on ● Video Link: https://www.youtube.com/watch?v=ZuMw65VoeUg



Duration: 3:39
0 views
0


Can you use a braced-init-list as a (default) template argument?
I hope you found a solution that worked for you :)
The Content (except music & images) is licensed under (https://meta.stackexchange.com/help/licensing)CC BY-SA
Thanks to all those great people for their contributions!

(stackoverflow.com/users/1476114/%e6%af%94%e5%b0%94%e7%9b%96%e5%ad%90)比尔盖子
(stackoverflow.com/users/12002570/user12002570)user12002570
(stackoverflow.com/users/16649550/pepijn-kramer)Pepijn Kramer
A special thanks goes out to the (https://stackoverflow.com/questions/77673096/can-you-use-a-braced-init-list-as-a-default-template-argument)Stackexchange community

I wish you all a wonderful day! Stay safe :)

c++ braced-init-list language-lawyer list-initialization c++-templates







Tags:
c++
braced-init-list
language-lawyer
list-initialization
c++-templates