← Back to team overview

kicad-developers team mailing list archive

Re: Exception specifiers deprecated in c++11

 

On Fri, Jun 09, 2017 at 02:03:29AM +0200, Simon Richter wrote:
> Hi,
> 
> On 08.06.2017 23:56, Kristoffer Ödmark wrote:
> 
> > I attached a patch where i removed all of them just to show how many of
> > them there are, also suggest that we remove that from the coding policy
> > ( patch 2 ).
> 
> Would it make sense to use "noexcept" still?

"noexcept" was *added* in C++11 so it's obviously allowed in C++11.

Decent explanation about this here: http://blog.quasardb.net/when-noexcept-2/

> 
> > Are there any considerations regarding becoming c++11 compatible?
> 
> We already use C++11, e.g. for range-based for and std::shared_ptr.
> 
>    Simon
> 





Follow ups

References