I am having trouble with C++. I want to be able to put an expression inside a template as an argument. Here is my code:
#include using names
Use std::conditional:
std::conditional
#include <type_traits> std::vector<std::conditional<(1 > 0), float, int>::type> abc() {}