You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For a minimal working example, consider the first BOOST_DATA_TEST_CASE example that appears in the "Operations on datasets" page of the documentation. This example will not compile if the variable var is renamed to t. It seems that only t is affected, because the example compiles fine if t is replaced by any other letter.
I have asked about this on StackOverflow where the user "sehe" identified what is causing the errors: there is a line test1case t; in the expansion of the macro which is creating a conflict.
The text was updated successfully, but these errors were encountered:
circuitPolys
changed the title
BOOST_DATA_TEST_CASE fails when a variable t is present
BOOST_DATA_TEST_CASE doesn't compile when a variable t is present
Jun 26, 2023
For a minimal working example, consider the first BOOST_DATA_TEST_CASE example that appears in the "Operations on datasets" page of the documentation. This example will not compile if the variable
var
is renamed tot
. It seems that onlyt
is affected, because the example compiles fine ift
is replaced by any other letter.I have asked about this on StackOverflow where the user "sehe" identified what is causing the errors: there is a line
test1case t;
in the expansion of the macro which is creating a conflict.The text was updated successfully, but these errors were encountered: