FastBinaryEncoding icon indicating copy to clipboard operation
FastBinaryEncoding copied to clipboard

Generate c++ without exceptions

Open memen45 opened this issue 1 year ago • 6 comments

At several locations in the fbe.cpp file exceptions are thrown. Is it possible to generate code without these exceptions? For example here: https://github.com/chronoxor/FastBinaryEncoding/blob/f2134da843d91137cfc769ed2ca49bcc0010d745/proto/fbe.cpp#L85

I would like to use fbe in an embedded environment, where exceptions are disabled for performance reasons. However, now I am unable to compile the generated c++ code.

memen45 avatar Oct 31 '22 14:10 memen45