Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/factory and interface #4

Merged
merged 5 commits into from Dec 2, 2021
Merged

Conversation

polarene
Copy link
Owner

@polarene polarene commented Dec 2, 2021

Added top-level factory functions to create template instances and decouple the client from concrete implementations. Existing classes have been retrofitted to a common interface Template<T>.

mmirk added 5 commits November 17, 2021 08:30
Introduces the Template interface to declare common behavior of the template implementations.
Factory functions are then provided to decouple the user from concrete classes.
Declared an explicit Template return type on the factory functions to decouple client code from concrete classes. Updated tests to show it.
@polarene polarene merged commit 8ba6f20 into master Dec 2, 2021
@polarene polarene deleted the feature/factory-and-interface branch December 2, 2021 08:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant