Advertisement
Guest User

Untitled

a guest
Oct 15th, 2019
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. template <typename InterruptFlag>
  2. struct InterruptFlagIndex {};
  3.  
  4. template <>
  5. struct InterruptFlagIndex<SpellAuraInterruptFlags>
  6. {
  7. static std::size_t constexpr value = 0;
  8. };
  9.  
  10. template <>
  11. struct InterruptFlagIndex<SpellAuraInterruptFlags2>
  12. {
  13. static std::size_t constexpr value = 1;
  14. };
  15.  
  16. template <>
  17. struct InterruptFlagIndex<SpellChannelInterruptFlags>
  18. {
  19. static std::size_t constexpr value = 0;
  20. };
  21.  
  22. template <>
  23. struct InterruptFlagIndex<SpellChannelInterruptFlags2>
  24. {
  25. static std::size_t constexpr value = 1;
  26. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement