Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on C++'s `Noexcept` Can (Sometimes) Help (Or Hurt) Performance. Parent comment
Take a hypothetical piece of code
some_library_header.h:
void library_function();
void project_function1();
void project_function2();
void project_function2() { /* definition */ // no exception } void test_function1() { library_function(); } void test_function2() { project_function1(); } void test_function3() { project_function2(); }
There are no comments on this comment yet.
Take a hypothetical piece of code
some_library_header.h:
some_project_header_1.h: some_project_header_2.h: some_project_file.cpp: For your question, where are you wanting to know if the compiler can deduce noexcept?