I was going through a code for video coding (HEVC test model HM 4.0), I found a very strange code as given below:Please see the complete code in the following URL. ( code is too big to be pasted here)
A set of parameters ( file I/O parameters) are enclosed in simple braces and are simply written line by line . What is the format ? I didn't get any idea.How the Input parameters are read and passed to appropriate functions?
Note that the statement on line 111 go all the way until line 260 where you find the semicolon. addOptions() probably returns an object that has operator() defined that returns a reference to the same object. This is similar how you can print multiple things with cout by using operator<<.