The ns-3 Network Simulator Project

Find templatized code that can be converted into Variadic template and convert it

ns-3 source code uses C++ templates. Some of them have multiple versions with accepting the different number of arguments. Using such templates make code base redundant. These templates can be converted to use the variadic templates.

A sample conversion is shown here: https://gitlab.com/nsnam/ns-3-dev/merge_requests/147

Learn more about variadic templates: https://eli.thegreenplace.net/2014/variadic-templates-in-c/

Note: Do not post your solution in public forums. It will be considered as plagiarism.

Task tags

  • templates
  • c++

Students who completed this task

Kr0n0s, InquisitivePenguin, SaiMyGuy, hax0kartik

Task type

  • code Code
close

2019