PixarAnimationStudios / OpenUSD

Universal Scene Description
http://www.openusd.org
Other
5.45k stars 1.13k forks source link

Replace `boost::bad_get` with new exception type #3027

Closed nvmkuruc closed 1 month ago

nvmkuruc commented 1 month ago

Description of Change(s)

(Requires #3005)

boost::variant is no longer used in OpenUSD. Its associated exception boost::bad_get is being used to signal that a conversion error has occurred during the parse. This replaces usage of boost::bad_get with a new exception type ConversionError and removes the last non-python usage of boost in sdf.

Fixes Issue(s)

-

jesschimein commented 1 month ago

Filed as internal issue #USD-9506

jesschimein commented 1 month ago

/AzurePipelines run

azure-pipelines[bot] commented 1 month ago
Azure Pipelines successfully started running 1 pipeline(s).
spiffmon commented 1 month ago

THanks, @nvmkuruc ! It turns out Alex had a change already sitting in his tree that deboostifies the existing sdf parser code, so we'll get that in ASAP, and plan on pulling this in after we've moved to PEGTL. Not sure if our change will cause conflicts for yours.

nvmkuruc commented 1 month ago

We'll just adapt the PEGTL change whenever you do the next dev push.