Subject: Re: [Boost-bugs] [Boost C++ Libraries] #773: program_options find assert fails with multibyte characters
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-12-06 16:56:44
#773: program_options find assert fails with multibyte characters
---------------------+------------------------------------------------------
Reporter: nobody | Owner: vladimir_prus
Type: Bugs | Status: reopened
Milestone: | Component: program_options
Version: None | Severity: Problem
Resolution: | Keywords:
---------------------+------------------------------------------------------
Comment(by s_ochsenknecht):
better use:
{{{
assert(n == (name.size() - 2*sizeof(std::string::value_type)));
}}}
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/773#comment:9> 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:02 UTC