projects
/
trackerpp.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
9b135843266a7433caabc57b2b28816390586d53
[trackerpp.git]
/
src
/
SharedPtr.h
1
#ifndef _SHARED_PTR_H_
2
#define _SHARED_PTR_H_
3
4
#include <memory>
5
#ifndef TK_DECLARE_PTR
6
#define TK_DECLARE_PTR(className) \
7
class className; \
8
typedef std::shared_ptr<className> className##Ptr; \
9
typedef std::weak_ptr<className> className##WPtr;
10
#endif
11
12
#endif /* _SHARED_PTR_H_ */