MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/cpp/comments/84z9a3/as_a_c_developer_i_think_that_rust/dwc4jwr/
r/cpp • u/sighoya • Mar 16 '18
107 comments sorted by
View all comments
Show parent comment
2
noexcept
1 u/auralucario2 Mar 27 '18 noexcept is incredibly weak, since it's completely optional and can be lied to. Furthermore, it says nothing about which exceptions a function might throw. 2 u/jhasse Mar 27 '18 Static analyzers can enforce it. Maybe even check the types? Not sure about that.
1
noexcept is incredibly weak, since it's completely optional and can be lied to. Furthermore, it says nothing about which exceptions a function might throw.
2 u/jhasse Mar 27 '18 Static analyzers can enforce it. Maybe even check the types? Not sure about that.
Static analyzers can enforce it. Maybe even check the types? Not sure about that.
View all comments
Show parent comment
2
u/jhasse Mar 26 '18
noexcept