9 Sep
2017
9 Sep
'17
3:57 p.m.
On Sat, Sep 9, 2017 at 7:50 AM, James E. King, III via Boost
BOOST_ASSERT_ASSIGN_OR_IGNORE(std::codecvt_base::result r) m_codecvt_facet.out( m_mbs, & value, & value + 1, wend, m_buffer, m_buffer + sizeof(m_buffer), bend ); BOOST_ASSERT(std::codecvt_base::ok == r);
Try: BOOST_VERIFY( m_codecvt_facet.out( m_mbs, & value, & value + 1, wend, m_buffer, m_buffer + sizeof(m_buffer), bend) == std::codecvt_base::ok); Reference: http://www.boost.org/doc/libs/1_64_0/libs/assert/assert.html