boost::program_options config file option with multiple tokens

前端 未结 3 1435
迷失自我
迷失自我 2021-02-07 10:17

I can not seem to be able to read from config file multitoken options like I can from command line. What is the syntax for the config file?

This is how the option descri

3条回答
  •  误落风尘
    2021-02-07 10:36

    In your configuration file, put each element of your vector on a different line.

    coordinate=1
    coordinate=2
    

提交回复
热议问题