添加适配器模式
parent
9e0e0ff7ca
commit
0cdd412b6e
|
@ -4,4 +4,13 @@
|
||||||
#ifndef GENERAL_ADAPTER_H
|
#ifndef GENERAL_ADAPTER_H
|
||||||
#define GENERAL_ADAPTER_H
|
#define GENERAL_ADAPTER_H
|
||||||
|
|
||||||
|
template <typename T>
|
||||||
|
class Adapter{
|
||||||
|
T mAdapter;
|
||||||
|
};
|
||||||
|
template <typename T>
|
||||||
|
class Adaptee{
|
||||||
|
|
||||||
|
};
|
||||||
|
|
||||||
#endif //GENERAL_ADAPTER_H
|
#endif //GENERAL_ADAPTER_H
|
||||||
|
|
Loading…
Reference in New Issue