google / cel-cpp

Fast, portable, non-Turing complete expression evaluation (C++)
https://cel.dev
Apache License 2.0
168 stars 48 forks source link

moves vector operations to a location where they're operating on complete types #829

Closed copybara-service[bot] closed 2 months ago

copybara-service[bot] commented 2 months ago

moves vector operations to a location where they're operating on complete types

Several JSON types form members to a vector of an incomplete type, which is not allowed. libc++ has historically turned a blind eye here, but an incoming patch will cause these types to break. This commit intends to get in front of that libc++ change by moving all function definitions that reference vectors to after all JSON objects are defined.