Re: [Boost-bugs] [Boost C++ Libraries] #2561: Command line string splitting in Unix

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #2561: Command line string splitting in Unix
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-11-27 17:42:41


#2561: Command line string splitting in Unix
------------------------------------------------+---------------------------
 Reporter: Vitaly Grechko <vitaly@…> | Owner: s_ochsenknecht
     Type: Feature Requests | Status: assigned
Milestone: Boost 1.42.0 | Component: program_options
  Version: Boost 1.37.0 | Severity: Problem
 Keywords: |
------------------------------------------------+---------------------------

Comment(by s_ochsenknecht):

 I added a general split function which can split a given string at a
 defined set of character. The result is then stored in a vector of strings
 which is returned which can be passed to the command line option parser.

 I also added a test case for it test/split_test.cpp which should describe
 from the user point of view how this function works.

 For more complex spitting the user has to provide its own implementation.

 Hope it is useful

 Cheers,
 Sascha

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/2561#comment:2>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:01 UTC