variadic
美
英 
- 網(wǎng)絡(luò)可變;可變的;可變參數(shù)函數(shù)
例句
Vimscript allows you to define both explicit parameters and variadic parameter lists, and even combinations of the two.
Vimscript允許您定義顯式參數(shù)和可變參數(shù)列表,甚至可以將兩者結(jié)合起來。
Named and variadic parameters can be used in the same function, simply by placing the variadic ellipsis after the list of named parameters.
可以在同一個函數(shù)中同時使用命名參數(shù)和可變參數(shù),只需要將可變參數(shù)的省略號放在命名參數(shù)列表之后。
Listing 5 shows the same function, but with its options specified via a dictionary, rather than with variadic parameters.
清單5顯示了相同的函數(shù),但是使用的是通過字典,而不是可變參數(shù)指定的選項(xiàng)。
GNU CPP has two further variadic macro extensions, and permits them to be used with either of the above forms of macro definition.
GNUCPP還有兩種更復(fù)雜的宏擴(kuò)展,支持上面兩種格式的定義格式。
Only available on compilers with support for variadic template arguments and rvalue references.
僅在支持可變參數(shù)模板和右值引用的編譯器上可用。
Listing 21 shows how you can print the arguments of a variadic function template.
清單21演示如何輸出可變參數(shù)函數(shù)模板的參數(shù)。
Combining named and variadic parameters
結(jié)合命名參數(shù)和可變參數(shù)
ISO C does not permit named variadic macros
ISOC不允許有名的可變參數(shù)宏