Hello. In support of reducing the OpenUSD’s dependency on boost, we’re considering removing support for token arrays from the macros in
The documentation for the static token macros shows the following sequence macro.
#define MF_TOKENS \ (transform) \ (moves) \ ((foo, "bar")) \ ((amountTs, ( (tx) (ty) (tz) )))
The current specified behavior is that
tz will become tokens (with their identifier stringified into their value) and
amountTs will be defined as a
tz. This functionality isn’t used in the open source repository and requires
We’re considering removing this functionality (perhaps as early as 24.02) to remove the dependency on
BOOST_PP_SEQ_FILTER. Does anyone have any external use cases that require this functionality or other concerns / thoughts?
Without this functionality
MF_TOKENS would look like this
#define MF_TOKENS \ (transform) \ (moves) \ ((foo, "bar")) \ (tx) \ (ty) \ (tz)
amountTs would be defined elsewhere. This change would not affect the generation of the
Thanks in advance,