Commit graph

2 commits

Author SHA1 Message Date
luz.paz
3754d597b8 Fix some typos 2019-09-16 07:46:29 -04:00
Matthew White
818f045820 Add variadic template function regression tests
* testing/069_link_variadic_template.cpp: new file, @link regression
  test for variadic template function
* testing/069/069__link__variadic__template_8cpp.xml: new file, expected
  @link regression test result for variadic template function
* testing/070_ref_variadic_template.cpp: new file, @ref regression
  test for variadic template function
* testing/070/070__ref__variadic__template_8cpp.xml: new file, expected
  @ref regression test result for variadic template function

At the time of writing, the part between <> is totally ignored:
func<Args...>(Args... args) is interpreted as func(Args... args).

Beware that a function parameter with either a & or * operator, e.g.
'const Args&... args', requires @link and @ref to use such parameter
as verbatim, i.e. {@link func(const Args&... args)}.  At the time of
writing, the form {@link func(const Args&...)} will fail, unless the
function parameter was declared just as 'const Args&...'.
2017-08-03 05:38:51 +02:00