mirror of
https://github.com/huihut/interview.git
synced 2024-03-22 13:10:48 +08:00
15 lines
263 B
C
15 lines
263 B
C
//
|
|
// Created by xiemenghui on 2018/7/20.
|
|
//
|
|
|
|
#ifndef DESIGNPATTERN_FACTORYMAIN_H
|
|
#define DESIGNPATTERN_FACTORYMAIN_H
|
|
|
|
#ifndef SAFE_DELETE
|
|
#define SAFE_DELETE(p) { if(p) {delete(p); (p)=nullptr;}}
|
|
#endif
|
|
|
|
void FactoryMain();
|
|
|
|
#endif //DESIGNPATTERN_FACTORYMAIN_H
|