This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: feature request


On 19 April 2016 at 09:38, Jim Michaels wrote:
> in c and c++, please support default assignment to non-member functions.
> thanks. example:
>
> void abc(std::string filename, bool doit=false);
>
> this should not affect shared libraries/dlls/so.

C++ already supports this.

C doesn't support any default arguments, and that's unlikely to change.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]