Search

October 07, 2010
General »
Nick Sabalausky Wrote:
Aah, it's called Explicit Specialization. See factorial implementation at http://digitalmars...
October 07, 2010
General »
because:

import std.stdio;

void fun(int X=3)(int a = 4){
	writefln("X==%s...
October 07, 2010
General »
Been awhile since I used C++, so I guess I don't know, but C...
October 07, 2010
General »
Nick Sabalausky Wrote:

I thought, template instantiation in C++ is a little bit more complex...
October 07, 2010
General »
I have accidentally inserted the bang in the template decl so many times..

There's...
October 07, 2010
General »
A trivial thing, but something I've been wondering about for awhile:

Function parameter syntax...
October 04, 2010
Issues »
...would be:
                 *  int[]*[3] ident
                 */
                if (!global.params.useDeprecated) {
                    error("C-style function pointer syntax...
October 02, 2010
General »
...in one place I worked previously "final params by default" was one of the rules...
October 02, 2010
Issues »
...if (global.params.mapfile)
-        cmdbuf.writestring(global.params.mapfile);
+        writeFilename(&cmdbuf, global.params.mapfile);
     else...
September 23, 2010
Issues »
...parent->isFuncDeclaration();
+            fd->hasReturnExp |= 4;
+        }

         if (!global.params.useAssert)
         {   Expression *e = new HaltExp(loc);

-- 
Configure...
118 119 120 121 122 123 124 125 126 127 128
Next ›   Last »