Search

May 12
DIP Ideas »
...both worlds; bad defaults and verbose handling

size_t(-1) >0 is a problem with...
May 12
Genel »
...ikiz asal sayıları ekrana listeler
}

void printTwinPrimeList(size_t limit)()
{
  auto primes = [3];

  bool test...
May 12
Learn »
...alternative would be to use `alias` on `size_t` to make up a new pseudo...
May 11
Learn »
...size indexing.
 */
struct FIFO(T) {
    T[] items;
    ulong hd, tl, length;

    void
    add(T t...
May 11
General »
...doAThing(T)() {
	iCanKillYourDatabase(false, T.sizeof);
}


/*private:*/
export:

void iCanKillYourDatabase(bool doWrongThing = true, size_t...
May 10
Learn »
...compiler doesn't have to know, nor can know, when a `size_t` is a...
May 09
Learn »
...size_t _handle; // same size as a pointer

    this(T* ptr) {
        _handle = cast(size_t...
May 06
DIP Development »
...Yes, as I didn't know about the...make it mean the size of the memory...
May 06
Issues »
...Next is 1
  ...
}

auto checkingMember = Foo.two;
size_t index;
foreach (e; EnumMembers!Foo)
{
    if...
May 06
DIP Development »
...cases, is giving the size in bytes of...example.

BTW, I didn't implement packed bitfields...
10 11 12 13 14 15 16 17 18 19 20 21
Next ›   Last »