Compare boost::hana to D

Adrian Matoga via Digitalmars-d digitalmars-d at puremagic.com
Wed Apr 19 12:12:35 PDT 2017


On Wednesday, 19 April 2017 at 18:57:19 UTC, David Gileadi wrote:
> On 4/19/17 11:30 AM, Adrian Matoga wrote:
>> On Wednesday, 19 April 2017 at 18:26:20 UTC, Sebastiaan Koppe 
>> wrote:
>>> On Wednesday, 19 April 2017 at 18:02:46 UTC, Adrian Matoga 
>>> wrote:
>>>> [2] https://epi.github.io/2017/03/18/less_fun.html

>
> Minor nit in the article--in the following paragraph "runtime" 
> should probably be replaced with "compile time":
>
> "Note the enum in place where C++ version used auto. The type 
> is also inferred automatically, but using enum forces index to 
> be computed at runtime and only then it can be used in static 
> assert."

Fixed, thanks a lot!
It seems impossible to spot all mistakes without someone else's 
eyes even if I read it a thousand times... :|


More information about the Digitalmars-d mailing list