summaryrefslogtreecommitdiff
path: root/tests/headers/template_partial_specification.hpp
blob: fe1be658685238aa1167d2b70ab5e366c104da83 (plain)
1
2
3
4
5
6
7
8
9
10
// bindgen-flags: -- --target=x86_64-pc-win32

template<typename Method, bool Cancelable>
struct nsRunnableMethodTraits;

template<class C, typename R, bool Cancelable, typename... As>
struct nsRunnableMethodTraits<R(C::*)(As...), Cancelable>
{
  static const bool can_cancel = Cancelable;
};