August 29, 2009 General » Re: Reference value of structs not optimized or inlined? | |||
|---|---|---|---|
| |||
...a very low level in Phobos (think swap() ), and it's easy for someone with... | |||
August 19, 2009 General » Re: OT - Which Linux? | |||
|---|---|---|---|
| |||
...Main partition, /, will not likely exceed 10GiB Swap can be 1GiB /home depends on if... | |||
August 17, 2009 Issues » [Issue 3254] New: Module member visibility depends on declaration order | |||
|---|---|---|---|
| |||
...x) {}
private void foo(float x) {}
--------------
But swap function declarations in b.d, and it... | |||
August 11, 2009 General » Re: Explicitly saying ref or out when invoking a function | |||
|---|---|---|---|
| |||
...looks so bad. It's not like swap is used in even 1 out of... | |||
August 11, 2009 General » Re: Explicitly saying ref or out when invoking a function | |||
|---|---|---|---|
| |||
...wrote: I see what you mean, however: ----- swap(ref a, ref b); I think that... | |||
August 10, 2009 General » Re: Properties and Copy Constructors | |||
|---|---|---|---|
| |||
...you can avoid aliasing problems, and use reference properties for doing swap-like operations. -Steve | |||
August 06, 2009 General » Properties and Copy Constructors | |||
|---|---|---|---|
| |||
...struct BigInt
{
void swap( ref BigInt other )
{
// BigInt defines it's own swap internally.
}
// etc... | |||
August 04, 2009 c++.stlsoft » Re: example of <list> with auto_buffer ? | |||
|---|---|---|---|
| |||
...you a performance advantage. Thankfully, you can swap it in/out with std::vector via... | |||
July 27, 2009 General » Re: Developing a plan for D2.0: Getting everything on the table | |||
|---|---|---|---|
| |||
Benji, I did a little JSON parser too. Should we swap ideas? Steve | |||
July 27, 2009 D » Re: BinaryHeap for A* | |||
|---|---|---|---|
| |||
...return ((i + 1) << 1) - 1;
}
private void swap(size_t a, size_t b) {
auto... | |||
Copyright © 1999-2021 by the D Language Foundation