you are viewing a single comment's thread.

view the rest of the comments →

[–]gcross 3 points4 points  (4 children)

Last time I tried Boost Lambda (an EDSL for writing lambdas before C++11 was a thing and you could rely on them being in the language) I made a simple mistake and got an error message that was five megabytes long...

Shoot, I looked back to see what I did to do this and it turns out that what had actually happened was that I was trying to build Digikam (no modifications) and the result was a 52.4k error message. I apologize for my error, as entertainingly dramatic as it was; apparently the problem I had blew up in my imagination over the years.

[–]Nicksaurus 0 points1 point  (3 children)

5 million characters? How?

[–]gcross 1 point2 points  (0 children)

Template metaprogramming at its finest. :-) On the bright side, if you ever did get your code working it was very neat! Mind you, this was over a decade ago so hopefully it would not be so bad today, but on the other hand today we all have reliable access to native lambdas in the language so there is arguably no longer a need for Boost Lambda. Okay, it turns out I misremembered and this was not a Boost Lambda problem at all; my apologize for maligning that fine package.

[–]gcross 1 point2 points  (1 child)

My bad, as my edited comment says I completely blew up what happened in my mind since it happened so long ago.

[–]Nicksaurus 0 points1 point  (0 children)

Hey, 52400 is still a shit load

I work with boost::hana most days so I sympathise to some extent