I cannot find in c++ the difference between std::conditional< >::type
and std::conditional_t< >
.
When I compile
using A = typename conditional< true, int, char>::type;
using B = typename conditional_t< true, int, char>::type;
an error: expected nested-name-specifier gets out.
I was unable to use conditional
and nest, while conditional_t
seems to nest.