Optionals in Boost 1.56 don't support implicit conversion to bool
Bug #1390971 reported by
Thomas Glamsch
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.
Changed in leaflang: | |
status: | New → Won't Fix |
To post a comment you must log in.