Community
Participate
Working Groups
Build Identifier: Version: Indigo Service Release 1 Build id: 20110916-0149 Code analysis fails to evaluate boost::optional's implicit constructor and therefore gives a bogus "Invalid arguments" error for the following code: void DoSomething(boost::optional<int> param); int main(int, char**) { DoSomething(1); return 0; } Reproducible: Always
This works for me on the master branch as of today. Maybe this was fixed with bug 197989?
(In reply to comment #1) > This works for me on the master branch as of today. Maybe this was fixed with > bug 197989? Most likely this is the case, tested with boost 1.46.1. *** This bug has been marked as a duplicate of bug 197989 ***