|
yeah, i too prefer unique_ptr< ComcreteFactoryAbstractRuleProviderStrategyImplContainer > thing = make_unique< ComcreteFactoryAbstractRuleProviderStrategyImplContainer >(); Over auto thing = make_unique< ComcreteFactoryAbstractRuleProviderStrategyImplContainer >(); Verbosity and repetitions make the code so much clearer
|
# ¿ Jun 3, 2023 10:13 |
|
|
# ¿ May 16, 2024 09:53 |
|
typical review from guy who dislikes auto: auto& thing = Blah::GetInstance().GetThing(); thing.Wank(); "Argh don't use auto we dont know what the type of thing is!!!" Blah::GetInstance().GetThing().Wank(); "Ok "
|
# ¿ Jun 3, 2023 10:26 |