On 8/6/2018 8:14 PM, Nicholas Wilson wrote:
Yes, but only for a single instance of the namespace.
In the general case no, see the first reply in
https://forum.dlang.org/post/xdaedmlbbqtztiqcw...@forum.dlang.org
The idea is to not have a namespace, I don't see what making an alias to a
namespa
On Tuesday, 7 August 2018 at 02:25:32 UTC, Walter Bright wrote:
Let's see if we can find some common ground.
The boilerplate I suggested seems to enable DPP to generate
working code that behaves "as if" the namespace scope is not
there, even for nested namespaces.
Is this correct?
Yes, but
Let's see if we can find some common ground.
The boilerplate I suggested seems to enable DPP to generate working code that
behaves "as if" the namespace scope is not there, even for nested namespaces.
Is this correct?
On 8/5/2018 9:53 PM, Manu wrote:
If we produce a DIP to fix this, will you reject it in principle?
Producing a DIP is a good idea, it provides an anchor point for any future
discussion of the topic, rather than the tangle and noise that is this thread.
It is an ample opportunity to put the be
On 8/6/2018 3:19 PM, tide wrote:
That's just a deflection,
1. I'm only here to help, and am not interested in scoring debate points.
2. To bring up other topics, please start a new thread. Especially since this
one is quite voluminous.
On Monday, 6 August 2018 at 20:35:37 UTC, Walter Bright wrote:
On 8/6/2018 11:26 AM, tide wrote:
What's your crossplatform workaround if I have a namespace
named "version" or "package" ?
See my reply to Rick Cattermole.
https://digitalmars.com/d/archives/digitalmars/D/Is_there_any_good_reason_
On 8/6/2018 11:26 AM, tide wrote:
What's your crossplatform workaround if I have a namespace named "version" or
"package" ?
See my reply to Rick Cattermole.
https://digitalmars.com/d/archives/digitalmars/D/Is_there_any_good_reason_why_C_namespaces_are_closed_in_D_317277.html#N317507
You also
On Friday, 3 August 2018 at 21:20:37 UTC, Walter Bright wrote:
Yes. But then you'll have the people who want a 1:1
correspondence with their C++ files and the corresponding D
files. I happen to be one of those people, for the ease of
maintaining a translation (and for comparing it with the
ori
On Sunday, 5 August 2018 at 23:28:06 UTC, Walter Bright wrote:
On 8/4/2018 12:45 AM, Manu wrote:
[...]
I get it, Manu, you don't find my arguments compelling. You've
put these forth before, and I could repeat myself rebutting
each. I expect we're at a dead end with that.
But the fact remains
On Monday, 6 August 2018 at 14:13:02 UTC, Timoses wrote:
Thanks Windows, not!
Since our department switched to Windows 10 I'm now unable to
install DMD.
To make it even worse, there's no way I see to install a
virtual machine any more (VirtualBox or VMWare) since they
collide with Hyper-V.
On Mon, 06 Aug 2018 14:13:02 +, Timoses wrote:
> Thanks Windows, not!
>
> Since our department switched to Windows 10 I'm now unable to install
> DMD.
>
> To make it even worse, there's no way I see to install a virtual machine
> any more (VirtualBox or VMWare) since they collide with Hyper-
On Saturday, 4 August 2018 at 12:18:21 UTC, tide wrote:
On Saturday, 4 August 2018 at 01:45:44 UTC, Laeeth Isharc wrote:
On Friday, 3 August 2018 at 22:55:51 UTC, Rubn wrote:
The difference is they would have to rework their existing
code. If you are writing D source code bindings for your
c
On Saturday, 4 August 2018 at 07:34:49 UTC, Manu wrote:
On Fri, 3 Aug 2018 at 18:50, Laeeth Isharc via Digitalmars-d
wrote:
[...]
Faster and consistently, sure. But I don't think 'better' is
possible.
[...]
Bindings != wrappers. I agree that wrappers will nearly always
need to be writte
On Friday, 3 August 2018 at 21:49:53 UTC, Walter Bright wrote:
On 8/3/2018 3:58 AM, Atila Neves wrote:
I would only be able to alias a nested namespace once, since
the code below obviously won't work:
mixin CppNamespace0!() x;
alias chrono = x.std.chrono;
mixin CppNamespace1!() y;
On 07/08/2018 2:53 AM, Timoses wrote:
On Monday, 6 August 2018 at 14:19:47 UTC, rikki cattermole wrote:
dmd works fine on W10.
So the question is, are you seeing AV or are you seeing some other
thing that your IT put in place (e.g. require code signing).
Well, there is Kaspersky installed an
On Monday, 6 August 2018 at 14:19:47 UTC, rikki cattermole wrote:
dmd works fine on W10.
So the question is, are you seeing AV or are you seeing some
other thing that your IT put in place (e.g. require code
signing).
Well, there is Kaspersky installed and I know there's been a
discussion ab
On Monday, 6 August 2018 at 14:19:47 UTC, rikki cattermole wrote:
(e.g. require code signing).
Why don't we just sign the code anyway? This shouldn't be a big
deal and it has been a problem for many people for many years.
On 07/08/2018 2:13 AM, Timoses wrote:
Thanks Windows, not!
Since our department switched to Windows 10 I'm now unable to install DMD.
To make it even worse, there's no way I see to install a virtual machine
any more (VirtualBox or VMWare) since they collide with Hyper-V. I've
disabled Hyper-V
Thanks Windows, not!
Since our department switched to Windows 10 I'm now unable to
install DMD.
To make it even worse, there's no way I see to install a virtual
machine any more (VirtualBox or VMWare) since they collide with
Hyper-V. I've disabled Hyper-V, but it seems there can be a lot
of
I wanted to share a story where I actually tried to add a new type with
autodecoding and failed.
I want to create a wrapper type that forwards an underlying range type
but adds one feature -- tracking in the original range where you were.
This is in a new library I'm writing for parsing.
So
On Monday, 6 August 2018 at 09:48:30 UTC, Danni Coy wrote:
Outside perspective here and possibly stupid question. Is there
any way we could have our cake and eat it too? One of the
thinks I like is that it tends to be much more readable than
C++, more code than necessary hurts readability of t
On Monday, 6 August 2018 at 04:53:05 UTC, Manu wrote:
If we produce a DIP to fix this, will you reject it in
principle?
I think you and Walter Bright made good points and I think a
creation of a DIP that addresses his concerns would be a best
course of action IMO.
-Alexander
Outside perspective here and possibly stupid question. Is there any way we
could have our cake and eat it too? One of the thinks I like is that it
tends to be much more readable than C++, more code than necessary hurts
readability of that code. Can the compiler warn when a function is called
that
23 matches
Mail list logo