May 2017
Intermediate to advanced
590 pages
17h 18m
English
Use the following constructs to specify or query exception specifications:
void func_no_throw() noexcept { }
template <typename T> T generic_func_1() noexcept(std::is_nothrow_constructible<T>::value) { return T{}; }
template <typename T> T generic_func_2() noexcept(noexcept(T{})) { return T{}; } template <typename F, typename ...Read now
Unlock full access