October 07, 2010 General » Re: Template params: decl vs instantiation syntax | |||
|---|---|---|---|
| |||
Nick Sabalausky Wrote: Aah, it's called Explicit Specialization. See factorial implementation at http://digitalmars... | |||
October 07, 2010 General » Re: Template params: decl vs instantiation syntax | |||
|---|---|---|---|
| |||
because:
import std.stdio;
void fun(int X=3)(int a = 4){
writefln("X==%s... | |||
October 07, 2010 General » Re: Template params: decl vs instantiation syntax | |||
|---|---|---|---|
| |||
Been awhile since I used C++, so I guess I don't know, but C... | |||
October 07, 2010 General » Re: Template params: decl vs instantiation syntax | |||
|---|---|---|---|
| |||
Nick Sabalausky Wrote: I thought, template instantiation in C++ is a little bit more complex... | |||
October 07, 2010 General » Re: Template params: decl vs instantiation syntax | |||
|---|---|---|---|
| |||
I have accidentally inserted the bang in the template decl so many times.. There's... | |||
October 07, 2010 General » Template params: decl vs instantiation syntax | |||
|---|---|---|---|
| |||
A trivial thing, but something I've been wondering about for awhile: Function parameter syntax... | |||
October 04, 2010 Issues » [Issue 4987] New: C function pointer syntax needs to be deprecated | |||
|---|---|---|---|
| |||
...would be:
* int[]*[3] ident
*/
if (!global.params.useDeprecated) {
error("C-style function pointer syntax... | |||
October 02, 2010 General » Re: Redundancies often reveal bugs | |||
|---|---|---|---|
| |||
...in one place I worked previously "final params by default" was one of the rules... | |||
October 02, 2010 Issues » [Issue 4973] New: map file with spaces in file name passed without quotes to linker | |||
|---|---|---|---|
| |||
...if (global.params.mapfile)
- cmdbuf.writestring(global.params.mapfile);
+ writeFilename(&cmdbuf, global.params.mapfile);
else... | |||
September 23, 2010 Issues » [Issue 4925] New: [ICE] segfault with module-scope assert(0) | |||
|---|---|---|---|
| |||
...parent->isFuncDeclaration();
+ fd->hasReturnExp |= 4;
+ }
if (!global.params.useAssert)
{ Expression *e = new HaltExp(loc);
--
Configure... | |||
Copyright © 1999-2021 by the D Language Foundation