> Forgive me if I am way off base, but if this is a "C++11" library why can't > exceptions be used to signal the error? The reasons for exception avoidance in the LLVM codebase hold across C++98 and C++11 equally ( http://llvm.org/docs/CodingStandards.html#ci_rtti_exceptions ) - David