Re: Blog post on the joys of hand-translating C++'s std::function to D

2019-03-08 Thread Atila Neves via Digitalmars-d-announce
On Friday, 8 March 2019 at 10:27:54 UTC, Jacob Carlborg wrote: On 2019-03-07 16:45, Atila Neves wrote: C++ is hard: https://atilaoncode.blog/2019/03/07/the-joys-of-translating-cs-stdfunction-to-d/ Using ".mangleof" and "pragma(mangle)" on the same symbol looks like something that could

Re: Blog post on the joys of hand-translating C++'s std::function to D

2019-03-08 Thread Jacob Carlborg via Digitalmars-d-announce
On 2019-03-07 16:45, Atila Neves wrote: C++ is hard: https://atilaoncode.blog/2019/03/07/the-joys-of-translating-cs-stdfunction-to-d/ Using ".mangleof" and "pragma(mangle)" on the same symbol looks like something that could easily break. -- /Jacob Carlborg

Re: Blog post on the joys of hand-translating C++'s std::function to D

2019-03-07 Thread Walter Bright via Digitalmars-d-announce
On 3/7/2019 9:27 AM, Mike Parker wrote: On Thursday, 7 March 2019 at 15:45:50 UTC, Atila Neves wrote: C++ is hard: https://atilaoncode.blog/2019/03/07/the-joys-of-translating-cs-stdfunction-to-d/ Reddit:

Re: Blog post on the joys of hand-translating C++'s std::function to D

2019-03-07 Thread Mike Parker via Digitalmars-d-announce
On Thursday, 7 March 2019 at 17:27:42 UTC, Mike Parker wrote: On Thursday, 7 March 2019 at 15:45:50 UTC, Atila Neves wrote: C++ is hard: https://atilaoncode.blog/2019/03/07/the-joys-of-translating-cs-stdfunction-to-d/ Reddit:

Re: Blog post on the joys of hand-translating C++'s std::function to D

2019-03-07 Thread Mike Parker via Digitalmars-d-announce
On Thursday, 7 March 2019 at 15:45:50 UTC, Atila Neves wrote: C++ is hard: https://atilaoncode.blog/2019/03/07/the-joys-of-translating-cs-stdfunction-to-d/ Reddit: https://www.reddit.com/r/programming/comments/ayf40t/the_joys_of_translating_cs_stdfunction_to_d/

Blog post on the joys of hand-translating C++'s std::function to D

2019-03-07 Thread Atila Neves via Digitalmars-d-announce
C++ is hard: https://atilaoncode.blog/2019/03/07/the-joys-of-translating-cs-stdfunction-to-d/