D Examples
Last edited May 18, 2009
More by JC »
Introduction

This notebook is the same idea as Links to Example Code
Examples

D Programming Language tips
arsdnet.net/dtips/
D Programming Language tips
 (Adam D. Ruppe)
Labels: D Programming Language, example
The Two-Towers Problem
Labels: D Programming Language, example
The D Programming Language - Bugzilla Issue 2658 - Remove EscapeString literals.
d.puremagic.com/issues/show_bug.cgi?id=2658
The ability to create escape strings is a waste of the backslash character.
Labels: D Programming Language, example
leonardo_m: Multiprecision integers - part 2
leonardo-m.livejournal.com/76434.html
benchmark small sums among multiprecision integers (MPI)
Labels: D Programming Language, example
Labels: D Programming Language, example
Batch files for running multiple DMD versions
Labels: D Programming Language, example
request a url
 htmlget.d
Labels: D Programming Language, example
readln()
Labels: D Programming Language, example
can D check, whether a class A an Interface B supports?
Labels: D Programming Language, example
One nice thing that opApply capable of is it can avoid heap activity by stack-allocating data during iteration.
Labels: D Programming Language, example
line fflush (stdout); must be written before getch()
Labels: D Programming Language, example
I'm gearing up for changing std.algorithm, and I am thinking of making
the major change of favoring lazy evaluation throughout.
Labels: D Programming Language, example, template example
efficient sorting routine
Labels: D Programming Language, example
Re: .bat file to help compile easier - dmd/build
Labels: D Programming Language, example
Re: Operator overloading -- lets collect some use cases
Labels: D Programming Language, example
OdeFu: Composite Oriented Programming
odefu.blogspot.com/2008/12/composite-oriented-prog...
Composite Oriented Programming
Labels: D Programming Language, example, template example
template AttributeGetSet
Labels: D Programming Language, example, template example
Using DMD's -v to build dependencies
Labels: D Programming Language, example
longArithmetic
 benchmark
Labels: D Programming Language, example
toString ugliness
Labels: D Programming Language, example
A lightweight module for class extensions in D
Labels: D Programming Language, example
Re: Is __traits(derivedMembers) supposed to return mangled names?
Labels: D Programming Language, example, template example
Re: Scope storage class
 stack allocated vs. heap allocated
Labels: D Programming Language, example
std.algorithm
Labels: D Programming Language, example
benchmarks
 matrix mul
Labels: D Programming Language, example
D: A Newbie-Oriented Tutorial
compsci.ca/v3/viewtopic.php?t=9518
D: A Newbie-Oriented Tutorial
Labels: D Programming Language, example
import std.thread;
Labels: D Programming Language, example
Forward declarations of template specilizations.
Labels: D Programming Language, example, template example
private import
Labels: D Programming Language, example
make sure that ESP points to first
parameter on the stack
 asm
Labels: D Programming Language, example
how asm blocks mixed with normal D code
Labels: D Programming Language, example
Roles of variables in novice-level procedural programming
Labels: D Programming Language, example
backtrace handler
Labels: D Programming Language, example
Re: RegExp
Labels: D Programming Language, example
Re: Templated interface
Labels: D Programming Language, example, template example
Re: Templated interface
Labels: D Programming Language, example, template example
Re: random number within a specified range?
Labels: D Programming Language, example
Actually, when it comes to string processing, D is decidedly *not* a
"performance language".
Labels: D Programming Language, example
random k-sample of a file
Labels: D Programming Language, example
 
 opCall examples
Labels: D Programming Language, example
"foo(int, long)" is not supported
 oops, this is my mistake. it's works with mysterious way.
