Skip to content

A tool, inspired from the Curriously Reccuring Template Pattern idiom, that I developed for my student projects this year.

License

Notifications You must be signed in to change notification settings

dev1ous/One-File-Composite-DP

Repository files navigation

Composite-like leveraging CRTP

A tool, inspired from the Curriously Reccuring Template Pattern idiom, that i developed for my student projects this year. We used it to create a derived class which is used to create buttons quickly, efficiently and at the same time have access to functions, easy to use, to personalize them. The idea was to benefit from the advantages of the composite design pattern, to eliminate virtual functions and having only one header, which makes it easy to integrate with existing project.

Examples

All examples on how to use this tool and the different functions are provided in commentaries or in test.cpp file.

Requirements

  • Please, download the latest version available of Microsoft Visual Studio.
  • You need a compiler who support cpp latest language features and put the language standard on it in "Properties".
  • It has been tested on clang 12.0.1 and MSVC 14.29.30037 versions.
  • You can include the SFML too, if you want to use the button class

Credits

Developed by @dev1ous

Thanks to @Tama-sama for various help( insane programmer ) and @Predatorium for his help to extend the functions in the button class during our student project ( he's a coding machine ).

License

Under the MIT License, see LICENSE for more information.

About

A tool, inspired from the Curriously Reccuring Template Pattern idiom, that I developed for my student projects this year.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published