add arma_config::zero_init

This commit is contained in:
conrad
2022-04-19 14:48:18 +10:00
parent 05ca294ef7
commit c83fb3c635
+7
View File
@@ -209,6 +209,13 @@ struct arma_config
#endif
#if (!defined(ARMA_DONT_ZERO_INIT))
static constexpr bool zero_init = true;
#else
static constexpr bool zero_init = false;
#endif
static constexpr uword warn_level = (sword(ARMA_WARN_LEVEL) > 0) ? uword(ARMA_WARN_LEVEL) : 0;
};