BOOST_TEST_STRING_VIEW
Hi Boost Users, Does anyone know what BOOST_TEST_STRING_VIEW is for? Kind regards, Leo
On Tue, 10 Mar 2020 at 03:35, Leo Carreon via Boost-users
Hi Boost Users,
Does anyone know what BOOST_TEST_STRING_VIEW is for?
You can get an idea by inspecting the handful of places https://github.com/boostorg/test/search?q=BOOST_TEST_STRING_VIEW Here is also a comment that may clarify things https://github.com/boostorg/test/blob/d67b6433098c891a3e0944ae878d3caad70be8... I'd suggest you to open an issue with request to document the macro https://github.com/boostorg/test/issues Best regards, -- Mateusz Loskot, http://mateusz.loskot.net
On 10.03.20 03:35, Leo Carreon via Boost-users wrote:
Hi Boost Users, Does anyone know what BOOST_TEST_STRING_VIEW is for? Kind regards, Leo
This is a "define" that indicates that string view comparison is supported in Boost.Test (as any string type comparison within BOOST_TEST macro). It does not go to the ABI of Boost.Test, and is evaluated during the compilation of the test module. Raffi
participants (3)
-
Leo Carreon
-
Mateusz Loskot
-
Raffi Enficiaud