[MPL] libs/mpl/test/bool.cpp

18 Feb
2006
18 Feb
'06
3:11 p.m.
This file contains a use of a runtime assert(), but none of the MPL tests are ever run. It would be better to use any construct that would at least cause the check to compile in release mode, e.g. (void)(condition), and best, I suppose, to actually run the test. Agreed? -- Dave Abrahams Boost Consulting www.boost-consulting.com

20 Feb
20 Feb
4:51 a.m.
David Abrahams <dave@boost-consulting.com> writes:
This file contains a use of a runtime assert(), but none of the MPL tests are ever run.
FWIW, "for_each.cpp" is.
It would be better to use any construct that would at least cause the check to compile in release mode, e.g. (void)(condition), and best, I suppose, to actually run the test. Agreed?
100%. -- Aleksey Gurtovoy MetaCommunications Engineering
7096
Age (days ago)
7098
Last active (days ago)
1 comments
2 participants
participants (2)
-
Aleksey Gurtovoy
-
David Abrahams