Boost C++ 库

...世界上最受推崇和设计精良的 C++ 库项目之一。 Herb SutterAndrei Alexandrescu,《C++ 编码规范

函数模板 collect_unrecognized - Boost C++ 函数库
PrevUpHomeNext

函数模板 collect_unrecognized

boost::program_options::collect_unrecognized

提要

// In header: <boost/program_options/parsers.hpp>


template<typename charT> 
  std::vector< std::basic_string< charT > > 
  collect_unrecognized(const std::vector< basic_option< charT > > & options, 
                       enum collect_unrecognized_mode mode);

描述

收集所有带有“unregistered”标志的命名选项的原始标记。如果“mode”是“include_positional”,则还会收集所有位置选项。返回所有收集选项的原始标记向量。


PrevUpHomeNext