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

Popular posts from this blog

jOOQ update returning clause with Oracle -

java - Warning equals/hashCode on @Data annotation lombok with inheritance -

java - BasicPathUsageException: Cannot join to attribute of basic type -