Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

C modules

Name: Anonymous 2012-11-26 12:21

Name: Anonymous 2012-11-28 14:21

>>19
I'm not saying #pragma once should be used, I don't use it myself, either. I just think that (conditional) #include is all you mostly need. Especially since it can be optimized by the compiler. There's just no need in fixing a working system.
Tell me which part of the C/C++ standard says that I can't define names called "FILE"
Well, the ISO C standard for example, Section 7. Granted, min/max isn't specified AFAIK. But seriously now, it's just common sense not to deliberately try to provoke name clashes.
Are you saying that Clang is shit? It's much better than GCC.
At the moment, this is mostly a personal opinion. But when there are bagillions of addons like this exclusive to Clang which hinder portability you might as well be dependant on really shitty tools/environments. And then #import will be the same as #pragma once:
ugly and non-standard

About C++ I can't really say much, there might be a point in what you say about it, as I only have shallow knowledge about templates.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List