We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Howerver in new C++11 you dont need to use "throw()" becouse it dont really guarantee no exsptions. It just thow "unexpected" when exeption is thrown withou looking for handlers!
Whan you need to use is "noexcept" keyword that quarantee no exseptions!
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Day 17: More Exceptions
You are viewing a single comment's thread. Return to all comments →
Howerver in new C++11 you dont need to use "throw()" becouse it dont really guarantee no exsptions. It just thow "unexpected" when exeption is thrown withou looking for handlers!
Whan you need to use is "noexcept" keyword that quarantee no exseptions!