Sane way of testing template specialization?
- static_assert
- temporarily = delete your T overload, so that if you're calling something, it must be the tuple overload.
- if constexpr
ref: cppref if statement
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.