Monday, December 10. 2012Overloading a variadic function so you can pass zero variadic argumentsTrackbacks
Trackback specific URI for this entry
No Trackbacks
Comments
Display comments as
(Linear | Threaded)
You could also assign a default value of null::int[] to the variadic argument, this would negate the need to overload (not that overloading is bad, but just another way to achieve the same end result) Good point - I hadn't thought of doing that for a variadic parameter. Thanks. |
My Links etcBlog AdministrationCalendar
QuicksearchArchivesCategories |
|||||||||||||||||||||||||||||||||||||||||||||||||