Re: [Boost-bugs] [Boost C++ Libraries] #13237: BOOST_TEST comparing two char*/wchar_t*

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #13237: BOOST_TEST comparing two char*/wchar_t*
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2017-11-09 22:24:18


#13237: BOOST_TEST comparing two char*/wchar_t*
-----------------------------------+-------------------------------
  Reporter: mikhail.strelnikov@… | Owner: Gennadiy Rozental
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: test
   Version: Boost 1.65.0 | Severity: Problem
Resolution: | Keywords:
-----------------------------------+-------------------------------

Comment (by Raffi Enficiaud):

 This is well explained in the documentation:
 http://www.boost.org/doc/libs/1_65_1/libs/test/doc/html/boost_test/testing_tools/extended_comparison/strings.html

 If you want to compare pointers, maybe you can just use
 {{{
 BOOST_TEST((void*)c1 != (void*)c2);
 }}}
 instead?

-- 
Ticket URL: <https://svn.boost.org/trac10/boost/ticket/13237#comment:1>
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-11-09 22:30:58 UTC