Re: What is iota function full name

2019-06-21 Thread KlausO via Digitalmars-d-learn
So basically iota spills Increments Over The Array. Am 21.06.2019 um 11:18 schrieb Jonathan M Davis: On Friday, June 21, 2019 3:01:17 AM MDT lili via Digitalmars-d-learn wrote: Hi Guys: What is range.iota function full name iota _is_ its full name. It's named after an STL function

Re: Use of GUID constants

2016-03-10 Thread KlausO via Digitalmars-d-learn
For GUIDs you often have to take the address (e.g. for calls to QueryInterface), so I think phobos does not correctly implement this. In the meantime I took a look at the VisualD project which accesses the COM interfaces of visual studio. They solve the problem by using the following idiom

Re: Use of GUID constants

2016-03-10 Thread KlausO via Digitalmars-d-learn
Ok, but what's the intention behind defining GUIDs as enums in the first place ? Why not defining them as const(GUID) and let the linker sort them out ? Is there a recommended way to declare/define constants (e.g. as enums or consts) ? In C (separate compilation) they are declared as

Use of GUID constants

2016-03-09 Thread KlausO via Digitalmars-d-learn
Dear list, I use DMD 2.070.0 I try to access COM Interfaces via the declarations in core.sys.windows.* I have some problems and maybe someone could give me a usage hint. Have a look at the following (relatively meaningless) sample program which demonstrates the problem. IMHO the problem is

Re: Kinds of containers

2015-10-22 Thread KlausO via Digitalmars-d
Am 22.10.2015 um 00:15 schrieb Zz: On Wednesday, 21 October 2015 at 22:12:32 UTC, Zz wrote: On Wednesday, 21 October 2015 at 19:17:52 UTC, Andrei Alexandrescu wrote: On 10/21/2015 02:18 PM, Zz wrote: While looking at containers take a look at Jiri Soukup's work some good ideas could come