On 15/01/2017 4:43 PM, Nestor wrote:
Hi,
I would simply like to get someone's age, but I am a little lost with
time and date functions. I can already get the duration, but after
reading the documentation it's unclear to me how to convert that into
years. See following code:
import std.stdio;
On 1/7/2017 6:44 AM, biozic wrote:
Are phobos unittests not passing when compiling with -dip1000 considered bugs or
is it this experimental?
druntime is now being compiled with -dip1000.
https://github.com/dlang/druntime/pull/1733
Phobos is next!
On Sunday, 15 January 2017 at 01:36:44 UTC, Ali Çehreli wrote:
It looks like ListStore is a collection of 'Value's. Does the
following work?
setValue(iterator, 1, new Value(price));
Yes it works.
Ali bey teşekkürler! :)
On Saturday, 14 January 2017 at 15:19:23 UTC, Craig Dillabaugh
wrote:
So the ideas page is up for the 2017 GSoC. Its a bit light on
content. Please feel free to use this forum thread to discuss
any ideas you might have for appropriate projects.
https://wiki.dlang.org/GSOC_2017_Ideas
Cheers
On Sunday, 15 January 2017 at 04:11:06 UTC, Craig Dillabaugh
wrote:
I've been trying to find something on this, but haven't yet,
but I am not sure if website work would be considered
appropriate.
The website is still a program, and the ranking algorithm is,
well, an algorithm, so it is code;
On Sunday, 15 January 2017 at 01:03:26 UTC, Martin Nowak wrote:
Second beta for the 2.073.0 release.
This adds a few more dmd bugfixes over the first beta.
https://github.com/dlang/dmd/compare/v2.073.0-b1...v2.073.0-b2
http://dlang.org/download.html#dmd_beta
On 15/01/2017 4:54 AM, Craig Dillabaugh wrote:
On Saturday, 14 January 2017 at 15:23:19 UTC, rikki cattermole wrote:
On 15/01/2017 4:19 AM, Craig Dillabaugh wrote:
So the ideas page is up for the 2017 GSoC. Its a bit light on content.
Please feel free to use this forum thread to discuss any
On Saturday, 14 January 2017 at 16:20:06 UTC, Adam D. Ruppe wrote:
On Saturday, 14 January 2017 at 16:12:43 UTC, Adam D. Ruppe
wrote:
but sorting by rating in search
I'm sorry, that was a run on sentence.
The big picture goal I'd like to see is that the package
manager, or even a tutorial
On Thursday, 12 January 2017 at 16:55:10 UTC, Nordlöw wrote:
On Thursday, 12 January 2017 at 09:19:26 UTC, Russel Winder
wrote:
Is the intention for this to stand with or replace std.bigint ?
I have no plan yet. I'm just gonna work on it for fun until it
covers most of GNU MP. Pull requests
https://issues.dlang.org/show_bug.cgi?id=16691
--- Comment #4 from Manu ---
Nice.
--
https://issues.dlang.org/show_bug.cgi?id=17090
Timothee Cour changed:
What|Removed |Added
CC|
https://issues.dlang.org/show_bug.cgi?id=16974
--- Comment #7 from github-bugzi...@puremagic.com ---
Commits pushed to master at https://github.com/dlang/druntime
https://github.com/dlang/druntime/commit/5cc28431b92d6849ef7758d200f714f5aee996f3
Fix Issue 16974 - Equal associative arrays with
On Saturday, 14 January 2017 at 23:31:53 UTC, Adam D. Ruppe wrote:
On Saturday, 14 January 2017 at 21:55:27 UTC, David Zhang
wrote:
I seem to remember something about using aliases to fix this,
but I can't find anything about it either way.
So you can alias the names together to merge the
Thanks for letting us know! Very nice to hear.
Github: https://github.com/dhasenan/silvermirror
Silvermirror is a tool to mirror websites -- download them locally and
serve copies of them.
Compared to wget, which is the standard tool, its advantages are:
* Resumability
* Reduced memory usage (at least 20x in my tests)
* Consistent URL
https://issues.dlang.org/show_bug.cgi?id=9378
--- Comment #5 from github-bugzi...@puremagic.com ---
Commits pushed to master at https://github.com/dlang/phobos
https://github.com/dlang/phobos/commit/12c56c935c6bd0130fcb545264293cc0e500799f
partly fix Issue 9378 - SHA1 asm not PIC compatible
On 01/14/2017 11:47 AM, Erdem wrote:
> void addGoods(string name, double price)
> {
> TreeIter iterator = createIter();
> setValue(iterator, 0, name);
> setValue(iterator, 1, price);
> }
> }
> Error: none of the overloads of 'setValue' are callable using
Pry is a new pragmatic parser combinators library.
https://github.com/DmitryOlshansky/pry
(also available on Dub)
It's still in the early stages but I think it might be a good time to
gauge some interest.
Two key areas of focus are (compared to say Pegged):
- performance, on par with
https://issues.dlang.org/show_bug.cgi?id=17073
--- Comment #5 from github-bugzi...@puremagic.com ---
Commits pushed to master at https://github.com/dlang/dmd
https://github.com/dlang/dmd/commit/5f490432785a36efea2cb4dcda0d3ebb036d6c21
Fix issue 17073 - Do not ignore the explicit initializers
https://issues.dlang.org/show_bug.cgi?id=17059
--- Comment #4 from github-bugzi...@puremagic.com ---
Commits pushed to master at https://github.com/dlang/dmd
https://github.com/dlang/dmd/commit/c4ac1abed6e6aa95b1312d777f77fb634e2dac07
fix Issue 17059 - incorrect circular reference with `is(Klass
https://issues.dlang.org/show_bug.cgi?id=17074
--- Comment #3 from github-bugzi...@puremagic.com ---
Commits pushed to master at https://github.com/dlang/dmd
https://github.com/dlang/dmd/commit/e4516073a3e0d5d92499fc6e1a5b184eb4e87f31
Fix Issue 17074: extern(C++, keyword) crashes compiler
https://issues.dlang.org/show_bug.cgi?id=16598
--- Comment #3 from github-bugzi...@puremagic.com ---
Commits pushed to master at https://github.com/dlang/dmd
https://github.com/dlang/dmd/commit/b6ac3bae6fe21fd5c060e9f8bad99e2d28e882a6
Fix issue 16598 - Explicitly discard the exp. value in void
Second beta for the 2.073.0 release.
This adds a few more dmd bugfixes over the first beta.
https://github.com/dlang/dmd/compare/v2.073.0-b1...v2.073.0-b2
http://dlang.org/download.html#dmd_beta
http://dlang.org/changelog/2.073.0.html
Please report any bugs at https://issues.dlang.org
-Martin
On 01/14/2017 04:41 PM, Dmitry Olshansky wrote:
> Not quite true, there is at least one huge advantage - thread-locality.
> That is C++ smart_ptr has to be atomic, while its D counter part may
> safely be non-atomic because everything is TLS be default.
And you can add a shared postblit overload
On 01/14/2017 03:14 AM, bitwise wrote:
> Is it possible to get an ETA on protection work on __traits?
As any responsible programmer, I won't give out dates ;).
But as was mentioned this is mostly just removing existing access
checks, the visibility checks already treat __traits specially.
This
https://issues.dlang.org/show_bug.cgi?id=17090
Martin Nowak changed:
What|Removed |Added
CC||c...@dawg.eu
--- Comment #1
On Saturday, 14 January 2017 at 23:24:18 UTC, Jack Applegame
wrote:
On Saturday, 14 January 2017 at 18:41:21 UTC, Russel Winder
wrote:
On Sat, 2017-01-14 at 17:28 +, Elronnd via Digitalmars-d
wrote:
On Friday, 13 January 2017 at 11:50:25 UTC, Russel Winder
wrote:
> LDC which is packaged
Templates are not virtual. Depending the interface, a different function
is called:
import std.stdio;
class ClassA {
void fun(T)(T a) { writeln("ClassA"); }
}
class ClassB: ClassA {
void fun(uint a) { writeln("ClassB"); }
}
void main() {
auto cb = new ClassB();
ClassA ca =
On Saturday, 14 January 2017 at 18:41:21 UTC, Russel Winder wrote:
On Sat, 2017-01-14 at 17:28 +, Elronnd via Digitalmars-d
wrote:
On Friday, 13 January 2017 at 11:50:25 UTC, Russel Winder
wrote:
> LDC which is packaged by both Debian and Fedora is the
> only practically usable D compiler
On 14 January 2017 at 19:44, Jack Stouffer via Digitalmars-d
wrote:
> On Saturday, 14 January 2017 at 15:19:23 UTC, Craig Dillabaugh wrote:
>>
>> So the ideas page is up for the 2017 GSoC. Its a bit light on content.
>> Please feel free to use this forum thread to
On Saturday, 14 January 2017 at 22:38:15 UTC, David Zhang wrote:
On Saturday, 14 January 2017 at 22:17:23 UTC, ketmar wrote:
class ClassB: ClassA {
alias fun = super.fun;
override void fun(uint a) {}
}
I tried that, but it seems to think I mean to override
super.fun(uint) instead of
On Saturday, 14 January 2017 at 22:17:23 UTC, ketmar wrote:
class ClassB: ClassA {
alias fun = super.fun;
override void fun(uint a) {}
}
I tried that, but it seems to think I mean to override
super.fun(uint) instead of super.fun(uint, float).
Looking at my code again, one of them is
Hi,
I just wanted to report a broken link, specifically a 404 (or not
found) when you click on the only research paper here:
https://wiki.dlang.org/ResearchPapers
>
> * -transition=safe/-dip1000
> => not mentioned in http://dlang.org/changelog/2.073.0.html
>
> That's deliberate, as you can't even use it with writeln yet.
https://issues.dlang.org/show_bug.cgi?id=17090 `dmd -transition=?` needs
quoting => make it `-transition=help`
On Sat, Jan 14, 2017 at
https://issues.dlang.org/show_bug.cgi?id=17090
Issue ID: 17090
Summary: `dmd -transition=?` needs quoting => make it
`-transition=help`
Product: D
Version: D2
Hardware: x86
OS: All
Status: NEW
Hello,
Say I have a class, and it overrides a function from its
superclass. However, the superclass has two overloaded versions
of the same function. My intent is to override only one of the
functions, but the second is rendered inaccessible from outside
of the class. How can I make the
https://issues.dlang.org/show_bug.cgi?id=17089
Issue ID: 17089
Summary: changelog: some bug fixes are duplicated in several
releases
Product: D
Version: D2
Hardware: x86
OS: All
Status: NEW
https://issues.dlang.org/show_bug.cgi?id=16245
--- Comment #1 from github-bugzi...@puremagic.com ---
Commits pushed to master at https://github.com/dlang/dmd
https://github.com/dlang/dmd/commit/141c88bcfaa1c5b79ac4d5c6dd7b278d11b5de84
fix issue 16245 - the message emitted when a const function
On Friday, 13 January 2017 at 12:39:38 UTC, Robert burner Schadek
wrote:
...
Overall, the code looks good and the design looks solid. However,
I have no personal use for such a module, so I can't really
comment on it's design with any authority.
Abstain.
https://issues.dlang.org/show_bug.cgi?id=13017
--- Comment #6 from github-bugzi...@puremagic.com ---
Commits pushed to master at https://github.com/dlang/phobos
https://github.com/dlang/phobos/commit/5dc7aa24217bb7751200eb5b2e869c2c5feab557
Fix issue #13017: opEquals for null
https://issues.dlang.org/show_bug.cgi?id=13017
github-bugzi...@puremagic.com changed:
What|Removed |Added
Status|NEW |RESOLVED
https://issues.dlang.org/show_bug.cgi?id=16691
Rainer Schuetze changed:
What|Removed |Added
Keywords||pull
--- Comment #3
On Saturday, 14 January 2017 at 16:05:33 UTC, Ignacious wrote:
Go join the Nazi Youth group, you OSS Sympathizer!
What?
On Saturday, 14 January 2017 at 01:02:38 UTC, Ali Çehreli wrote:
On 01/13/2017 04:29 PM, Dave Chapman wrote:
> When I use auto and print out the type of b it is something
like
> args.main.FilterResult!(__lambda2, DirIterator).FilterResult
and for the
> "if" version of
> b and
https://issues.dlang.org/show_bug.cgi?id=16598
--- Comment #2 from github-bugzi...@puremagic.com ---
Commits pushed to stable at https://github.com/dlang/dmd
https://github.com/dlang/dmd/commit/b6ac3bae6fe21fd5c060e9f8bad99e2d28e882a6
Fix issue 16598 - Explicitly discard the exp. value in void
https://issues.dlang.org/show_bug.cgi?id=16598
github-bugzi...@puremagic.com changed:
What|Removed |Added
Status|NEW |RESOLVED
I would like to pass some double value to ListStore's constructor
but it doesn't allows me to do.
import gtk.Main;
import gtk.MainWindow;
import gtk.Box;
import gtk.ListStore;
import gtk.TreeView;
import gtk.TreeViewColumn;
import gtk.TreeIter;
import gtk.CellRendererText;
class MyWindow:
https://issues.dlang.org/show_bug.cgi?id=15282
--- Comment #2 from github-bugzi...@puremagic.com ---
Commit pushed to master at https://github.com/dlang/tools
https://github.com/dlang/tools/commit/6220f0a31d0934c0a8d87ff7650e209e29400e14
Merge pull request #179 from sohgo/import-osmodel.mak
https://fossbytes.com/syntaxdb-programming-syntax-search-engine-coders/
Allows you to query certain demo code in a programming language.
Support for D can...
On Wednesday, 11 January 2017 at 21:13:07 UTC, Ignacious wrote:
On Wednesday, 11 January 2017 at 03:49:42 UTC, Joakim wrote:
On Tuesday, 10 January 2017 at 18:48:17 UTC, Ignacious wrote:
[...]
It's probably not easier, and in any case, android-x86 won't
be supported, largely because I don't
On Saturday, 14 January 2017 at 15:19:23 UTC, Craig Dillabaugh
wrote:
So the ideas page is up for the 2017 GSoC. Its a bit light on
content. Please feel free to use this forum thread to discuss
any ideas you might have for appropriate projects.
https://wiki.dlang.org/GSOC_2017_Ideas
Cheers
On Monday, 28 May 2012 at 13:47:47 UTC, Andrei Alexandrescu wrote:
On 5/28/12 8:19 AM, foobar wrote:
See functional languages such as ML for a correct
implementation and also Java 5 Enums (similar but with an OO
flavor).
I've always found it amusing to watch what a kitchen sink Java
On Sat, 2017-01-14 at 17:28 +, Elronnd via Digitalmars-d wrote:
> On Friday, 13 January 2017 at 11:50:25 UTC, Russel Winder wrote:
>
> > LDC which is packaged by both Debian and Fedora is the
> > only practically usable D compiler on both these platforms.
>
> What's impractical about
On 01/14/2017 07:11 AM, albert-j wrote:
> Is it possible to refer to an array element by a descriptive name, just
> for code clarity, without performance overhead? E.g.
>
> void aFunction(double[] arr) {
> double importantElement = arr[3];
> ... use importantElement ...
> }
>
> But the
On Saturday, 14 January 2017 at 17:42:05 UTC, Ignacious wrote:
Why can't string concatenation automatically try to convert the
arguments? Is there any reason this is bad behavior?
Somehow I think that everything implicitly converting to a
string seems like a bad idea.
Although writefln
On Saturday, 14 January 2017 at 15:11:40 UTC, albert-j wrote:
Is it possible to refer to an array element by a descriptive
name, just for code clarity, without performance overhead? E.g.
void aFunction(double[] arr) {
double importantElement = arr[3];
... use importantElement ...
}
On Saturday, 14 January 2017 at 11:02:51 UTC, Joakim wrote:
There were two recent posts by a new Rust user about how he's
finding that language, that got a lot of attention on their
reddit. In the latter post, he mentions D as a competitor:
[...]
linking to local modules too. Is it
On Monday, 28 May 2012 at 21:01:43 UTC, bearophile wrote:
Andrei Alexandrescu:
I do agree that it's wrong to _conflate_ the enumerated value
with it ordinal,
I agree it is possible to fix enum.
Thank you for your answers Andrei. I have filed an enhancement
request:
On Saturday, 14 January 2017 at 17:42:05 UTC, Ignacious wrote:
writeln(x ~ " ok");
Just write writeln(x, " ok");
Any number of arguments, no unnecessary allocations.
Do you really need ~?
On Saturday, 14 January 2017 at 15:54:46 UTC, Craig Dillabaugh
wrote:
What did you have in mind, new default language for the config
file perhaps :o)?
Here's a list of issues that are considered blocking by the guy
who's in charge of getting D into Debian's package manager:
On Saturday, 14 January 2017 at 17:42:05 UTC, Ignacious wrote:
Why can't string concatenation automatically try to convert the
arguments? Is there any reason this is bad behavior?
You'd be liable to write buggy stuff like appending the wrong
kind of array since the auto conversion was wrong.
string concatenation is weird.
We can do stuff like
writeln(x);
where x is, say a struct and it prints fine
but when we do
writeln(x ~ " ok");
it fails and requires us to convert x!
Why can't string concatenation automatically try to convert the
arguments? Is there any reason this is bad
On Friday, 13 January 2017 at 16:50:37 UTC, Dsby wrote:
I write the ref count pointer and the scoped point in D.
How do two of these differ from
- https://dlang.org/phobos/std_typecons.html#.RefCounted
- https://dlang.org/phobos/std_typecons.html#.Unique
under
On Friday, 13 January 2017 at 11:50:25 UTC, Russel Winder wrote:
LDC which is packaged by both Debian and Fedora is the
only practically usable D compiler on both these platforms.
What's impractical about downloading and installing an rpm? For
that matter, downloading the source and
On Saturday, 14 January 2017 at 16:12:43 UTC, Adam D. Ruppe wrote:
but sorting by rating in search
I'm sorry, that was a run on sentence.
The big picture goal I'd like to see is that the package manager,
or even a tutorial author for some topic, just take the choice
away.
Sure, you can
On Saturday, 14 January 2017 at 15:54:46 UTC, Craig Dillabaugh
wrote:
What did you have in mind, new default language for the config
file perhaps :o)?
The website could use some work. Things that would make me hate
it less (fyi, I don't actually use dub, but I sometimes try to
keep packages
On Saturday, 14 January 2017 at 11:32:10 UTC, Marc Schütz wrote:
You can utilize a little-known `switch` syntax trick in
combination with `foreach`. Because a `foreach` over tuples is
unrolled at compile time, it works even if your fields don't
have exactly the same types:
On Saturday, 14 January 2017 at 08:30:04 UTC, Meta wrote:
On Saturday, 14 January 2017 at 05:29:49 UTC, Nicholas Wilson
wrote:
enum XX
{
X = Q.X.offsetof,
Y = Q.Y.offsetof
//ect.
}
and then
*(cast(void*)(this) + x) = e; //if inside struct/class
or
*(cast(void*)(q) + x) = e; // if
On Saturday, 14 January 2017 at 15:23:19 UTC, rikki cattermole
wrote:
On 15/01/2017 4:19 AM, Craig Dillabaugh wrote:
So the ideas page is up for the 2017 GSoC. Its a bit light on
content.
Please feel free to use this forum thread to discuss any ideas
you might
have for appropriate projects.
On 14.01.2017 05:37, Chris Wright wrote:
Interior pointers are a barrier to performant garbage collection.
[...]
* In a binary search tree, a prefix tree, or the like
[...]
The third strategy is O(log N) in the expected case and has similar data
locality to the hashtable.
Obviously, we
On Saturday, 14 January 2017 at 15:11:40 UTC, albert-j wrote:
Is it possible to refer to an array element by a descriptive
name, just for code clarity, without performance overhead? E.g.
void aFunction(double[] arr) {
double importantElement = arr[3];
... use importantElement ...
}
On 15/01/2017 4:19 AM, Craig Dillabaugh wrote:
So the ideas page is up for the 2017 GSoC. Its a bit light on content.
Please feel free to use this forum thread to discuss any ideas you might
have for appropriate projects.
https://wiki.dlang.org/GSOC_2017_Ideas
Cheers
Craig
This year
On Friday, 13 January 2017 at 12:30:51 UTC, Martin Tschierschke
wrote:
My thought was that the main benefit of using the DB engine to
do the layout rendering, would be that you do not need to
convert db values to serialized data, and than convert them to
values before you convert them to
So the ideas page is up for the 2017 GSoC. Its a bit light on
content. Please feel free to use this forum thread to discuss
any ideas you might have for appropriate projects.
https://wiki.dlang.org/GSOC_2017_Ideas
Cheers
Craig
Is it possible to refer to an array element by a descriptive
name, just for code clarity, without performance overhead? E.g.
void aFunction(double[] arr) {
double importantElement = arr[3];
... use importantElement ...
}
But the above, I suppose, introduces an extra copy operation?
On Sat, 14 Jan 2017 11:52:34 +, nbro wrote:
> Garbage collection in D is more expensive just because of the poor
> implementation, from what I've heard. If that's the case, people who
> work on it should be able to improve it over time.
I posted about this in general.
A GC for Java, Python,
On Fri, 2017-01-13 at 18:56 -0800, Jonathan M Davis via Digitalmars-d
wrote:
[…]
> And why on earth does having to download the package from dlang.org
> rather
> than getting it from the official Debian or Fedora repos make dmd not
> practically usable on those distros? Sure, it would be nice if
https://issues.dlang.org/show_bug.cgi?id=17081
--- Comment #3 from github-bugzi...@puremagic.com ---
Commit pushed to master at https://github.com/dlang/druntime
https://github.com/dlang/druntime/commit/e3e8b23401dd1a323f1f4567cef7612f74984bf9
Merge pull request #1736 from Darredevil/issue-17081
On Saturday, 14 January 2017 at 04:14:11 UTC, Chris Wright wrote:
It's reference counting.
Reference counting is like garbage collection, but deamortized.
This is better for real-time applications. However, it adds
overhead on every assignment and every variable going out of
scope.
In D,
On 15/01/2017 12:38 AM, nbro wrote:
Nobody has understood yet the goal of this post.
I'm not saying that everybody should work in a team or shouldn't try to
create what one needs, if there isn't a better alternative.
I'm suggesting that for a few interesting, useful and possibly valuable
On 1/7/2017 3:54 AM, Jacob Carlborg wrote:
On 2017-01-07 06:02, Martin Nowak wrote:
an experimental safety checks (-transition=safe/-dip1000)
Is the flag to enable the new checks or revert to the previous behavior?
enable
On Saturday, 14 January 2017 at 11:32:10 UTC, Marc Schütz wrote:
You can utilize a little-known `switch` syntax trick in
combination with `foreach`. Because a `foreach` over tuples is
unrolled at compile time, it works even if your fields don't
have exactly the same types:
That looks
Nobody has understood yet the goal of this post.
I'm not saying that everybody should work in a team or shouldn't
try to create what one needs, if there isn't a better alternative.
I'm suggesting that for a few interesting, useful and possibly
valuable projects, before they start (but
You can utilize a little-known `switch` syntax trick in
combination with `foreach`. Because a `foreach` over tuples is
unrolled at compile time, it works even if your fields don't have
exactly the same types:
--
struct Foo {
int
On 15/01/2017 12:02 AM, Joakim wrote:
There were two recent posts by a new Rust user about how he's finding
that language, that got a lot of attention on their reddit. In the
latter post, he mentions D as a competitor:
http://esr.ibiblio.org/?p=7303
Worth reading because we have similar
There were two recent posts by a new Rust user about how he's
finding that language, that got a lot of attention on their
reddit. In the latter post, he mentions D as a competitor:
http://esr.ibiblio.org/?p=7303
Worth reading because we have similar issues with the dub
registry, that Sönke
Which platforms do dlangui work on?
It's console feature is cool, I do that with terminal.d rather
than simpledisplay.d. I guess the other difference is probably
Mac, I only support it there with the X11 thing installed,
which Apple no longer supports.
I kinda want to wait till there's
https://issues.dlang.org/show_bug.cgi?id=16692
--- Comment #2 from Manu ---
>_<
--
https://issues.dlang.org/show_bug.cgi?id=16691
--- Comment #2 from Manu ---
Is there a solution possible that isn't broken one way or another?
--
https://issues.dlang.org/show_bug.cgi?id=16692
Rainer Schuetze changed:
What|Removed |Added
CC||r.sagita...@gmx.de
https://issues.dlang.org/show_bug.cgi?id=16691
Rainer Schuetze changed:
What|Removed |Added
CC||r.sagita...@gmx.de
https://issues.dlang.org/show_bug.cgi?id=4372
Rainer Schuetze changed:
What|Removed |Added
CC||turkey...@gmail.com
https://issues.dlang.org/show_bug.cgi?id=16700
Rainer Schuetze changed:
What|Removed |Added
Status|NEW |RESOLVED
https://issues.dlang.org/show_bug.cgi?id=16711
Rainer Schuetze changed:
What|Removed |Added
Priority|P1 |P2
On Saturday, 14 January 2017 at 05:29:49 UTC, Nicholas Wilson
wrote:
enum XX
{
X = Q.X.offsetof,
Y = Q.Y.offsetof
//ect.
}
and then
*(cast(void*)(this) + x) = e; //if inside struct/class
or
*(cast(void*)(q) + x) = e; // if outside
Unfortunately this loses you `@safe`ty, but as
On Saturday, 14 January 2017 at 07:51:13 UTC, Basile B. wrote:
On Saturday, 7 January 2017 at 05:02:13 UTC, Martin Nowak wrote:
First beta for the 2.073.0 release.
_D4core4time12TickDuration25__T10opOpAssignVAyaa1_2bZ10opOpAssignMFNaNbNcNiNfS4core4time12TickDurationZS4core4time12TickDuration
96 matches
Mail list logo