Re: Mutually recursive template expansion

2021-10-02 Thread Stephen via Digitalmars-d-learn
On Friday, 1 October 2021 at 14:26:39 UTC, jfondren wrote: On Friday, 1 October 2021 at 14:03:06 UTC, Stephen wrote: This code should work should mutual recursion be supported. It still wouldn't work, because structs are value types and it's impossible to say how large either struct is:

Mutually recursive template expansion

2021-10-01 Thread Stephen via Digitalmars-d-learn
I've been trying out templates in more depth and one thing I was wondering was whether template expansions with circular dependencies might work. Here is an example that doesn't work: ```d mixin(A!()); mixin(B!()); void main() {} template A() { const char[] A = q{ struct Ar {

Re: Can we get a video tutorial?

2015-09-10 Thread Stephen via Digitalmars-d-learn
On Friday, 4 September 2015 at 16:11:59 UTC, Stephen wrote: On Friday, 4 September 2015 at 05:51:02 UTC, Mike Parker wrote: * What was previously said * * Bump * Hopefully I'm allowed to bump this...?

Re: Can we get a video tutorial?

2015-09-04 Thread Stephen via Digitalmars-d-learn
On Friday, 4 September 2015 at 05:51:02 UTC, Mike Parker wrote: * What was previously said * DMD is not currently compatible with VS 2015. You'll have trouble if you try to use it. That will hopefully be fixed in a not-too-distant release. * What was previously said * Based on this

Re: Can we get a video tutorial?

2015-09-03 Thread Stephen via Digitalmars-d-learn
On Wednesday, 2 September 2015 at 01:15:28 UTC, Mike Parker wrote: * What was previously said * Ok, so, I am running Windows 10, I have installed VS 2015, I have installed DMD 1 and 2 (I know I only need 2 but it shouldn't hurt to have both), I have installed VisualD, and I have installed

Re: Can we get a video tutorial?

2015-09-03 Thread Stephen via Digitalmars-d-learn
On Thursday, 3 September 2015 at 19:41:55 UTC, wobbles wrote: * What was previously said * So, can you show your project's dub.json? { "name": "test graphics and math", "description": "A minimal D application.", "copyright": "Copyright © 2015, Stephen",

Can we get a video tutorial?

2015-09-01 Thread Stephen via Digitalmars-d-learn
So I've been trying to install Dlang, VisualD, and Dub for the past day with little luck. I have DMD 1 and 2, and VisualD installed, but I can't get Dub working. I finally asked a friend to help and he got me to my current point of maybe having a package working but I'm not sure because I'm

Re: Can we get a video tutorial?

2015-09-01 Thread Stephen via Digitalmars-d-learn
On Tuesday, 1 September 2015 at 14:50:53 UTC, cym13 wrote: On Tuesday, 1 September 2015 at 14:48:55 UTC, Stephen wrote: So I've been trying to install Dlang, VisualD, and Dub for the past day with little luck. I have DMD 1 and 2, and VisualD installed, but I can't get Dub working. Are you on