Skip to main content
36 events
when toggle format what by license comment
Nov 25, 2014 at 3:01 review Reopen votes
Nov 26, 2014 at 3:03
Nov 15, 2014 at 2:47 comment added user53019 @Joshua - Questions are closed as duplicate if the existing answers to another question address the primary inquiries behind the present question. "Exact" matches are not required; the point is to quickly match the OP with answers for their question. In other words, yes, it's a duplicate. That said, this question smacks of "OMG! How did the World exist before ...?!" which isn't a terribly constructive question. Doc Brown pointed out in an earlier (and now deleted comment) how that phenomenom can affect commentary.
Nov 14, 2014 at 19:29 review Reopen votes
Nov 17, 2014 at 10:21
Nov 14, 2014 at 19:15 comment added IdeaHat @Joshua I agree, being that a "non-c++ compliant compiler" or a "annoying workspace environment" also apply, and there might (emphasis on might) be a non-c answer.
Nov 14, 2014 at 19:02 comment added Joshua This is a curious use of duplicate flag. You have no ides the question is a duplicate unless you already known the answers.
Nov 14, 2014 at 18:19 history closed gnat
user40980
Bart van Ingen Schenau
Kilian Foth
user22815
Duplicate of Writing generic code when your target is a C compiler
Nov 14, 2014 at 14:38 vote accept IdeaHat
Nov 14, 2014 at 13:41 history protected gnat
Nov 14, 2014 at 13:40 answer added Renan Gemignani timeline score: 1
Nov 13, 2014 at 11:26 answer added Rafał Dowgird timeline score: 10
Nov 13, 2014 at 8:42 comment added user122173 Are you sure that compile-time code generation was used before the power of templates was realized? I was young then, but I am under the impression that in the old days, only the simplest sorts of compile-time code generation were used. If you really wanted to write a program to write your program, you wrote a program/script whose output was C source code, rather than doing so with template language.
Nov 13, 2014 at 0:27 answer added Joseph Cheek timeline score: 7
S Nov 12, 2014 at 22:11 history suggested Peter Mortensen CC BY-SA 3.0
Copy edited. Added some context.
Nov 12, 2014 at 21:47 review Suggested edits
S Nov 12, 2014 at 22:11
S Nov 12, 2014 at 20:55 history edited gnat CC BY-SA 3.0
spelling, formatting, tags
Nov 12, 2014 at 20:52 review Close votes
Nov 14, 2014 at 18:19
Nov 12, 2014 at 20:12 review Suggested edits
S Nov 12, 2014 at 20:55
Nov 12, 2014 at 19:13 answer added Joshua timeline score: 60
Nov 12, 2014 at 18:40 comment added user53141 I'm not sure about Microsoft's first C++ compiler, but I'm pretty sure Turbo C++ 1.0 had no template support.
Nov 12, 2014 at 18:38 comment added Telastyn @DocBrown - Enh, I was writing C++ by then and outside of the notoriously shoddy visual C++ 6, template support was pretty solid. (And meta-programming was in its infancy).
Nov 12, 2014 at 18:36 comment added user53141 This link has interesting historical info: drdobbs.com/cpp/c-programming/184409040
Nov 12, 2014 at 18:32 comment added Doc Brown @Telastyn: around the year 2000, most existing C++ compilers did not provide templates very well (even if they pretended to provide it, most of them were too buggy for producion usage). Template support was mostly for supporting generic containers, but far from the requirements to support something like Alexandrescu's "Modern C++ design" examples.
Nov 12, 2014 at 18:10 answer added jas timeline score: 6
Nov 12, 2014 at 17:23 answer added zumalifeguard timeline score: 1
Nov 12, 2014 at 17:07 answer added Karl Bielefeldt timeline score: 19
Nov 12, 2014 at 16:57 vote accept IdeaHat
Nov 14, 2014 at 14:38
Nov 12, 2014 at 16:45 vote accept IdeaHat
Nov 12, 2014 at 16:57
Nov 12, 2014 at 16:44 answer added Florian F timeline score: 6
Nov 12, 2014 at 16:21 answer added Robert Harvey timeline score: 47
Nov 12, 2014 at 16:19 comment added AProgrammer @Telastyn, IIRC, templates were a novelty of CFront 3 (about 1990).
Nov 12, 2014 at 16:17 comment added AProgrammer IIRC, old g++ distributions (pre 2.0) had a 'generic.h' header.
Nov 12, 2014 at 16:17 comment added Telastyn Was there a version of released C++ that did not have templates?
Nov 12, 2014 at 16:11 comment added gnat this probably was done same way as in plain C, see Writing generic code when your target is a C compiler
Nov 12, 2014 at 16:02 comment added IdeaHat @gnat Yeah I read that one. I fully believe that templates are wayyyyy better than macros, but enough people hate them that I'd like to know the alternative.
Nov 12, 2014 at 16:01 comment added gnat related: Are C++ templates just a kind of glorified macros?
Nov 12, 2014 at 15:56 history asked IdeaHat CC BY-SA 3.0