0

I am using the cxxopts library and came across this syntax which compiles fine on my machine, but never saw anything like it. Can someone explain?

 cxxopts::Options options("Hello World", "Argument parsing test");
 options.add_options()
    ("o, obj", "Object File", cxxopts::value<std::string>())         
    ("t, tex", "Texture File", cxxopts::value<std::string>())
    ;
Khalid Akash
  • 197
  • 1
  • 9
  • 1
    @MaartenBodewes, they are similar but not duplicates since [cxxopts](https://github.com/jarro2783/cxxopts) appears to be an unrelated to boost. – R Sahu Jan 27 '19 at 05:56
  • 3
    @RSahu Maybe different libraries, but both apply exactly the same 'trick'... – Aconcagua Jan 27 '19 at 05:59

0 Answers0