diff options
| author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2018-06-16 18:23:36 +0900 |
|---|---|---|
| committer | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2018-06-16 18:23:36 +0900 |
| commit | 71c0eb6b1ac07779bfe801469f50d41f5852131e (patch) | |
| tree | a7655f6292b7416af91fe5963dd07baf4baac4fa /sphinx/domains/cpp.py | |
| parent | 0016bccb676e09538e311d2fa1fa6e3c71703955 (diff) | |
| parent | 62b6d209dc181978f202172e7338dabfdf21e1f4 (diff) | |
| download | sphinx-git-71c0eb6b1ac07779bfe801469f50d41f5852131e.tar.gz | |
Merge branch '1.7'
Diffstat (limited to 'sphinx/domains/cpp.py')
| -rw-r--r-- | sphinx/domains/cpp.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sphinx/domains/cpp.py b/sphinx/domains/cpp.py index f2ff3aa0b..aebc5d245 100644 --- a/sphinx/domains/cpp.py +++ b/sphinx/domains/cpp.py @@ -3566,6 +3566,9 @@ class Symbol(object): # and params that are packs must in the args be the name expanded if len(templateParams.params) != len(templateArgs.args): return True + # having no template params and no arguments is also a specialization + if len(templateParams.params) == 0: + return True for i in range(len(templateParams.params)): param = templateParams.params[i] arg = templateArgs.args[i] |
