BOOST_FOREACH prevent 100% code coverage
Marcin Zawadzki
zaba.marcin@gmail.com
Fri Oct 12 06:53:00 GMT 2012
Hi,
I'm using BOOST_FOREACH in my code. And because it's macro so the
whole code behind the macro is inserted in place where it's used. So
finally when generating code coverage using gcc/gcov for my file it
says that I have not covered branches in line with BOOST_FOREACH.
And the question is - is it possible to somehow exclude BOOST_FOREACH
form coverage results?
Thanks,
Marcin
More information about the Gcc-help
mailing list