Optionals in Boost 1.56 don't support implicit conversion to bool

Bug #1390971 reported by Thomas Glamsch
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Leaf
Won't Fix
Undecided
Unassigned

Bug Description

As of Boost 1.56, the operator bool() of optionals is explicit.

Since I didn't know which cast style you'd prefer, I've attached three patches, one using double negation, one with constructor-style casts, and one with c-style casts.

Revision history for this message
Thomas Glamsch (thomas-glamsch) wrote :
edA-qa (eda-qa)
Changed in leaflang:
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.