Proposal of a general do-while loop

Gregor Richards Richards at codu.org
Tue Jul 17 00:26:43 PDT 2007


while ((pos = text.find(pattern, pos)) != string::npos) {
     ...
}


Yeesh.

  - Gregor Richards



More information about the Digitalmars-d mailing list