Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Patnaik__Bvsk
Beginner
62 Views

std::is_function ignores noexcept variants

This is my first time posting on the forum. So please correct me if I do not conform to the forum's guidelines.

Code snippet

#include <type_traits>
static_assert(std::is_function_v<void() noexcept>);

I do not have any OS information since I used icc v19.01 from godbolt.org.

This static assert fails with icc v19 but the same is not the case with gcc or clang compilers. Compiler flags used -std=c++17 -O3

Is this issue fixed in a later version? If yes, which version is this fixed? How would I retrieve such information in the future when required? Thanks!!!

0 Kudos
1 Reply
Viet_H_Intel
Moderator
62 Views

I checked the latest version and the issue is still seen.

I've reported it to our Developer (CMPLRIL0-32401) . Will keep you updated.

Reply