Re: UFCS in C++

2014-10-14 Thread Walter Bright via Digitalmars-d
On 10/14/2014 3:38 AM, Don wrote: and then Walter confessed to having done it. I was threatened with the Comfy Chair. What else could I do?

Re: UFCS in C++

2014-10-14 Thread Steven Schveighoffer via Digitalmars-d
On 10/14/14 11:34 AM, Jesse Phillips wrote: On Monday, 13 October 2014 at 18:50:52 UTC, Walter Bright wrote: On 10/13/2014 1:53 AM, Peter Alexander wrote: Looks like Bjarne has proposed UFCS for C++ http://isocpp.org/files/papers/N4174.pdf No mention of D though... https://www.reddit.com/r/

Re: UFCS in C++

2014-10-14 Thread Jesse Phillips via Digitalmars-d
On Monday, 13 October 2014 at 18:50:52 UTC, Walter Bright wrote: On 10/13/2014 1:53 AM, Peter Alexander wrote: Looks like Bjarne has proposed UFCS for C++ http://isocpp.org/files/papers/N4174.pdf No mention of D though... https://www.reddit.com/r/programming/comments/2j3kr4/proposal_for_unif

Re: UFCS in C++

2014-10-14 Thread Don via Digitalmars-d
On Tuesday, 14 October 2014 at 06:29:01 UTC, Jacob Carlborg wrote: On 14/10/14 03:55, Steven Schveighoffer wrote: The concept is in D1 for arrays since as long as I've ever used D. As far as I recall, it was an accidental feature of arrays and perhaps associative arrays. Might be a bit hard

Re: UFCS in C++

2014-10-13 Thread Jacob Carlborg via Digitalmars-d
On 14/10/14 03:55, Steven Schveighoffer wrote: The concept is in D1 for arrays since as long as I've ever used D. As far as I recall, it was an accidental feature of arrays and perhaps associative arrays. Might be a bit hard to track down that. -- /Jacob Carlborg

Re: UFCS in C++

2014-10-13 Thread Walter Bright via Digitalmars-d
On 10/13/2014 6:55 PM, Steven Schveighoffer wrote: On 10/13/14 2:50 PM, Walter Bright wrote: On 10/13/2014 1:53 AM, Peter Alexander wrote: Looks like Bjarne has proposed UFCS for C++ http://isocpp.org/files/papers/N4174.pdf No mention of D though... https://www.reddit.com/r/programming/comm

Re: UFCS in C++

2014-10-13 Thread Steven Schveighoffer via Digitalmars-d
On 10/13/14 2:50 PM, Walter Bright wrote: On 10/13/2014 1:53 AM, Peter Alexander wrote: Looks like Bjarne has proposed UFCS for C++ http://isocpp.org/files/papers/N4174.pdf No mention of D though... https://www.reddit.com/r/programming/comments/2j3kr4/proposal_for_unified_call_syntax_for_c_x

Re: UFCS in C++

2014-10-13 Thread via Digitalmars-d
On Monday, 13 October 2014 at 17:29:56 UTC, Paulo Pinto wrote: Am 13.10.2014 um 10:53 schrieb Peter Alexander: Looks like Bjarne has proposed UFCS for C++ http://isocpp.org/files/papers/N4174.pdf No mention of D though... Just noticed that Herb Sutter also presented one, http://isocpp.org/f

Re: UFCS in C++

2014-10-13 Thread Christof Schardt via Digitalmars-d
:-)Ali, you made my day! Actually, there are references to D in that article. One of those is even about considering D as an "alternative". An excerpt from page 10: void alternative(D& d)// an alternative to consider { // ... }

Re: UFCS in C++

2014-10-13 Thread Ali Çehreli via Digitalmars-d
On 10/13/2014 01:53 AM, Peter Alexander wrote: Looks like Bjarne has proposed UFCS for C++ http://isocpp.org/files/papers/N4174.pdf No mention of D though... Actually, there are references to D in that article. One of those is even about considering D as an "alternative". An excerpt from pag

Re: UFCS in C++

