This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: feature request
- From: Jonathan Wakely <jwakely dot gcc at gmail dot com>
- To: Jim Michaels <jim dot michaels at jesusnjim dot com>
- Cc: gcc-help <gcc-help at gcc dot gnu dot org>
- Date: Tue, 19 Apr 2016 10:05:11 +0100
- Subject: Re: feature request
- Authentication-results: sourceware.org; auth=none
- References: <a7b7b080-e6b9-0576-f1fb-5e0c7833fb63 at jesusnjim dot com>
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.