Wednesday, June 27, 2018

Digest for comp.lang.c++@googlegroups.com - 1 update in 1 topic

"Alf P. Steinbach" <alf.p.steinbach+usenet@gmail.com>: Jun 28 12:06AM +0200

On 27.06.2018 23:34, Paavo Helde wrote:
>>    for functions which are part of an API for this reason?
 
> Nope, the tools should be updated to cope with the new language rules.
 
> However, auto return type should be avoided in API-s
 
I think you mean deduced return type, because then this makes sense:
 
 
> ought to define an interface (that's the I) but auto depends on the
> implementation details. With something having an official API it should
> be vice versa, implementation should depend on the interface.
 
 
Cheers!,
 
- Alf
You received this digest because you're subscribed to updates for this group. You can change your settings on the group membership page.
To unsubscribe from this group and stop receiving emails from it send an email to comp.lang.c+++unsubscribe@googlegroups.com.

No comments: