billyquith / ponder

C++ reflection library with Lua binding, and JSON and XML serialisation.
http://billyquith.github.io/ponder/
Other
633 stars 92 forks source link

Replace exceptions with tryGet #123

Open billyquith opened 3 years ago

billyquith commented 3 years ago

Users would prefer not to have to use exceptions (see #53). Use "tryGet" mechanism to get values instead of throwing exceptions. Exceptions are inefficient and wrapping them is tedious. Also some applications (like games) don't want to use exceptions at all.