C++17 is_integral trait implementation
I tested with the cases of standard integral types (expecting true,) standard floating point types (expecting false,) user-defined types convertible to some standard integral type (expecting false.) All tests passed.


You should have tested with all the other kinds of types in C++. Reference types, pointer types, enum types, nullptr_t, void, pointer-to-member types, etc. etc.

Your is_integral incorrectly reports that int&amp; is an integral type. (Godbolt.)

It's not a hard fix, of course; but the code-review feedback is "Write more tests."