Search code examples
c++portabilityboost-program-options

Program option library for portable code


I have a portable code running on Visual C++ 2008 and RHEL 5.3 (gcc 4.x.x).

My program should accept command line arguments. I consider using some library for that task. My candidats are:

  1. Boost program options
  2. ACE has this capability too

(1) is not in standard and as for (2) we already using it heavily for other tasks. Which is prefered one? Maybe there're other libraries out there?


Solution

  • I like a lot boost::PO, but I never used ACE, so I can't compare.

    You're saying that boost is not a standard, but is it really a problem? Many people consider it as almost a standard. At least it isn't any exotic library.