Why are default arguments trailing ones?

前端 未结 4 1283
难免孤独
难免孤独 2021-01-17 17:46

Why are default arguments in C++ trailing ones?

4条回答
  •  [愿得一人]
    2021-01-17 18:04

    Just to supplement @tenfour's answer. C++ FAQ Lite has a topic describing named parameters and I think the topic addresses your issue to some extent.

提交回复
热议问题