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
The following test class demonstrates some ways to initialize data in classes. The only one that is accepted by c2nim is equalsInit.
classDataClass {
int equalsInit = 1;
int bracedInit{1};
int aggriateInit[2] = {1,2}; //Could be struct, etc., not just arrays.
std::string directInit("Foo");
};
The text was updated successfully, but these errors were encountered:
The following test class demonstrates some ways to initialize data in classes. The only one that is accepted by c2nim is equalsInit.
The text was updated successfully, but these errors were encountered: