C++ Logo

std-discussion

Advanced search

Re: adding a more C++ compliant main function

From: Matthew Woehlke <mwoehlke.floss_at_[hidden]>
Date: Wed, 29 Jan 2020 15:39:38 -0500
On 29/01/2020 11.37, Vishal Oza via Std-Discussion wrote:
> Are there any issues with extending the main function with more C++
> compliant parameters? Some example I would like to include are:
>
> int main(std::vector<std::string>> args);
> int main(std::span<std:: std::string>> args);

It's come up before. I don't know if it's ever gotten as far as a paper.

-- 
Matthew

Received on 2020-01-29 14:42:14