Boost C++ 库

...世界上评价最高、设计最精湛的 C++ 库项目之一。 Herb SutterAndrei Alexandrescu, C++ Coding Standards

函数模板 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