Skip to content

Commit

Permalink
fixed doxygen issue
Browse files Browse the repository at this point in the history
doxygen doesn't seem to like variadic templates
  • Loading branch information
Gil authored and vigsterkr committed Jan 9, 2019
1 parent 8b4103d commit d676c18
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/shogun/lib/type_case.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ namespace shogun
{
};

#ifndef DOXYGEN_SHOULD_SKIP_THIS
template <typename... Args>
struct Types
{
Expand All @@ -34,6 +35,7 @@ namespace shogun
typedef Types<Args...> Tail;
typedef T1 Head;
};
#endif // DOXYGEN_SHOULD_SKIP_THIS

typedef Types<
bool, char, int8_t, uint8_t, int16_t, uint16_t, int32_t, uint32_t,
Expand Down Expand Up @@ -213,6 +215,7 @@ namespace shogun
"have the signature 'void f(auto value)'");
}
};
#ifndef DOXYGEN_SHOULD_SKIP_THIS
#if defined(_MSC_VER) && _MSC_VER < 1920
template <typename FunctorTraits>
using check_lambda_return = ok;
Expand Down Expand Up @@ -254,6 +257,7 @@ namespace shogun
{
};
#endif
#endif // DOXYGEN_SHOULD_SKIP_THIS

template <typename T, typename FunctorT>
auto final_function_execute(const Any& any, FunctorT func)
Expand Down

0 comments on commit d676c18

Please sign in to comment.