Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/manid2/design-patterns

Example implementations of design patterns in C++.
https://github.com/manid2/design-patterns

Last synced: 25 days ago
JSON representation

Example implementations of design patterns in C++.

Awesome Lists containing this project

README

        

Design Patterns in C++
======================

Example implementations of design patterns in C++ to help prepare for
interviews and use it software development tasks.

Build & test
------------

This repository uses Gnu Makefile to build & test, format source code.

```bash
make Singleton # build a test binary from .cpp source file
make Singleton-check # run the test binary
make Singleton-format # format .cpp source file

SHOW_TEST_OUTPUT=1 make Singleton-check # run test with debug output
```

Test output format
------------------

```text
$ make -check # run the test binary
Test Design Pattern with N tests.
```

Credits
-------

* [pezy/DesignPatterns][1]: most code is borrowed from this repository.

[1]: https://github.com/pezy/DesignPatterns