Merge pull request #7675 from ethereum/memberInitializeInCodingStyle

Member initialize PODs in CODING_STYLE.md.
This commit is contained in:
chriseth 2019-11-11 13:42:58 +01:00 committed by GitHub
commit 7c7cca5f2d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -135,12 +135,12 @@ enum class Accuracy
};
struct MeanSigma
{
float mean;
float standardDeviation;
float mean = 0.0f;
float standardDeviation = 1.0f;
};
double const d = 0;
int i;
int j;
int i = 0;
int j = 0;
char* s;
MeanAndSigma ms meanAndSigma(std::vector<float> const& _v, Accuracy _a);
Derived* x = dynamic_cast<Derived*>(base);