-
July 25th, 2015, 03:18 AM
#1
[RESOLVED] noexcept
I'm building a popular gtk library called glibmm. Effectively, it's a C++ wrapper around the libglib toolset. Some classes used to have member functions declared like this:-
Code:
void whatever_function() throw();
but in the latest version, that's been changed to this:-
Code:
void whatever_function() noexcept;
I can't find anywhere where noexcept gets defined to throw() - so is this part of some newer C++ specification? (C++11 maybe??)
"A problem well stated is a problem half solved.” - Charles F. Kettering
-
July 26th, 2015, 11:36 AM
#2
Re: noexcept
Yes, I think this is something new in C++11
"A problem well stated is a problem half solved.” - Charles F. Kettering
-
July 27th, 2015, 02:14 AM
#3
Re: [RESOLVED] noexcept
Best regards,
Igor
-
July 27th, 2015, 07:02 AM
#4
Re: [RESOLVED] noexcept
so upgrade to a compiler supporting C++11
you 'may' be able to get around it by doing a define yourself
#define noexcept throw()
but if that lib has other changes that make use of C++11 concepts (which is very likely) that won't really help.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|