Re: The_Sage & void main()
"Noah Roberts" <nroberts@donte mailme.com> wrote in message
news:bl5cic$6p$ 2@quark.scn.rai n.com...[color=blue]
> [...]
> An interesting aside I just thought of: If the rest of main's signature
> is implementation defined, I wonder what the standard has to say
> on this one:
>
> int main(stuff) const;[/color]
I think it still has to conform to the rest of the C++ rules. Since main()
isn't a member function, this signature doesn't even make sense. I
mean, what would this signature mean:
friend virtual static volatile int main(...) const = 0; // ???
Dave
"Noah Roberts" <nroberts@donte mailme.com> wrote in message
news:bl5cic$6p$ 2@quark.scn.rai n.com...[color=blue]
> [...]
> An interesting aside I just thought of: If the rest of main's signature
> is implementation defined, I wonder what the standard has to say
> on this one:
>
> int main(stuff) const;[/color]
I think it still has to conform to the rest of the C++ rules. Since main()
isn't a member function, this signature doesn't even make sense. I
mean, what would this signature mean:
friend virtual static volatile int main(...) const = 0; // ???
Dave
Comment