Very cool.

One quick question - is this covered in the proposal?

class Base {
  virtual int f( int ba, char bb );
};

class Derived {
  virtual int f( int da, char db );  // is this allowed and does it count like 
a base class function override?
};

Derived d;
Base* b = &d;

// What is the validity of the four cases below?

b->f( ba=0, bb=‘c’ );
b->f( da=0, db=‘c’ );
d.f( ba=0, bb=‘c’ );
d.f( da=0, db=‘c’ );


--
- Milan

On Jun 14, 2014, at 14:07 , Botond Ballo <bba...@mozilla.com> wrote:

> Hello everyone,
> 
> Ehsan and I would like to propose named arguments as a new feature for C++.
> 
> We have a draft proposal paper here: 
>  http://ehsan.github.io/namedargs/namedargs.html
> 
> Any feedback on it would be greatly appreciated!
> 
> (I will not be formally presenting this proposal at the upcoming C++ 
> standards committe meeting in Rapperswil, because we didn't have the 
> proposal ready in time for the pre-meeting mailing. However, I will 
> circulate it to committee members informally, and possibly talk to some
> of them about it while I'm there. Hopefully I can then formally present
> an updated proposal at the following committee meeting in November.)
> 
> Cheers,
> Botond
> _______________________________________________
> dev-platform mailing list
> dev-platform@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-platform

_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to