File tree Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -34,6 +34,7 @@ using namespace std;
34
34
#define ALWAYS_INLINE inline
35
35
#define TYPENAME typename
36
36
#define CONSTEXPR constexpr
37
+ #define ALWAYS_INLINE_CONSTEXPR constexpr
37
38
#define NOEXCEPT noexcept
38
39
#define FINAL final
39
40
#define OVERRIDE override
@@ -231,6 +232,9 @@ template<class T> typename remove_reference<T>::type &&move(T &&t) {
231
232
// Fallbacks if features are not supported
232
233
#ifndef CONSTEXPR
233
234
# define CONSTEXPR INLINE
235
+ # define ALWAYS_INLINE_CONSTEXPR ALWAYS_INLINE
236
+ #else
237
+ # define ALWAYS_INLINE_CONSTEXPR ALWAYS_INLINE CONSTEXPR
234
238
#endif
235
239
#ifndef NOEXCEPT
236
240
# define NOEXCEPT
Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ class PointerTo : public PointerToBase<T> {
70
70
public:
71
71
typedef TYPENAME PointerToBase<T>::To To;
72
72
PUBLISHED:
73
- ALWAYS_INLINE CONSTEXPR PointerTo () NOEXCEPT DEFAULT_CTOR;
73
+ ALWAYS_INLINE_CONSTEXPR PointerTo () NOEXCEPT DEFAULT_CTOR;
74
74
ALWAYS_INLINE PointerTo (To *ptr) NOEXCEPT;
75
75
INLINE PointerTo (const PointerTo<T> ©);
76
76
@@ -133,7 +133,7 @@ class ConstPointerTo : public PointerToBase<T> {
133
133
public:
134
134
typedef TYPENAME PointerToBase<T>::To To;
135
135
PUBLISHED:
136
- ALWAYS_INLINE CONSTEXPR ConstPointerTo () NOEXCEPT DEFAULT_CTOR;
136
+ ALWAYS_INLINE_CONSTEXPR ConstPointerTo () NOEXCEPT DEFAULT_CTOR;
137
137
ALWAYS_INLINE ConstPointerTo (const To *ptr) NOEXCEPT;
138
138
INLINE ConstPointerTo (const PointerTo<T> ©);
139
139
INLINE ConstPointerTo (const ConstPointerTo<T> ©);
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ class PointerToBase : public PointerToVoid {
31
31
typedef T To;
32
32
33
33
protected:
34
- ALWAYS_INLINE CONSTEXPR PointerToBase () NOEXCEPT DEFAULT_CTOR;
34
+ ALWAYS_INLINE_CONSTEXPR PointerToBase () NOEXCEPT DEFAULT_CTOR;
35
35
INLINE PointerToBase (To *ptr);
36
36
INLINE PointerToBase (const PointerToBase<T> ©);
37
37
INLINE ~PointerToBase ();
You can’t perform that action at this time.
0 commit comments