Closed cprodescu closed 10 years ago
Code in the form:
unique_ptr<Foo> foo;
can be replaced with
Foo foo;
unless there may be multiple constructors for Foo and polymorphic behavior is desired. MeaningDictionary and IndexBuilder should be simplified since they do not require polymorphism.
Foo
MeaningDictionary
IndexBuilder
Code in the form:
can be replaced with
unless there may be multiple constructors for
Foo
and polymorphic behavior is desired.MeaningDictionary
andIndexBuilder
should be simplified since they do not require polymorphism.