May 12 DIP Ideas » Re: Deprecate implicit conversion between signed and unsigned integers | |||
|---|---|---|---|
| |||
...both worlds; bad defaults and verbose handling size_t(-1) >0 is a problem with... | |||
May 12 Genel » Re: Asal Sayı Bulan Algoritmalar | |||
|---|---|---|---|
| |||
...ikiz asal sayıları ekrana listeler
}
void printTwinPrimeList(size_t limit)()
{
auto primes = [3];
bool test... | |||
May 12 Learn » Re: Deprecation: foreach: loop index implicitly converted from size_t to int | |||
|---|---|---|---|
| |||
...alternative would be to use `alias` on `size_t` to make up a new pseudo... | |||
May 11 Learn » FIFO | |||
|---|---|---|---|
| |||
...size indexing.
*/
struct FIFO(T) {
T[] items;
ulong hd, tl, length;
void
add(T t... | |||
May 11 General » Re: Big picture on shared libraries when they go wrong, how? | |||
|---|---|---|---|
| |||
...doAThing(T)() {
iCanKillYourDatabase(false, T.sizeof);
}
/*private:*/
export:
void iCanKillYourDatabase(bool doWrongThing = true, size_t... | |||
May 10 Learn » Re: D doesn't have weak references. So how can I make a associative array of objects without preventing their destruction? | |||
|---|---|---|---|
| |||
...compiler doesn't have to know, nor can know, when a `size_t` is a... | |||
May 09 Learn » Re: D doesn't have weak references. So how can I make a associative array of objects without preventing their destruction? | |||
|---|---|---|---|
| |||
...size_t _handle; // same size as a pointer
this(T* ptr) {
_handle = cast(size_t... | |||
May 06 DIP Development » Re: second draft: add Bitfields to D | |||
|---|---|---|---|
| |||
...Yes, as I didn't know about the...make it mean the size of the memory... | |||
May 06 Issues » [Issue 24540] New: Add order/index to enum member to return its position | |||
|---|---|---|---|
| |||
...Next is 1
...
}
auto checkingMember = Foo.two;
size_t index;
foreach (e; EnumMembers!Foo)
{
if... | |||
May 06 DIP Development » Re: second draft: add Bitfields to D | |||
|---|---|---|---|
| |||
...cases, is giving the size in bytes of...example. BTW, I didn't implement packed bitfields... | |||
Copyright © 1999-2021 by the D Language Foundation