blob: 48c3e141eb91a74bc00120b2b40c6a97f7df994d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#pragma once
namespace floormat {
#define FM_BPTR_DEBUG
//#define FM_NO_WEAK_BPTR
struct bptr_base;
template<typename T> class bptr;
template<typename T> class weak_bptr;
template<typename T> bptr(T* ptr) -> bptr<T>;
#ifndef FM_NO_WEAK_BPTR
template<typename T> weak_bptr(const bptr<T>& ptr) -> weak_bptr<T>;
#endif
} // namespace floormat
|