8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e62eb4 commit 41c1c49Copy full SHA for 41c1c49
include/chaiscript/dispatchkit/handle_return.hpp
@@ -115,6 +115,24 @@ namespace chaiscript
115
}
116
};
117
118
+ template<typename Ret>
119
+ struct Handle_Return<Ret *&>
120
+ {
121
+ static Boxed_Value handle(Ret *p)
122
123
+ return Boxed_Value(p, true);
124
+ }
125
+ };
126
+
127
128
+ struct Handle_Return<const Ret *&>
129
130
+ static Boxed_Value handle(const Ret *p)
131
132
133
134
135
136
template<typename Ret>
137
struct Handle_Return<Ret *>
138
{
0 commit comments