by "Alf P. Steinbach" <alfps@[EMAIL PROTECTED]
>
May 7, 2008 at 11:13 PM
* thucdat@[EMAIL PROTECTED]
> Visual Studio C++ compiles the following:
>
>
>
> class someclass {
> //
> };
>
> void somefunction(someclass &) {
> //
> }
>
> int main() {
> somefunction(someclass());
> return 0;
> }
>
>
>
> But Dev-C++ (Bloodshed) and g++ don't. I wonder if Visual Studio C++
> is smarter here.
It's a Visual C++ language extension, i.e. non-standard.
Whether it's smarter or not, who knows. :-)
Cheers, & hth.,
- Alf
--
A: Because it messes up the order in which people normally read text.
Q: Why is it such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?