Re: Updating ddoc to support modern HTML tags

2015-04-25 Thread Stewart Gordon via Digitalmars-d
On 22/04/2015 08:47, Gary Willoughby wrote: On Tuesday, 21 April 2015 at 11:27:35 UTC, Jacob Carlborg wrote: I don't think you should use the "style" attribute at all. I think it's better to use classes, or similar. Yes it's always better to use classes and style them in a CSS file. However

Re: Updating ddoc to support modern HTML tags

2015-04-25 Thread Stewart Gordon via Digitalmars-d
On 20/04/2015 20:42, Gary Willoughby wrote: Here's a list of the current ddoc symbols (and tag output) that IMHO would need updating: https://gist.github.com/nomad-software/333cd658ad88090dcb0a and here are some proposed substitutions: https://gist.github.com/nomad-software/20d2ab1f7d4c9e55a

Re: Updating ddoc to support modern HTML tags

2015-04-26 Thread Stewart Gordon via Digitalmars-d
On 26/04/2015 03:58, Andrei Alexandrescu wrote: On 4/25/15 5:41 PM, Stewart Gordon wrote: Even then, I wasn't able to do it perfectly. Has anybody tried to use Ddoc to generate (for example) LaTeX, RTF, XML or JSON output, for that matter? LaTeX is there. I also wrote "text only" and "verba

Re: rvalue references

2015-06-09 Thread Stewart Gordon via Digitalmars-d
Apologies if I've missed something - I haven't had much time to keep up with the discussions lately. What is the use case for rvalue references in a garbage-collected language? To me, it sounds like people want this feature for D purely because C++ has it. Stewart. -- My email address is vali

Re: rvalue references

2015-06-12 Thread Stewart Gordon via Digitalmars-d
On 09/06/2015 13:14, Namespace wrote: What does this have to do with "garbage-collected language"? If I have a big struct, e.g. struct Matrix { float[16] values = [...]; } I always want to pass it by ref because a move or a copy would be too slow. That seems to me a matter more