2014-10-13 Thread Walter Bright via Digitalmars-d
On 10/13/2014 1:53 AM, Peter Alexander wrote: Looks like Bjarne has proposed UFCS for C++ http://isocpp.org/files/papers/N4174.pdf No mention of D though... https://www.reddit.com/r/programming/comments/2j3kr4/proposal_for_unified_call_syntax_for_c_xfy_vs_fxy/ and: https://www.reddit.com/r/

Re: UFCS in C++

2014-10-13 Thread Paulo Pinto via Digitalmars-d
Am 13.10.2014 um 10:53 schrieb Peter Alexander: Looks like Bjarne has proposed UFCS for C++ http://isocpp.org/files/papers/N4174.pdf No mention of D though... Just noticed that Herb Sutter also presented one, http://isocpp.org/files/papers/N4165.pdf -- Paulo

Re: UFCS in C++

2014-10-13 Thread Brad Anderson via Digitalmars-d
On Monday, 13 October 2014 at 09:32:58 UTC, Francesco Cattoglio wrote: On Monday, 13 October 2014 at 08:53:28 UTC, Peter Alexander wrote: Looks like Bjarne has proposed UFCS for C++ http://isocpp.org/files/papers/N4174.pdf No mention of D though... Seriously, not even a mention? Ok, I'm mad

Re: UFCS in C++

2014-10-13 Thread ketmar via Digitalmars-d
On Mon, 13 Oct 2014 16:14:36 + ponce via Digitalmars-d wrote: > UFCS could be fun in C++ with dependence on import order and the > best-match rule. c++ coders love to fight with their tools. ;-) signature.asc Description: PGP signature

Re: UFCS in C++

2014-10-13 Thread ponce via Digitalmars-d
On Monday, 13 October 2014 at 08:53:28 UTC, Peter Alexander wrote: Looks like Bjarne has proposed UFCS for C++ http://isocpp.org/files/papers/N4174.pdf No mention of D though... UFCS could be fun in C++ with dependence on import order and the best-match rule.

Re: UFCS in C++

2014-10-13 Thread NimrodTheShlomo via Digitalmars-d
On Monday, 13 October 2014 at 08:53:28 UTC, Peter Alexander wrote: Looks like Bjarne has proposed UFCS for C++ http://isocpp.org/files/papers/N4174.pdf No mention of D though... UFCS in Pascal http://forum.lazarus.freepascal.org/index.php/topic,26025.45.html

Re: UFCS in C++

2014-10-13 Thread ketmar via Digitalmars-d
On Mon, 13 Oct 2014 11:04:05 + Paulo Pinto via Digitalmars-d wrote: > I am starting to be afraid what C++17 or C++20 might look like. a monster praying "kl me..." ;-) signature.asc Description: PGP signature

Re: UFCS in C++

2014-10-13 Thread Paulo Pinto via Digitalmars-d
On Monday, 13 October 2014 at 08:53:28 UTC, Peter Alexander wrote: Looks like Bjarne has proposed UFCS for C++ http://isocpp.org/files/papers/N4174.pdf No mention of D though... After going through most of the CppCon videos during the weekend, I am starting to be afraid what C++17 or C++20 m

Re: UFCS in C++

2014-10-13 Thread Szymon Gatner via Digitalmars-d
On Monday, 13 October 2014 at 09:32:58 UTC, Francesco Cattoglio wrote: On Monday, 13 October 2014 at 08:53:28 UTC, Peter Alexander wrote: Looks like Bjarne has proposed UFCS for C++ http://isocpp.org/files/papers/N4174.pdf No mention of D though... Seriously, not even a mention? Ok, I'm mad

Re: UFCS in C++

2014-10-13 Thread Francesco Cattoglio via Digitalmars-d
On Monday, 13 October 2014 at 08:53:28 UTC, Peter Alexander wrote: Looks like Bjarne has proposed UFCS for C++ http://isocpp.org/files/papers/N4174.pdf No mention of D though... Seriously, not even a mention? Ok, I'm mad. Can I be mad?

UFCS in C++

2014-10-13 Thread Peter Alexander via Digitalmars-d
Looks like Bjarne has proposed UFCS for C++ http://isocpp.org/files/papers/N4174.pdf No mention of D though...