添加适配器模式

master
a7458969 2020-05-20 14:06:17 +08:00
parent 9e0e0ff7ca
commit 0cdd412b6e
1 changed files with 9 additions and 0 deletions

View File

@ -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