Labels: D Programming Language, example
Re: Overloading templates
Labels: D Programming Language, example, template example
template Const(T)
Labels: D Programming Language, example
ArrayBuilder is quite useful
Labels: D Programming Language, example, template example
Does anyone know a way to determine the type and offset of class/struct members?
Labels: D Programming Language, example
#line decoder
Labels: D Programming Language, example
optimized version of array operations, using SSE2 instructions
Labels: D Programming Language, example
Revised CPUID/cache info
Labels: D Programming Language, example
UTF-8 issues
Labels: D Programming Language, example
I know this has been solved but I'd like to point out that windows
offers GetPrivateProfileString.  Its not portable and not that efficient
(although that would only be a concern if your reading 10000's of entries).

http://msdn.microsoft.com/en-us/library/ms724353(VS.85).aspx
Labels: D Programming Language, example
Re: Windows PSAPI
 Using coffimplib with a psapi.lib taken from the M$ platform SDK will 
probably work.  The stdcall mangling is present in the .lib file, but 
not the .dll.  I didn't test the resulting OMF lib file, but the names 
are correctly mangled, "_GetModuleFileNameExA@16" and so on.

http://ftp.digitalmars.com/coffimplib.zip
Labels: D Programming Language, example
If there's any constructor defined for S, then S(args) is a constructor
call.

If there's any opCall defined for S, then S(args) is an opCall call.

Otherwise, it's a struct literal.
Labels: D Programming Language, example
To construct an object of struct S:

auto s = S(arguments);
Labels: D Programming Language, example
Palindromes
Labels: D Programming Language, example, Python
is it expected that this does an infinite loop?
Labels: D Programming Language, example, template example
recent CPUs' branch predictions really are as good as people claim
Labels: D Programming Language, example
yield, C# etc
Labels: D Programming Language, example
random getstate/setstate
Labels: D Programming Language, example
The SSE2 is being used
 Array Operators
Labels: D Programming Language, example
Recursive Templates
Labels: D Programming Language, example, template example
First benchmark (DMD 1.034 and 2.018), just D against itself, not used GCC yet, the results show that vector ops are generally slower
Labels: D Programming Language, example
leonardo_m: xflatten, flatten in D
leonardo-m.livejournal.com/67165.html
xflatten, flatten in D
In the last versions of my D language libs I have re-written maybe for the 4-th time the function and the iterator to flatten a given iterable in an eager/lazy way, and this time I think the code may be as flexible and fast as it gets.
Labels: D Programming Language, example
In D you can also solve the same problem without gotos, shortening the code, using a named 'continue' statement (but the code with goto is faster)
Labels: D Programming Language, example, Python
leonardo_m: Ant System Optimization for TSP
leonardo-m.livejournal.com/66171.html
Travelling salesman problem
Labels: D Programming Language, Python, example
Re: random number generator
Labels: D Programming Language, example
http://dsource.org/projects/meta

Alpha release of meta, a utility library for compile time functions and template metaprogramming
Labels: D Programming Language, example, template example
template isFloat(T)
Labels: D Programming Language, example, template example
/trunk/tools/rdmd.d - phobos - dsource.org
dsource.org/projects/phobos/browser/trunk/tools/rd...
Labels: D Programming Language, example
leonardo_m: Updates and links
leonardo-m.livejournal.com/65402.html
I have updated the solutions to the Google problems (improved puzzle 6):
http://www.fantascienza.net/leonardo/js/interview_puzzles.zip
Labels: D Programming Language, example
multisort function
Labels: D Programming Language, example
std.getopt
Labels: D Programming Language, example
Google's treasure hunt - task 2 | larsivi
larsivi.net/node/112
module googlehunt;
Labels: D Programming Language, example, Tango
Python dictionary inspired hash table implementation
Labels: D Programming Language, example
third-party win32 bindings
leonardo_m: Google Treasure Hunt p.4
leonardo-m.livejournal.com/63888.html
I have then implemented the same algoritm in D language, it needs about 7.7 seconds to run.
Labels: D Programming Language, example
The D Programming Language - Bugzilla Issue 2142 - getopt() incorrectly processes bundled
d.puremagic.com/issues/show_bug.cgi?id=2142
getopt() sees only one short option in bundled options - the one that is given to getopt() first.
Labels: D Programming Language, example
X[]==Y[] is 7X slower than it should be
Labels: D Programming Language, example
Re: Functions with package protection
Labels: D Programming Language, example
Re: chmod and chown in D
Labels: D Programming Language, example
float f2;
f2 !<>= f2; // true
Labels: D Programming Language, example
test the allocation speed
Labels: D Programming Language, example
application that maps numbers to words from a list of words
Labels: D Programming Language, example, Ruby
TooltipLabelListener
uses DWT
Labels: D Programming Language, example
import d.func: map, range;
import d.time: clock;
import std.traits: ReturnType;
import d.extra: NewVoidCArray, delVoidC, NewVoidGCArray;
Labels: D Programming Language, example, template example
mixin creating an enum
Labels: D Programming Language, example
import std.algorithm;

struct A
{
    int Merge(int) { return 0; }
}

void main(string[] args)
{
    A a;
    auto fun = &a.Merge;
    map!(fun)([1, 2, 3]);
}
Labels: D Programming Language, example
> Is it possible to map! or reduce! a member function or delegate against a
> range?
Labels: D Programming Language, example
test if a parameter is a struct
Labels: D Programming Language, example
GDC does inline ref-arg functions.
Labels: D Programming Language, example
Static libraries are just collections of *optional* additional
object files.
Labels: D Programming Language, example
DMD Compiler for Windows - D Programming Language 2.0 - Digital Mars
www.digitalmars.com/d/2.0/dmd-windows.html#library
Building Libraries
Labels: D Programming Language, example
isDerivedFromA
Labels: D Programming Language, example, template example
The D Programming Language - Bugzilla Issue 2101 - Please may I use mutable arrays at compile time?
d.puremagic.com/issues/show_bug.cgi?id=2101
newCtfeArray
Labels: D Programming Language, example, template example
This should extend to any semi-reserved name.  The compiler used to allow
redefinition of 'sizeof' and 'offsetof' but checks were added to disallow
that.  That mechanism should just be extended.
 semi-reserved names, such as init
Labels: D Programming Language, example
import std.stdio, std.stream, std.string, std.ctype, std.gc;
Labels: D Programming Language, example
Re: U++ Core vs D programming language
import std.file;
import std.stdio;
import std.date;
Labels: D Programming Language, example
hyperlink regular expression pattern (std.regexp)
Labels: D Programming Language, example
interface IFruit
Labels: D Programming Language, example
Re: This needs a different approach
Labels: D Programming Language, example
function table:

auto functionArray = [APPLE:&groupModule.appleModule.eat,
PEAR:&groupModule.pearModule.eat, .., PLUM:&groupModule.plumModule.eat];

functionArray[data.type]();
Labels: D Programming Language, example
import std.stdio;
import std.string;

int main( string[] args) {
    char[] a = cast(char[])args[0].toupper();    
    a[2..5] = "XXX";
    a = cast(char[])tolower( cast(string)a );
    writefln(a);
    return 0;
}
Labels: D Programming Language, example
John Conway's Game of Life in D v1.0
 See also: Web-News v.1.6.3
Labels: D Programming Language, example, GDC
What is nothrow for?
Labels: D Programming Language
A few lines of code to clean the trace.log produced by DMD
Labels: D Programming Language, example, Tango
Are private functions that aren't declared final in the vtable?
 Apparently not.
Labels: D Programming Language, example
import std.string;
import std.algorithm;

void main(char[][] args)
{
    string[] words = ["c", "ab", "bb"];
    sort!("a < b", SwapStrategy.stable)(words);
    assert(words == ["ab", "bb", "c"]);
}
 (with suggested correction)
Labels: D Programming Language, example
The D Programming Language - Bugzilla Issue 2025 - Inconsistent rules for instantiating templates
d.puremagic.com/issues/show_bug.cgi?id=2025
The template with non-tuple parameter is preferred if that parameter is a value (Case 1). The template with tuple parameter is preferred if the non-tuple parameter is a type (Case 2).
Labels: D Programming Language, example, template example
Completely at compile time, it parses a text file describing a mapping between an 8-bit encoding and Unicode, and builds data structures and functions to convert between that encoding and Unicode.
Labels: D Programming Language, example
Function template that takes as types one or more exception types, and
as argument a (lazy) expression. It returns true if once called the
expression throws one of the specified exception(s).
Labels: D Programming Language, example, template example
leonardo_m: Updates and few links
leonardo-m.livejournal.com/62152.html

As an example of the results of such language jumping, this is the D version of the editDistance, that's back-translated from Python, showing a quite short and readable code (I have created a pair of editDistance and editDistanceFast in both languages, the fast version has limits in the length of the possible input iterables/arrays, and avoid dynamic allocations):

int editDistance(T)(T[] s1, T[] s2) {
    if (len(s1) > len(s2)) { auto sa = s1; s1 = s2; s2 = sa; }
    auto r1 = range(len(s2) + 1);
    auto r2 = new int[len(r1)];
    foreach (i, c1; s1) {
        r2[0] = i + 1;
        foreach (j, c2; s2)
            r2[j+1] = c1 == c2 ? r1[j] : min(r2[j], r1[j], r1[j+1]) + 1;
        auto ra = r1; r1 = r2; r2 = ra;
    }
    return r1[$ - 1];
}
I'm still flabbergasted by the cool things you can do inside
fixed-length matrix/vector templates.

For instance (this is all from my matrix/vector classes in OpenMesh/D
which are basically a complete rewrite of the original C++ versions)

struct MatrixT(T, int M, int N)
{
     alias T Scalar;

     union {
         Scalar[M*N] values_ = void;
         static if(M<=10 && N<=10) {
             mixin(_gen_elements!(M,N)("Scalar"));
         }
     }
}

// Generate the elements m00,m01,m02... elements
// For matrices with dimensions < 10 x 10 only.
private string _gen_elements(int M, int N)(string type) {
     static assert(M<=10);
     static assert(N<=10);
     char[] Num = "0123456789";
     string ret;
     for(int col=0; col<N; ++col) {
         ret ~= type ~ " ";
         for (int row=0; row<M; row++) {
             ret ~= "m" ~ Num[row] ~ Num[col];
             if (row!=M-1) ret ~=  ", ";
         }
         ret ~= ";\n";
     }
     return ret;
}

This creates aliases to each element of the matrix of the form m00, m01,
m02, but only if the matrix is small enough.  I have no idea how you'd
do that in C++.  I don't think it's really possible.


Here's another -- generating the unrolled code for multiplying two
matrices together:

/// Multiply MxN matrix time NxP matrix
void mat_mult_ret(T,int M,int N,int P)(
     /*const*/ref MatrixT!(T,M,N) A,
     /*const*/ref MatrixT!(T,N,P) B,
     inout MatrixT!(T,M,P) ret)
{
     with(ret) {
         mixin(_gen_mat_mult_body!(M,N,P)("A","B"));
     }
}

private string _gen_mat_mult_body(int M, int N, int P)(string A, string B)
{
     string ret;
     for (int row=0; row<M; ++row) {
         for(int col=0; col<P; ++col) {
             ret ~= "        ";
             ret ~= "values_["~ctfe_itoa(col*M+row)~"] = ";
             for(int jj; jj<N; ++jj) {
                 string JJ = ctfe_itoa(jj);
                 string iA = ctfe_itoa( row+jj *M );
                 string iB = ctfe_itoa( jj +col*N );
                 ret ~= A ~ ".values_["~iA~"]*"~B~".values_["~iB~"]";
                 if (jj != N-1) { ret ~= " + "; }
                 else { ret ~= ";\n"; }
             }
         }
         ret ~= "\n";
     }
     return ret;
}


Wow.  The code generating function basically just looks like a standard
triply-nested matrix multiply, but instead of doing multiplies it just
splits out code that implements multiplies.
Labels: D Programming Language, example
// Sort data using keys as the order

uint[] keys, data;

assert(keys.length == data.length);

ulong[] arr;
arr.length = keys.length;

foreach(int i, uint _; keys) arr[i] = (cast(uint)keys[i])<<32 | data[i];

arr.sort;

foreach(int i, uint _; keys) data[i] = cast(uint)(arr & 0x0ffff_ffff);

Labels: D Programming Language, example
Re: Polymorphism in regular variadic function (...
www.digitalmars.com/pnews/read.php?server=news.dig...
Labels: D Programming Language, example
Re: D CGI Hang with fgets (digitalmars.D.learn)
www.digitalmars.com/pnews/read.php?server=news.dig...
Labels: D Programming Language, example
Labels: D Programming Language, example
Re: OSNews article about C++09 degenerates into...
www.digitalmars.com/pnews/read.php?server=news.dig...
Labels: D Programming Language, example
Re: OSNews article about C++09 degenerates into...
www.digitalmars.com/pnews/read.php?server=news.dig...
Labels: D Programming Language, example
Re: A new debugger for Linux - would it work fo...
www.digitalmars.com/pnews/read.php?server=news.dig...
Labels: D Programming Language, example
Re: What's left for 1.0? - string class (digita...
www.digitalmars.com/pnews/read.php?server=news.dig...
Labels: D Programming Language, example
working towards compile-time reflection - Re: ...
www.digitalmars.com/pnews/read.php?server=news.dig...
Labels: D Programming Language, example
Re: Auto objects and scope (digitalmars.D)
www.digitalmars.com/pnews/read.php?server=news.dig...
Labels: D Programming Language, example
Tutorials - tango - dsource.org
dsource.org/projects/tango/wiki/Tutorials
Labels: D Programming Language, example
using winsock2 (digitalmars.D.learn)
www.digitalmars.com/pnews/read.php?server=news.dig...
Labels: D Programming Language, example
set .ptr and .funcptr - Re: DMD 0.174 release (...
www.digitalmars.com/pnews/read.php?server=news.dig...
Labels: D Programming Language, example
Re: DMD 0.174 release (digitalmars.D.announce)
www.digitalmars.com/pnews/read.php?server=news.dig...
might be called ClassToTupleExample
Labels: D Programming Language, example
override and overload (digitalmars.D)
www.digitalmars.com/pnews/read.php?server=news.dig...
Labels: D Programming Language, example
[Performance] shootout.binarytrees when impleme...
www.digitalmars.com/pnews/read.php?server=news.dig...
Labels: D Programming Language, example
Re: Iterators for D (digitalmars.D)
www.digitalmars.com/pnews/read.php?server=news.dig...
Labels: D Programming Language, example
Re: 1.0 ?? [templates and currying] (digitalmar...
www.digitalmars.com/pnews/read.php?server=news.dig...
requires proposed "funcptr" syntax
Labels: D Programming Language, example
std.traits and number of parameters - Re: 1.0 ?...
www.digitalmars.com/pnews/read.php?server=news.dig...
Labels: D Programming Language, example
D语言实现的variant-- -JavaEye做最棒的软件开发交流社区
www.javaeye.com/article/58038
Labels: D Programming Language, Boost, example, template example
port boost.variant to D-oldrev -JavaEye技术社区
dlang.javaeye.com/blog/56114
Labels: D Programming Language, Boost, example, template example
AdvancedDelegate - "Partial application" for de...
www.digitalmars.com/drn-bin/wwwnews?digitalmars.D....
Labels: D Programming Language, example, PHP
Labels: D Programming Language, example
Labels: D Programming Language, example
Labels: D Programming Language, example, email
testing for the presence of an element in an array
www.digitalmars.com/drn-bin/wwwnews?digitalmars.D....
Labels: D Programming Language, example
AdvancedDelegate - "Partial application" for de...
www.digitalmars.com/drn-bin/wwwnews?digitalmars.D....
Labels: D Programming Language, example
AdvancedDelegate - "Partial application" for de...
www.digitalmars.com/drn-bin/wwwnews?digitalmars.D....
Labels: D Programming Language, example
Re: How to initialize an array like int[][] (di...
www.digitalmars.com/pnews/read.php?server=news.dig...
Labels: D Programming Language, example
Re: variadic args (digitalmars.D.learn)
www.digitalmars.com/pnews/read.php?server=news.dig...
Labels: D Programming Language, example
Re: MIT Technology Review: An Interview With Bj...
www.digitalmars.com/pnews/read.php?server=news.dig...
Labels: D Programming Language, example
Re: 'in' for arrays? (digitalmars.D)
www.digitalmars.com/pnews/read.php?server=news.dig...
Labels: D Programming Language, example
Using malloc/free to avoid pinning concerns (ex...
www.digitalmars.com/drn-bin/wwwnews?digitalmars.D/...
Labels: D Programming Language, example
Walter: Before you go and implement the new RAI...
lists.puremagic.com/pipermail/digitalmars-d/2006-S...
auto, this, ~this
Labels: D Programming Language, example
for, continue, break, try, catch
Labels: D Programming Language, example
Labels: D Programming Language, example
Re: Absolute path (digitalmars.D.learn)
www.digitalmars.com/pnews/read.php?server=news.dig...
Labels: D Programming Language, example
refined sugar (was DMD 0.165 release)
lists.puremagic.com/pipermail/digitalmars-d-announ...
Lazy evaluation, delegate, cast
Labels: D Programming Language, example
The D Journal » Using Templates to Create Associative Arrays
www.tdjonline.com/?p=22
Labels: D Programming Language, example
Labels: D Programming Language, example
Labels: D Programming Language, example
Labels: D Programming Language, example
Labels: D Programming Language, example
More on Policies » News and Opinions of the Dig...
dblog.aldacron.net/2006/06/17/more-on-policies/
Labels: D Programming Language, example
new delegate syntax - extended test
www.digitalmars.com/drn-bin/wwwnews?digitalmars.D....
Labels: D Programming Language, example
Labels: D Programming Language, example
mixin + compile-time function to show current l...
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
does a function exist? (compile-time) - Web-Ne...
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
does toString exist for a class? (compile-time)...
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
Compile-time BF compiler - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
compile-time concatenation onto a variable - We...
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
compile-time character manipulation - Web-News ...
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
Labels: D Programming Language, example
struct: static opCall - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
std.regexp.split - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
Labels: D Programming Language, example
Labels: D Programming Language, example
allocating a struct on the heap - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
Labels: D Programming Language, example
Labels: D Programming Language, example
Re: test coverage for std.regexp - Web-News v.1...
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
Re: struct to byte[] - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
Labels: D Programming Language, example
class / foreach / tupleof - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
scanf / readln - dsource.org - forums
www.dsource.org/forums/viewtopic.php?t=2576
Labels: D Programming Language, example
call chaining / order of evaluation - Web-News ...
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
call chaining / order of evaluation - Web-News ...
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
call chaining / order of evaluation - Web-News...
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
call chaining / order of evaluation - Web-News ...
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
Labels: D Programming Language, example
Labels: D Programming Language, example
C doesn't handle exceptions - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
in / body / out / -release / -debug - Web-News ...
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
Labels: D Programming Language, example
Labels: D Programming Language, example
Labels: D Programming Language, example
memdump with writef - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
std.regexp - D语言的正则表达式例子-ideage -JavaEye技术社区
ideage.javaeye.com/blog/59738
Labels: D Programming Language, example
"very humble" memdump for debugging - Web-News ...
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
d-prg - Google Code
code.google.com/p/d-prg/
Labels: D Programming Language, example
Labels: D Programming Language, example
Labels: D Programming Language, example
99 Bottles of Beer | Language D
www.99-bottles-of-beer.net/language-d-1212.html
Labels: D Programming Language, example
Labels: D Programming Language, example
Labels: D Programming Language, example
Labels: D Programming Language, example
Labels: D Programming Language, example, Python
(gcc returns mem) Re: When is it time for a 1.0...
lists.puremagic.com/pipermail/digitalmars-d/2006-S...
Labels: D Programming Language, example
Casting between char[]/wchar[]/dchar[]
lists.puremagic.com/pipermail/digitalmars-d/2006-A...
Labels: D Programming Language, example
Assoc Arrays (was YAP: variadic templates via a...
lists.puremagic.com/pipermail/digitalmars-d/2006-A...
Labels: D Programming Language, example
Labels: D Programming Language, example
Labels: D Programming Language, example
field vs local variable not affected by shadowi...
www.digitalmars.com/drn-bin/wwwnews?digitalmars.D....
Labels: D Programming Language, example
Labels: D Programming Language, example
Labels: D Programming Language, example
Casting between char[]/wchar[]/dchar[]
lists.puremagic.com/pipermail/digitalmars-d/2006-A...
Labels: D Programming Language, example
Labels: D Programming Language, example
Re: super constructors: I can't take it anymore...
www.digitalmars.com/pnews/read.php?server=news.dig...
Labels: D Programming Language, example
Labels: D Programming Language, example
Labels: D Programming Language, example
Labels: D Programming Language, example
Labels: D Programming Language, example
Labels: D Programming Language, example
Labels: D Programming Language, example
Labels: D Programming Language, example
shootout tests (James Pelcis's revision)
www.digitalmars.com/drn-bin/wwwnews?digitalmars.D/...
Labels: D Programming Language, example
FQN trick using importing as an alias
www.digitalmars.com/drn-bin/wwwnews?digitalmars.D....
Labels: D Programming Language, example
Path struct, and directory walker - filepath.d
www.digitalmars.com/drn-bin/wwwnews?digitalmars.D/...
Labels: D Programming Language, example
Arrays without using garbage collector
www.digitalmars.com/drn-bin/wwwnews?digitalmars.D/...
Labels: D Programming Language, example
Re: Properties set/get huge speed difference? (...
www.digitalmars.com/pnews/read.php?server=news.dig...
get/set speed, final
Labels: D Programming Language, example
Labels: D Programming Language, example
Casting between char[]/wchar[]/dchar[]
lists.puremagic.com/pipermail/digitalmars-d/2006-A...
Labels: D Programming Language, example
Labels: D Programming Language, example
Casting between char[]/wchar[]/dchar[]
lists.puremagic.com/pipermail/digitalmars-d/2006-A...
Labels: D Programming Language, example
Labels: D Programming Language, example
Labels: D Programming Language, example
Labels: D Programming Language, example
Labels: D Programming Language, example
Labels: D Programming Language, example
Labels: D Programming Language, example
Labels: D Programming Language, example
Labels: D Programming Language, example
Re: No struct extending? (digitalmars.D)
www.digitalmars.com/pnews/read.php?server=news.dig...
struct extending with a mixin
Labels: D Programming Language, example
Labels: D Programming Language, example, Phobos
static arrays and static initializers
www.digitalmars.com/drn-bin/wwwnews?digitalmars.D....
Labels: D Programming Language, example
Labels: D Programming Language, example
Dynamic vs Static suffixes (improved)
lists.puremagic.com/pipermail/digitalmars-d-announ...
Labels: D Programming Language, example
Labels: D Programming Language, example
Labels: D Programming Language, example
Labels: D Programming Language, example
variadic func to call another variadic func
lists.puremagic.com/pipermail/digitalmars-d-announ...
Labels: D Programming Language, example
assert(condition[, message]) patch - static assert
www.digitalmars.com/drn-bin/wwwnews?digitalmars.D/...
Labels: D Programming Language, example
difficulties getting SetTimer() to work
www.digitalmars.com/drn-bin/wwwnews?digitalmars.D/...
Labels: D Programming Language, example
Labels: D Programming Language, example
Labels: D Programming Language, example
synchronized statement - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
Functional Multi-threading - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
Wiki4D: MarianoCecowski/CommandLineArguments
www.prowiki.org/wiki4d/wiki.cgi?MarianoCecowski/Co...
Labels: D Programming Language, example
Re: Better syntax for varargs / variadic functi...
www.digitalmars.com/pnews/read.php?server=news.dig...
Labels: D Programming Language, example
Re: repost: semantics of the keyword lazy (digi...
www.digitalmars.com/pnews/read.php?server=news.dig...
Labels: D Programming Language, example
Re: First Impressions (digitalmars.D)
www.digitalmars.com/pnews/read.php?server=news.dig...
foreach(int i, dchar c; char[] str)
Labels: D Programming Language, example
Re: Signals and Slots in D (digitalmars.D)
www.digitalmars.com/pnews/read.php?server=news.dig...
weak pointer
Labels: D Programming Language, example
Re: Signals and Slots in D (digitalmars.D)
www.digitalmars.com/pnews/read.php?server=news.dig...
Labels: D Programming Language, example
Labels: D Programming Language, example
Labels: D Programming Language, example
simple encryption - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
A bit of binary I/O - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
Type of Array.length (typeof, auto) - Web-News ...
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
Type of Array.length, typeof - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
Labels: D Programming Language, example
Initializing arrays - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
Initializing arrays - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
creating structs - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
multi-dimensional box arrays - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
pointer to struct and array - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
count string occurrences in a file - Web-News v...
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
intensive GC test - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
Labels: D Programming Language, example
Labels: D Programming Language, example
auto / split / foreach - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
Labels: D Programming Language, example
clearing AAs using init - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
clearing AAs using null - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
Labels: D Programming Language, example
Labels: D Programming Language, example
Labels: D Programming Language, example
D vs. placement new (for classes) aka why D nee...
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
Getting user home directory - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
scope + delegates - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
variable as final - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
Labels: D Programming Language, example
Expression Tuple - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
undefined behavior vs. error - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
Will macros just be syntactic sugar? - Web-News...
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
getting a character from the middle of a string...
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
"with" and anonymous objects - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
C#-like 的 DLL 封装-oldrev -JavaEye技术社区
oldrev.javaeye.com/blog/71604
Labels: D Programming Language, example
Cool thing about D, #72 - tuple/tupleof argumen...
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
jcc7's D Programming Language Page
jcc_7.tripod.com/d/
Labels: D Programming Language, example
Labels: D Programming Language, example
accessing class fields from asm - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
accessing class fields from asm - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
WeakObjectReference - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
disabling initialization - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
switching between D version using NTFS junction...
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
german Video Tutorials - dsource.org - forums
www.dsource.org/forums/viewtopic.php?t=2836
Labels: to do, example, D Programming Language
supporting DMD-1.016 and DMD-2.000 with the sam...
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
/branches/d/odf/OpenDocument.d - libodf - Trac
trac.brainsware.org/libodf/browser/branches/d/odf/...
Labels: D Programming Language, example
Erastothenes - Does work? - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
Erastothenes using Tango - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
Labels: D Programming Language, example
Eratosthenes Sieve prime number calculation - W...
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
SyntaxHighlightingBugs - dsource.org - forums
www.dsource.org/forums/viewtopic.php?t=1231
Labels: to do, D Programming Language, example
Latin1toUTF(8/32) - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
Input is encoded as Latin-1 - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
Translated version of http://oldrev.javaeye.com...
translate.google.com/translate?u=http%3A%2F%2Foldr...
switch simulation
Labels: D Programming Language, example
ctrace - compile-time raytracer
h3.team0xf.com/ctrace/
Labels: D Programming Language, example
doost.program_options - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
Labels: D Programming Language, example
Labels: D Programming Language, example
Windows console colors - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
Read a file into a string with Tango - Web-News...
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, Tango, example
Labels: D Programming Language, Tango, example
Re: The problem with the D GC - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example, memory garbage collection
Labels: D Programming Language, example, memory garbage collection
Labels: D Programming Language, example, memory garbage collection
Labels: D Programming Language, example, Tango
compile-time "Struct" to avoid tuple sublimatio...
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example, template example
Labels: D Programming Language, template example, example
Labels: D Programming Language, example, template example
Destructuring bind - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example, template example
Labels: D Programming Language, template example, example
using a static array as a dynamic array in a te...
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example, template example
better equiv of "static for" - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, template example, example
equiv of "static for" - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example, template example
Variadic template function - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example, template example
Make 4-character literal - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example, template example
Associative Array initializers - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, template example, example
template / enum / const / static this - Web-New...
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, template example, example
Labels: D Programming Language, example, template example
varargs_reduce template - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example, template example
Labels: D Programming Language, example, template example
fancy template "max" function - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example, template example
Labels: D Programming Language, template example, example
D templates + IFTI + Tuples + delegate literals...
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example, template example
ReflectableObject - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example, template example
Labels: D Programming Language, example, template example
Labels: D Programming Language, example, template example
Bragging about Unix and D - table at runtime
lists.puremagic.com/pipermail/digitalmars-d/2006-A...
Labels: D Programming Language, example, template example
Policy-based Design in D » News and Opinions of...
dblog.aldacron.net/2006/06/16/policy-based-design-...
Labels: D Programming Language, example, template example
Quines: meta programming with const and pragma(...
www.digitalmars.com/drn-bin/wwwnews?digitalmars.D....
Labels: D Programming Language, template example, example
"Name inference" for function templates
www.digitalmars.com/drn-bin/wwwnews?digitalmars.D/...
Labels: D Programming Language, template example, example
Free tuples for anyone - using templates
www.digitalmars.com/drn-bin/wwwnews?digitalmars.D....
Labels: D Programming Language, template example
Questions about opAssign alternate and template...
lists.puremagic.com/pipermail/digitalmars-d-learn/...
Labels: D Programming Language, template example
Using IFTI to infer the number and type of a fu...
www.digitalmars.com/drn-bin/wwwnews?digitalmars.D/...
Labels: D Programming Language, example, template example
Labels: D Programming Language, example, template example
Labels: D Programming Language, template example, example
Function Template with IFTI (factorial)
www.digitalmars.com/drn-bin/wwwnews?digitalmars.D....
Labels: D Programming Language, template example, example
Wrapping Python - A function wrapping template
www.digitalmars.com/drn-bin/wwwnews?digitalmars.D/...
Labels: D Programming Language, Python, template example
Labels: D Programming Language, example, template example
Labels: D Programming Language, template example
Labels: D Programming Language, template example, example
FuncMeta/funcInfo using typeid and templates
www.digitalmars.com/drn-bin/wwwnews?digitalmars.D/...
Labels: D Programming Language, example, template example
Labels: D Programming Language, example, template example
More flexible Signals/Slots (digitalmars.D)
www.digitalmars.com/pnews/read.php?server=news.dig...
Labels: D Programming Language, example, template example
Labels: D Programming Language, example, template example
Labels: D Programming Language, example, template example
Re: Template design with required type paramete...
www.digitalmars.com/pnews/read.php?server=news.dig...
Labels: D Programming Language, template example, example
Re: Template design with required type paramete...
www.digitalmars.com/pnews/read.php?server=news.dig...
Labels: D Programming Language, example, template example
Re: Template design with required type paramete...
www.digitalmars.com/pnews/read.php?server=news.dig...
Labels: D Programming Language, example, template example
port of Python's range function - Re: Iterator...
www.digitalmars.com/pnews/read.php?server=news.dig...
Labels: D Programming Language, example, template example
Re: max() in phobos? (digitalmars.D.learn)
www.digitalmars.com/pnews/read.php?server=news.dig...
Labels: D Programming Language, template example
Re: Suggestion: common & polish constructors (+...
www.digitalmars.com/pnews/read.php?server=news.dig...
Labels: D Programming Language, template example
wrapper functions to get runtime variadic funct...
www.digitalmars.com/pnews/read.php?server=news.dig...
Labels: D Programming Language, example, template example
thunk delegate to function - Re: Before it's to...
www.digitalmars.com/pnews/read.php?server=news.dig...
Labels: D Programming Language, example, template example
Re: static assert (digitalmars.D.learn)
www.digitalmars.com/pnews/read.php?server=news.dig...
Labels: D Programming Language, template example
Re: DMD 0.170 release (digitalmars.D.announce)
www.digitalmars.com/pnews/read.php?server=news.dig...
Labels: D Programming Language, template example, example
Re: DMD 0.170 release (digitalmars.D.announce)
www.digitalmars.com/pnews/read.php?server=news.dig...
Labels: D Programming Language, template example, example
Re: DMD 0.170 release (digitalmars.D.announce)
www.digitalmars.com/pnews/read.php?server=news.dig...
Labels: D Programming Language, template example, example
Template docs (digitalmars.D.learn)
www.digitalmars.com/pnews/read.php?server=news.dig...
Labels: D Programming Language, template example, example
Re: compiler in infinite loop (digitalmars.D)
www.digitalmars.com/pnews/read.php?server=news.dig...
Labels: D Programming Language, example, template example
Re: Signals and Slots in D (digitalmars.D)
www.digitalmars.com/pnews/read.php?server=news.dig...
Labels: D Programming Language, example, template example
Reverse Iterator Template for foreach
www.digitalmars.com/drn-bin/wwwnews?digitalmars.D/...
Labels: D Programming Language, example, template example
generalized using IFTI: contains in a haystack
www.digitalmars.com/drn-bin/wwwnews?digitalmars.D....
Labels: D Programming Language, example, template example
Member function hides a template of the same na...
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example, template example
class instance size - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example, template example
Compile-time conversions from string to integer...
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example, template example
fill_data template - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example, template example
Labels: D Programming Language, grammar parser, example, template example
strings, tuples, ZeroOrMoreExpr - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, Enki, example, template example
BLADE - Vector operations with mixins, expressi...
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example, template example
Labels: D Programming Language, example, template example
D语言设计模式 Singleton-ideage -JavaEye技术社区
ideage.javaeye.com/blog/57951
Labels: D Programming Language, Japanese, example, template example
overloading map() template - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example, template example
Labels: D Programming Language, template example, example
"return"ing from a template - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example, template example
lazy list troubles - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example, template example
simple DLL wrapper - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example, template example
Simple DLL Wrapper - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example, template example
static assert / static if - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example, template example
Improvement on format strings, take two - Web-N...
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example, template example
runtime trimfirst - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example, template example
reflective enums for DMD 1.005 - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example, template example
tokenizeer to turn an input string into a tuple...
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example, template example
BigNum template by Benjamin Shropshire
www.webpages.uidaho.edu/~shro8822/bignum.d
Labels: D Programming Language, example, template example
Re: struct to byte[] - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example, template example
Re: struct to byte[] - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example, template example
Re: struct to byte[] - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example, template example
Labels: D Programming Language, example, template example
Template BigNum implemented without runtime loo...
www.digitalmars.com/pnews/read.php?server=news.dig...
Labels: D Programming Language, example, template example
Labels: D Programming Language, template example, example
Re: Compile-time perversions on WWWEP (digitalm...
www.digitalmars.com/pnews/read.php?server=news.dig...
Labels: D Programming Language, template example, example
Re: Compile-time perversions on WWWEP (digitalm...
www.digitalmars.com/pnews/read.php?server=news.dig...
Labels: D Programming Language, example, template example
Re: 'in' for arrays? (digitalmars.D)
www.digitalmars.com/pnews/read.php?server=news.dig...
Labels: D Programming Language, example, template example
Compile-Time Perversions in D
smjg.port5.com/wwwep/ctp/d.html
Labels: D Programming Language, template example, example
BigNum, use, build - Re: a case where static fo...
www.digitalmars.com/pnews/read.php?server=news.dig...
Labels: D Programming Language, template example, example
tuples and operator overload - Re: 'in' for arr...
www.digitalmars.com/pnews/read.php?server=news.dig...
Labels: D Programming Language, template example, example
template related to ... Re: 'in' for arrays? (d...
www.digitalmars.com/pnews/read.php?server=news.dig...
Labels: D Programming Language, template example, example
Re: DMD 0.174 release (digitalmars.D.announce)
www.digitalmars.com/pnews/read.php?server=news.dig...
Labels: D Programming Language, example, template example
Re: std.signals with multiple signals? (digital...
www.digitalmars.com/pnews/read.php?server=news.dig...
Labels: D Programming Language, example, template example
nested template to workarund chicken-and-egg pr...
www.digitalmars.com/pnews/read.php?server=news.dig...
Labels: D Programming Language, example, template example
nested template workaround - Re: Article on Tup...
www.digitalmars.com/pnews/read.php?server=news.dig...
Labels: D Programming Language, template example, example
mixed tuples - Re: Article on Tuples (digitalm...
www.digitalmars.com/pnews/read.php?server=news.dig...
Labels: D Programming Language, example, template example
cast-free "call" function - Re: DMD 0.174 relea...
www.digitalmars.com/pnews/read.php?server=news.dig...
Labels: D Programming Language, example, template example
Chain, delegate, etc - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
subject: Can't declare "template parameter which takes value of any type"
Labels: D Programming Language, example, template example
convert fn ptr to delegate - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example, template example
TInit - static if / typeof / init - Web-News v....
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example, template example
compile time class introspection - Web-News v.1...
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example, template example
while(nan): Wrapping functions for fun and profit
while-nan.blogspot.com/2007/06/wrapping-functions-...
Labels: D Programming Language, example, template example
Labels: D Programming Language, example, template example
PHP-style (embedded variables) print statements...
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example, template example
http://www.digitalmars.com/webnews/newsgroups.p...
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example, template example
http://www.digitalmars.com/webnews/newsgroups.p...
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example, template example
Labels: D Programming Language, example, template example
template / alias / tuple - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example, template example
list drives (template) - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example, template example
http://www.digitalmars.com/webnews/newsgroups.p...
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, template example, example
processor extensions - std.cpuid / LinkMultiTar...
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, template example, example
processor extensions - std.cpuid / static this ...
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example, template example
Labels: D Programming Language, example, template example
get (fetch) template - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example, template example
Set class - /trunk/arc/templates/redblacktree.d...
www.dsource.org/projects/arclib/browser/trunk/arc/...
Labels: D Programming Language, example, template example
Dll Module Import 一切皆有可能!-oldrev -JavaEye技术社区
dlang.javaeye.com/blog/55371
Labels: D Programming Language, template example, example
Digital Mars - digitalmars.D.learn - A Simple D...
www.digitalmars.com/d/archives/digitalmars/D/learn...
Labels: D Programming Language, example, template example
Labels: D Programming Language, example, template example
avoiding "shadowing declaration" + mixin - Web...
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
method generation by name - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example, template example
getting line number in templates - Web-News v.1...
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example, template example
Labels: D Programming Language, example, template example
plugging in functionality into a class using a ...
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example, template example
Programming in D - video tutorials
d.whosme.de/index.php?language=en&site=tutorials
Labels: D Programming Language, example
pass a delegate to an API as a context pointer ...
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
old vs. new .init behavior - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
inappropriate implicit conversion of signed val...
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
32 bits of the pointer can be used for anything...
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
red/black tree for Tango - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, template example, example
generic D templates - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example, template example
Erik’s Blog » Useful D Templates
www.erik-rasmussen.com/blog/2007/02/05/useful-d-te...
Labels: D Programming Language, example, template example
assertEqual - __FILE__ and __LINE__ - Web-News...
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example, template example
emulating inheritance for enums (improved) - We...
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example, template example
emulating inheritance for enums - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example, template example
Bill Baxter - Index of /projects/d
www.billbaxter.com/projects/d/
Labels: D Programming Language, template example, example
Stewart's Utility Library
pr.stewartsplace.org.uk/d/sutil/
Labels: D Programming Language, template example, example
re-definition of a class member - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
ValueType for std.traits - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example, template example
Labels: D Programming Language, example
putting the name of the DLL in the variable nam...
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
opApply - class Walk - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example, template example
Labels: D Programming Language, example
Is Phobos's Garbage Collector utterly broken (P...
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example, memory garbage collection
Loading HTML content from a Stream - dsource.or...
www.dsource.org/forums/viewtopic.php?t=2953
Labels: D Programming Language, Juno, example
overload by constness (D 2.0) - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
multiple module constructors - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
binary search routines - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
Cool Trick: Currying for stack-on-heap style de...
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
version(D_Version2) - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example, template example
version(D_Version2) - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example, template example
version(D_Version2) - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example, template example
Labels: D Programming Language, example
Labels: D Programming Language, example
additional value parameter to specialize agains...
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
matching a container with an iterator - Web-New...
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
better assertions and __FILE__ (compile-time fu...
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
q"EOF ... (excluding the last new line) - Web-N...
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
do-while loop with continue - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
Labels: D Programming Language, example
Compile time lex + parse + semantic = 300 lines...
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
Does D have real closures? - variadic templates...
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example, template example
multicast functions (with one parameter) - Web-...
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example, template example
compile-time formatter - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example, template example
compile-time formatter - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example, template example
template "full form" - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example, template example
templates combined with "static if" - Web-News ...
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example, template example
drawing graphic primitives on top of SDL - Web-...
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
sharing a collection of derived types in a temp...
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, template example, example
Usefulness of template namespace notation - Web...
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example, template example
Labels: D Programming Language, example
Is a function "pure"? - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
isArray / static if - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example, template example
handing over a function to a template - Web-Ne...
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, template example, example
dfilt (replacement for GDB D patch?) - uses std...
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
Using std.bind instead of real closures? - Web-...
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example, template example
isPOD, isAtomicType - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example, template example
Labels: D Programming Language, example, template example
Labels: D Programming Language, example, template example
unbounded buffer using std.thread - Web-News v....
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
bounded buffer in DCSP - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
does overloading work across C++/D? (Web-News v...
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
Multiple Inheritance: using mixins to provide a...
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example, template example
scope(exit) / file.close - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
scope / File / Stream / foreach - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
Labels: D Programming Language, example
template for simple constructor - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example, template example
factory method - classes are reference types - ...
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
expanding templates - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example, template example
MessageMap - OnClose - OnRange - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example, template example
unittest and import - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
can't use import in functions
Labels: D Programming Language, example
std.variant (D 2.0) - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example, Phobos
Labels: D Programming Language, example
startsWith and endsWith for std.string - Web-Ne...
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
I/O performance in Tango, Phobos, and Perl - We...
www.digitalmars.com/webnews/newsgroups.php?art_gro...
benchmark
Labels: D Programming Language, example
demangle and mangleof (meta functions)
www.digitalmars.com/drn-bin/wwwnews?digitalmars.D....
Labels: D Programming Language, template example, example
Inserting to associative array do not return a ...
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
Function pointer argument to function template
www.digitalmars.com/drn-bin/wwwnews?digitalmars.D/...
Labels: D Programming Language, example, template example
What is a NoScopeNonEmptyStatement ? - Web-News...
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
speed of execution - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
twisted code (division operator) - Web-News v.1...
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
twisted code - D Paste
paste.dprogramming.com/dpiialjm
Labels: D Programming Language, example, template example
twisted code from bignum.d - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
Labels: D Programming Language, example
ubyte[] vs. void[] - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
use ubyte[] to store binary data,
use void[] for typed stuff that the type doesn't matter for
Labels: D Programming Language, example
Labels: D Programming Language, example, template example
Labels: D Programming Language, example
isAssocArrayType - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example, template example, Tango
Re: Calling D libraries from C, _deh_beg madnes...
www.digitalmars.com/webnews/newsgroups.php?art_gro...
add empty main() function in D code
Labels: D Programming Language, example
What should opAssign return - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
purely functional D code - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example, template example
Variadic template bug? - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
forwarding function - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Re: Inner classes - More expressiveness needed
Labels: D Programming Language, example
Developing for both D 2.x and D 1.x
d.puremagic.com/issues/show_bug.cgi?id=1594
The D Programming Language - Bugzilla Issue 1594 - version not honored for invarient declaration
Labels: D Programming Language, example, template example
std.cstream.CFile cannot be detached from FILE*
d.puremagic.com/issues/show_bug.cgi?id=1583
The D Programming Language - Bugzilla Issue 1583
Labels: D Programming Language, example, Phobos
null array vs. empty array - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
Labels: D Programming Language, example
Don't use printf - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
tupleof on arrays? - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example, template example
tupleof on arrays? - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example, template example
tupleof on arrays? - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example, template example
clear an Associative Array (implementation inde...
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
version, mixin, template - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
compatibility with D1 and D2
Labels: D Programming Language, example, template example
porting D2 to D1 - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
module tests instead of unittests - Web-News v....
www.digitalmars.com/webnews/newsgroups.php?art_gro...
can't use import in a function and must have main
Labels: D Programming Language, example
unittest and import (verbose) - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
template in a class (DMD 1.023) - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example, template example
Implicit Function Template Instantiation (It's D jargon because D's template instantiation used to always be explicit)
Labels: D Programming Language, example, template example
dmocks version 0.1 - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
template problem - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
compiles in DMD 2.007
Labels: D Programming Language, example
On Linux string literals are read-only - Web-Ne...
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
Expected performance - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
benchmark
Labels: D Programming Language, example
Re: Full closures for D - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
with "Proof of Concept"
Labels: D Programming Language, example, template example
Index - D programming language documentation
www.quit-clan.de/docwiki/view.php?pageid=1
Labels: D Programming Language, example
D Programming - Wikibooks, collection of open-c...
en.wikibooks.org/wiki/Programming:D
Labels: D Programming Language, example
A Beginner's Guide to D - Wikibooks, collection...
en.wikibooks.org/wiki/A_Beginner's_Guide_to_D
Labels: D Programming Language, example
string mixins are fun - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
Kevin Bealer's futurism library - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Re: Full closures for D
Labels: D Programming Language, example
futures in 7 lines of code - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Re: Full closures for D
Labels: D Programming Language, example, template example
Re: Full closures for D - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
Full closures for D - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Walter: 'D 2.007 brings full closures to D. I was tired of D being denigrated for not having "real" closures.'
Labels: D Programming Language, example
box, array, and a class - dsource.org - forums
www.dsource.org/forums/viewtopic.php?p=17281#17281
Labels: D Programming Language, example
linked list - dsource.org - forums
www.dsource.org/forums/viewtopic.php?t=3221
Labels: D Programming Language, example, template example
class with struct and union - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
SourceForge.net Repository - [housebot] Index o...
housebot.svn.sourceforge.net/viewvc/housebot/trunk...
Labels: D Programming Language, example
Mersenne Twister (MT19937) - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
Mersenne Twister (SFMT) - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
copy from/to a struct - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
byte[] bytesof = tobytes((&structvar)[0..1]);
Labels: D Programming Language, example
initializing static rectangular arrays - Web-Ne...
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
case-insensitivity for modules on Windows - Web...
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
O(1) dictionaries template? - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, template example, example
templates aren't checked unless instantiated - ...
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, template example, example
Labels: D Programming Language, example
math with complex numbers (* 1i) - Web-News v....
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: example, D Programming Language
allocated size of a class - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
how to call c functions with char** parameters ...
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
foreach an array at compile time - Web-News v.1...
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
rebindable const in DMD 2.008 - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
new const in DMD 2.008 - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
template isConst - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example, template example
is an identifier a template? - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example, template example
Bitfield accessors - template Bitfield - Web-Ne...
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example, template example
How to delegate varargs - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
Bitfield accessors - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Bitfield, _SumLens, Getter, Setter
Labels: D Programming Language, example, template example
Bitfield accessors - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Bitfield, BitfieldImpl, etc.
Labels: D Programming Language, example, template example
Re: Logitech G15 Display SDK in D - Web-News v....
www.digitalmars.com/webnews/newsgroups.php?art_gro...
compiles and works with dmd 1.022
Labels: D Programming Language, example
Factoring out common ctor code with const membe...
www.digitalmars.com/webnews/newsgroups.php?art_gro...
for DMD 2.012
Labels: D Programming Language, example
Re: Sorting routines - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
D2 std.contracts - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
for std2?
Labels: D Programming Language, example, template example, Phobos
Re: oop tutorials (Bike for Tango) - Web-News v...
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, Tango, example
Re: What's this? (Was: DMD 1.028 and 2.012 rele...
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
dsource - Win32 headers - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Either you use a Subversion client (like tortoisesvn.tigris.org) to download the trunk or you use the following URL to download a Zip file with the latest revision:

http://www.dsource.org/projects/bindings/changeset/251/trunk/win32?old_path=%2F&format=zip

"251" in this URL is the revision and should be changed to the latest version.

(or instead of a number, just use "head" for the latest version)
Labels: D Programming Language, example
a !is null, "foo can't accept null for 1st para...
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
inverter (port from Python) - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, Python, example, template example
SIMD operations with asm() - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
Re: Mixin Problems with D2.0 - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example, template example
allocate template - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example, template example
scope guard statements - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
Labels: D Programming Language, example
array literal autotype - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
const strings (D 1.0) - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
Documentation: example no longer compiles - Web...
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example, template example
factorial - Re: template bug? - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example, template example
Are assert()s catchable? - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
__FILE__ and __LINE__ for debugging - Web-News ...
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
returning an array from a function - The D Prog...
d.puremagic.com/issues/show_bug.cgi?id=1869
Labels: D Programming Language, example
string representation of the type - Web-News v....
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
Labels: D Programming Language, example
Const transitivity - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
const(char[]) = enum? - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
const in dmd v2.011 - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
Recursive Directory Listing - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
function-style wrapper for Tango.io.Stdout - We...
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example, Tango
avoiding template conflict with a function - We...
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example, template example
initialize constant GUID structure instanzes in...
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example, template example
initialize constant GUID structure instanzes in...
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example, template example
Re: Asking types about their traits (D 1.0) - W...
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example, template example
Re: Asking types about their traits (D 1.0) - w...
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example, template example
instantiate a namespace template - Web-News v.1...
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example, template example
templates that contain exactly one declaration ...
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example, template example
Re: Question about explicit template instantiat...
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example, template example
scrapple.tools' ThreadPool class has a futures ...
www.digitalmars.com/webnews/newsgroups.php?art_gro...
"scrapple.tools' ThreadPool class has a futures implementation"
Labels: D Programming Language, example
Re: Using delegates for C callbacks. - Web-News...
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
Re: Help needed on inline assembly - Web-News v...
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
Codepage-enabled console output functions for D...
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
Re: Windows console is broken - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
response to "If a command-line argument to a D program contains a non-ascii character, that argument doesn't get into main(). This happens even if console code page is 65001. This is most annoying because it cannot be worked around."
Labels: D Programming Language, example
sending a file to the Recycle Bin or Trashcan -...
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
shuffle for Tango - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, Tango, example
shuffle (revised) - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
Labels: D Programming Language, example
Re: A renewed call for interface methods with b...
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example, template example
Re: A renewed call for interface methods with b...
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
Work done so far - bearophile - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
Labels: D Programming Language, blog, example, template example
Why can't an interface be deleted? - Web-News v...
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example, Tango
fastSort benchmarking (was Re: Work done so far...
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
uses Windows debug info - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
templated function parameters for stuff like re...
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example, template example
Chained method argument evaluation order - Web-...
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
New enum features - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
Labels: D Programming Language, example
const (D 1.x) = enum (D 2.009) - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
const (D 1.x) = enum (D 2.009)
Labels: D Programming Language, example
const initialization with delegate - Web-News v...
www.digitalmars.com/webnews/newsgroups.php?art_gro...
DMD 2.009
Labels: D Programming Language, example
new const assignments - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
DMD 2.009
Labels: D Programming Language, example
switch on named enums - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
switch on an anonymous enum - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
99 bottles D/Tango - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example, Tango
find, IsEqual, Encode (CTFE) - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example, template example
simulating custom lower bounds for an array - W...
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
token strings and heredoc string literals - Web...
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
isRef (metaprogramming) - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example, template example
using a union for data mapping - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
placement using __traits - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example, template example
Suicidal objects (delete this) - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
template for enum-like unstored constants - Web...
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, template example, example
Why is array truth tied to .ptr? - Web-News v.1...
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
using a template to return a const? - Web-News ...
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, template example, example
opApply and const (enumerate) - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example, template example
enumerate (opApply and const) - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, template example, example
smaller GC benchmark - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
"with" for GUI code - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
using "with" (tips) - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
Labels: D Programming Language, example
Invariants broken with out cast!!! (DMD 2.007) ...
www.digitalmars.com/webnews/newsgroups.php?art_gro...
invariant(int) can be assigned to an invariant(int)*
Labels: D Programming Language, example
Behavior of "auto" - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
Function name as text - GetName - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example, template example
Resolving conflicting functions - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
Function name as text - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example, template example
extern(System) instead of version extern: - Web...
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
return an expression that evaluates to void* - ...
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
How to assert a function signature in D2.008? -...
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
implicit template arguments - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, template example, example
How to assert a function signature in D2.007 - ...
www.digitalmars.com/webnews/newsgroups.php?art_gro...
DMD 2.007, but not DMD 2.008
Labels: D Programming Language, example
How to assert a function signature in D2.008? -...
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
static class Foo {} - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
Faking constructors! - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
Inline assembler for Dummies (novice2) - Web-Ne...
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
Inline assembler for Dummies (Jarrett) - Web-Ne...
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
Const (DMD 2.008) - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
Regex DNA benchmark - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
rebind/non-rebind const - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
DMD 2.008
Labels: D Programming Language, example
Const and Invariant - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
interface IFinalizable - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
Labels: D Programming Language, example
Re: Base interfaces tuple - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example, template example, Tango
Labels: D Programming Language, example
EndRelativeIndex - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example, template example
Bunch/opIn_r/StaticEval - Re: Comparing Multipl...
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example, template example
The D Programming Language - Bugzilla Issue 132...
d.puremagic.com/issues/show_bug.cgi?id=1323
"contains" and "find" templates
Labels: D Programming Language, example, template example
"Set" struct - Re: Comparing Multiple Values - ...
www.digitalmars.com/webnews/newsgroups.php?art_gro...
by BCS
Labels: D Programming Language, example, template example
"Set" struct - Re: Comparing Multiple Values - ...
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example, template example
Range struct - Re: Comparing Multiple Values - ...
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example, template example
union with template - Re: Unrolling loops - Web...
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example, template example
version(D_Version2) mixin - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
alias type specialization - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example, template example
Labels: D Programming Language, example
Re: Lazy nonzero - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
Labels: D Programming Language, example
Re: Comparing Multiple Values - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: example, D Programming Language
mixins - Re: Struct Inheritance (oopsy alias th...
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example, template example
Labels: D Programming Language, example
Re: XML Benchmarks in D - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, Tango, example
property struct with overloaded operators - Web...
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example, template example
Structize - Re: function returning a tuple - We...
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example, template example
ParameterTypeTuple - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Subject: Re: function returning a tuple
Labels: D Programming Language, example, template example
template_foreach - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
subject: Can't declare a "template parameter which takes anything"
Labels: D Programming Language, example, template example
A small template to simplify COM-interface impl...
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example, COM
Re: Alternative solutions to returning ref type...
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example, template example
Re: D speed compared to C++ - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
Labels: D Programming Language, example
array concatenation issue? or me being stupid -...
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
Multilevel language - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
Re: array concatenation issue, more details - W...
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
>1 tuple idea (round about way)- Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example, template example
dparser - Re: Overlapping functionality: IFTI, ...
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example, template example
Labels: D Programming Language, example, template example
only prints when DEBUGG version is set - Web-Ne...
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
Re: const debacle - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example, template example
Labels: D Programming Language, example, template example
Labels: D Programming Language, example, template example
Labels: D Programming Language, example, template example
Re: letting D generate functions that look alik...
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example, template example
template DoMyFunction - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example, template example
Re: "SFINAE is Evil" - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example, template example
Re: Logging function name, line, file... - Web-...
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example, template example
Re: const debacle (D 2.x) - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
std.Variant issues - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
template ThisConst - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example, template example
Labels: D Programming Language, example, Tango
char[][] words = [ "hello", "world" ]; - Web-Ne...
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
Labels: D Programming Language, example
htod vs. bcd.gen - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
Micro-benchmarks - Re: WordCount performance - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
Re: static array casting - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
The D Programming Language - Bugzilla Issue 1956 - Struct in 'for' statement breaks CTFE
d.puremagic.com/issues/show_bug.cgi?id=1956
error without line number
Labels: D Programming Language, example, to do
need help replacng c macros with D templates ? - dsource.org - forums
www.dsource.org/forums/viewtopic.php?t=3762
Labels: D Programming Language, example, template example
Using D 1.x and D 2.x - Re: version'ing issue - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example, template example
checked / Integral / lazy - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
Re: enum and foreach - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
Re: Linux(kubuntu) Problem - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example, Tango
invariant(int) reserves 4 bytes for an int - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
degToRad / radToDeg - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example, template example
Knight's Challenge in D - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
/Knights_Challenge/tools/SVGMaker.d – FSDEV – Trac
www.fsdev.net/browser/Knights_Challenge/tools/SVGM...
Labels: D Programming Language, example, Tango
Re: Feature request: add degToRad and radToDeg to phobos / tango - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example, template example, math
Deadlock developer blog: GC Benchmark
petermodzelewski.blogspot.com/2008/04/gc-benchmark...
Labels: D Programming Language, example
leonardo_m: Euler problem 14
leonardo-m.livejournal.com/60714.html
Labels: D Programming Language, example, blog
de facto keywords - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
Labels: D Programming Language, example
pow that accepts both positive and negative - The D Programming Language - Bugzilla Issue 1976 -
d.puremagic.com/issues/show_bug.cgi?id=1976
Labels: D Programming Language, example
boxer.d does not work - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
Coolbar snippet150 (DWT) - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
CoolBar Snippet140 (DWT) - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
Re: Array of class intances - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
Storage class consistency - enum for D 2.0 - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
FileScan findAnsiWinAPI - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example, Tango
clean the trace.log produced by DMD - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, Tango, example
Labels: D Programming Language, example
leonardo_m: Self-recursive generators in D
leonardo-m.livejournal.com/61053.html
Labels: D Programming Language, example
The D Programming Language - Bugzilla Issue 1986 - Mixin code from website doesn't compiler
d.puremagic.com/issues/show_bug.cgi?id=1986
Labels: D Programming Language, example, template example
"pseudo-member" syntax (struct / "BuildSettor" ...
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
"premature conversion" - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
"real a = 5/2;" set a to 2.
Labels: D Programming Language, example
"my" prefix for private member variables in cla...
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language
"mixin(import(FILENAME));" - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
you can't put import in a function
Labels: D Programming Language, example, template example
"mixin(import(FILENAME));" - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
can't use "import" in a function
Labels: D Programming Language
"get" template - Re: Port of Python's difflib.S...
www.digitalmars.com/pnews/read.php?server=news.dig...
Labels: D Programming Language, template example, example
Labels: D Programming Language, example
"C++ constructor/destructor" template for g++ (...
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example, template example
"D Programming Language" at code.google.com - G...
www.google.com/search?hl=en&safe=active&domains=co...
Labels: D Programming Language
"c != null" makes no sense - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
leonardo_m: Returning '(()) isn't difficult
leonardo-m.livejournal.com/61244.html
Labels: D Programming Language, example, template example
leonardo_m: Convex Hull in D
leonardo-m.livejournal.com/59906.html
Labels: D Programming Language, example
class _DgListenerT - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example, template example
/trunk/meta/demangle.d - ddl - dsource.org
www.dsource.org/projects/ddl/browser/trunk/meta/de...
demangle to get fully qualified name (FQN)
Labels: D Programming Language, example, template example
Re: What is the correct use of auto? - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
Labels: D Programming Language, example
Re: Demangle for Tango - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, Tango, example
Skinned windows example - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
how to create non-rectangular, non-uniform, non-whatever windows with HTMLayout (flowerd)
Labels: D Programming Language, example
AA of simple structs - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
compile a shared library (Linux using gdc) - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, Linux, example
More on std.boxer - Web-News v.1.6.3
www.digitalmars.com/webnews/newsgroups.php?art_gro...
Labels: D Programming Language, example
Labels: D Programming Language, example, template example
import std.algorithm;

struct A
{
    int Merge(int) { return 0; }
}

void main(string[] args)
{
    A a;
    map!((int x) { return a.Merge(x); })([1, 2, 3]);
}
Labels: D Programming Language, example
This is because the enum declaration creates its own namespace.
Labels: D Programming Language, example
Use anymous enumerate, aliases, or namespace.
Labels: D Programming Language, example
used 'sleep' from the Linux shell
Labels: D Programming Language, example
template Const(T)
Labels: D Programming Language, example
Re: Overloading templates
Labels: D Programming Language, example, template example
random k-sample of a file
Labels: D Programming Language, example
Appender
Labels: D Programming Language, example
use temporary because of a bug
Labels: D Programming Language, template example, example
You can use this query to get a sorted list of bugs on which there are at
least one vote:

  http://d.puremagic.com/issues/buglist.cgi?query_format=advanced&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&votes=1&order=bugs.votes,bugs.bug_id

To construct the query yourself: on the advanced search page, put a 1 in
the "Only issues with at least ___ votes" box.
Labels: D Programming Language, example, bugzilla
uint len
Labels: D Programming Language, example, template example
small function template
Labels: D Programming Language, example, template example
assert (!__traits (compiles ...
Labels: D Programming Language, example, template example
Unification and extension of compile-time reflection
Labels: D Programming Language, example, template example
Scope storage class
 "Man or boy" test
Labels: D Programming Language, examples
Re: sscanf() equivalent for D using Phobos library?
Labels: D Programming Language, example
"nbody" benchmarks of the Shootout
Labels: D Programming Language, example
OdeFu: Composite Oriented Programming Part 2
odefu.blogspot.com/2008/12/composite-oriented-prog...
complex objects using mixins
Labels: D Programming Language, example
Himeno test
Labels: D Programming Language, example
You may also want to take a look at xchan() and the template mixin Chainable:

http://www.fantascienza.net/leonardo/so/dlibs/func.html

(And there's lot of other lazy stuff there that you may appreciate.)
Labels: D Programming Language, example, template example
Foreach Range Properties (D 2.x)
Labels: D Programming Language, example
D_Version2
Labels: D Programming Language, example
Guideline for D1/2 compatible code
Labels: D Programming Language, example
D_Version2
Labels: D Programming Language, example
leonardo_m: Multiprecision integers
leonardo-m.livejournal.com/75825.html
multiprecision integers (long)
Labels: D Programming Language, example
Immutable Things, where do they all come from? «   Bartosz Milewski’s Programming Cafe
bartoszmilewski.wordpress.com/2009/02/05/immutable...
Immutable Things, where do they all come from?
Labels: D Programming Language, example
The content on this page is provided by a Google Notebook user, and Google assumes no responsibility for this content.