Hi StackOverflow community.
Today I tried to compile a download library, but when I try to add to my project and compile it, I get an error. I've tried some things but nothing fixed this issue.
Let me explain and show the code:
template < typename... K >
Matrix(K ... args)
{
static_assert(std::is_arithmetic< T >::value, "Type T has to be arithmetic!");
m_cValues = std::array< T, T_Rows* T_Cols > { static_cast<T>(args)... }; // This line
}
I didn't see the error. What am I doing wrong?
Thanks in advance.
Best Regards.
Aucun commentaire:
Enregistrer un commentaire