|
I'm setting the completion of this incredible tool now but I have trouble understanding these two statements, can someboby explain the meaning of them? Thanks a lot. |
Answered by
Jatana
Feb 3, 2022
Replies: 1 comment 1 reply
|
If, for some reason, you do not want an alias to be expanded, you can specify it in the |
1 reply
Answer selected by
pwn2ooown
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
template_sizeis the number of template arguments a specific class requires. For example,pairrequires two template arguments,vectorrequires one template argument, andintrequires 0 template arguments.If, for some reason, you do not want an alias to be expanded, you can specify it in the
dont_expandoption. For instance, normally,vpiiis expanded intovector<pair<int, int>>. However, if you addpiito thedont_expandlist, thenvpiiwill be expanded only tovector<pii>.