allow providing assertion detail using operator <<
Registered by
blep
Adds support for operator << to provide assertion message instead of the current extra string parameter. This can be done by adding support for operator << to CppUT::
Basically, we want to be able to write:
CPPUT_ASSERT( x % 2 == 0 ) << "Value should be even: " << x;
Blueprint information
- Status:
- Not started
- Approver:
- None
- Priority:
- Low
- Drafter:
- None
- Direction:
- Needs approval
- Assignee:
- None
- Definition:
- Approved
- Series goal:
- Accepted for 0.1-essence
- Implementation:
- Not started
- Milestone target:
- v0.1.0
- Started by
- Completed by
Related branches
Related bugs
Sprints
Whiteboard
Needs to strenghen the use case. It is somewhat reduntant with custom predicates.
(?)
Work Items
Dependency tree
* Blueprints in grey have been implemented.