c++ - boost:bad_any_cast: failed conversion using boost:any_cast error -
running issue boost program options. added multiple use option let's call "--opt". when run program.exe command line 2 "--opt" following error boost.
terminating uncaught exception of type boost::exception_detail::clone_impl >: boost::bad_any_cast: failed conversion using boost::any_cast
i unsure causing boost::bad_any_cast. novice when comes c++ , boost. below example of code using , think boost::bad_any_cast might occurring. error appeared after added std::vector
. thoughts issue? or resources point me figure out on own too?
po::value<std::vector<std::string>>()
i aware of this previous question well.
Comments
Post a Comment