Skip to content

Commit ac89203

Browse files
committed
inline static?
1 parent e1c48f2 commit ac89203

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

include/boost/openmethod/core.hpp

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1257,7 +1257,8 @@ class method<Name, ReturnType(Parameters...), Registry>
12571257
//! _Overrider_ was not present. Set to `nullptr` if no such overrider exists.
12581258

12591259
template<auto Overrider>
1260-
static FunctionPointer next;
1260+
inline static ReturnType (*next)(
1261+
BOOST_OPENMETHOD_DETAIL_REMOVE_VIRTUAL_(Parameters)...);
12611262

12621263
template<auto>
12631264
static bool has_next();
@@ -1344,11 +1345,11 @@ template<
13441345
method<Name, ReturnType(Parameters...), Registry>
13451346
method<Name, ReturnType(Parameters...), Registry>::fn;
13461347

1347-
template<
1348-
typename Name, typename... Parameters, typename ReturnType, class Registry>
1349-
template<auto>
1350-
typename method<Name, ReturnType(Parameters...), Registry>::FunctionPointer
1351-
method<Name, ReturnType(Parameters...), Registry>::next;
1348+
// template<
1349+
// typename Name, typename... Parameters, typename ReturnType, class Registry>
1350+
// template<auto>
1351+
// typename method<Name, ReturnType(Parameters...), Registry>::FunctionPointer
1352+
// method<Name, ReturnType(Parameters...), Registry>::next;
13521353

13531354
template<typename T>
13541355
constexpr bool is_method = std::is_base_of_v<detail::method_info, T>;

0 commit comments

Comments
 (0)