'what do three dots(...) in c++ mean ? [closed]

for exmple:
msg is a class whith (operator <<)
msg << ... << args
[source code path][1]

what does three dots (...) imply? anyone know this, please tell me [1]: https://github.com/Kistler-Group/sdbus-cpp/blob/5caea3b72bf783d88c3fa36eb8cf97cc10a71170/include/sdbus-c%2B%2B/Message.h#L295

c++


Solution 1:[1]

This is a template parameter pack (variadic template)

If you search for variadic template c++ you will find many questions on here related to it.

There is also en.cppreference.com.

https://en.cppreference.com/w/cpp/language/variadic_arguments

https://en.cppreference.com/w/cpp/language/parameter_pack

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 FreelanceConsultant