November 24, 2010 General » Re: when is a GDC/D2/Phobos bug a GDC bug? | |||
|---|---|---|---|
| |||
...spacesToPrint =
+ sizediff_t spacesToPrint =
f.width // start with the minimum width
- digits.length // take away... | |||
November 22, 2010 Learn » Re: Append wchar enumeration to string | |||
|---|---|---|---|
| |||
...is D1. D2 does support appending different width characters to dchar[], I'm not sure... | |||
November 18, 2010 General » Re: Invariants for methods | |||
|---|---|---|---|
| |||
...release {
const currentWidth = width;
const currentHeight = height;
scope (exit) {
assert(currentWidth == width);
assert(currentHeight == height... | |||
November 18, 2010 General » Re: Invariants for methods | |||
|---|---|---|---|
| |||
...possible):
void move(...)
in {
// ...
} out {
assert(width == old.width);
assert(height == old.height);
} body {
// moving... | |||
November 18, 2010 General » Re: Invariants for methods | |||
|---|---|---|---|
| |||
...debug {
const currentWidth = width;
const currentHeight = height;
scope (exit) {
assert(currentWidth == width);
assert(currentHeight == height... | |||
November 18, 2010 General » Re: Invariants for methods | |||
|---|---|---|---|
| |||
...allowed to change in a certain way // width and height of this Rectangle need to... | |||
November 18, 2010 General » Invariants for methods | |||
|---|---|---|---|
| |||
...int currentWidth = width;
int currentHeight = height;
// moving the rectangle here
assert(currentWidth == width);
assert(currentHeight... | |||
November 17, 2010 Learn » Re: why no implicit convertion? | |||
|---|---|---|---|
| |||
...I solved it with: void bar(char* buf, int width, int height) Good old C :) | |||
November 16, 2010 General » Re: std.regexp vs std.regex [Re: RegExp.find() now crippled] | |||
|---|---|---|---|
| |||
...struct not class), generalize within reason (character width). Would have been great to have a... | |||
November 12, 2010 General » Re: why a part of D community do not want go to D2 ? | |||
|---|---|---|---|
| |||
...may be useful, e.g. for fixed width printing stuff: size_t getPhysPos(char[] str... | |||
Copyright © 1999-2021 by the D Language Foundation