You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#include<stdint.h>template<typename... Ts>
structInfoArray {
uint8_t Number = sizeof...(Ts);
};
The code above does not compile.
C:\Users\vhtmf\Documents\Arduino\sketch_nov5a\sketch_nov5a.ino:4:20: error: expected ';' at end of member declaration
uint8_t Number = sizeof...(Ts);
^
C:\Users\vhtmf\Documents\Arduino\sketch_nov5a\sketch_nov5a.ino:4:26: error: expected unqualified-id before '...' token
uint8_t Number = sizeof...(Ts);
^
C:\Users\vhtmf\Documents\Arduino\sketch_nov5a\sketch_nov5a.ino:4:20: error: expected primary-expression at end of input
uint8_t Number = sizeof...(Ts);
^
exit status 1
Compilation error: expected ';' at end of member declaration
The text was updated successfully, but these errors were encountered:
The code above does not compile.
The text was updated successfully, but these errors were encountered: