Skip to content

Commit 098c3ea

Browse files
committed
update doc
1 parent 99291a3 commit 098c3ea

3 files changed

Lines changed: 9 additions & 2 deletions

File tree

docs/uml/patterns_structural_bridge.drawio.svg

Lines changed: 1 addition & 1 deletion
Loading

src/patterns/structural/Adapter.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1+
// Adapters make legacy code work with modern classes.
2+
// UML: docs/uml/patterns_structural_adapter.drawio.svg
3+
14
#include <iostream>
25

3-
// Adapters make legacy code work with modern classes.
46
namespace AdapterPattern
57
{
68
/**

src/patterns/structural/Bridge.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
// Bridge lets we split a large class or a set of closely related classes
2+
// into two separate hierarchies—abstraction and implementation
3+
// which can be developed independently of each other.
4+
// UML: docs/uml/patterns_structural_bridge.drawio.svg
5+
16
#include <iostream>
27

38
namespace Problem

0 commit comments

Comments
 (0)