You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Both pxr/base/tf/enum.h and pxr/base/tf/scopeDescription.h provide macros which use the boost preprocessor.
The enum.h usage can be removed in favor of always passing a string since the default argument is an empty string.
The scopeDescription.h usage can be removed in favor of variadic templates. Specific forwarding overloads can be provided to avoid unnecessarily creating new strings if no formatting is needed.
Steps to Reproduce
N/A
System Information (OS, Hardware)
N/A
Package Versions
N/A
Build Flags
N/A
The text was updated successfully, but these errors were encountered:
Description of Issue
Both
pxr/base/tf/enum.h
andpxr/base/tf/scopeDescription.h
provide macros which use the boost preprocessor.The
enum.h
usage can be removed in favor of always passing a string since the default argument is an empty string.The
scopeDescription.h
usage can be removed in favor of variadic templates. Specific forwarding overloads can be provided to avoid unnecessarily creating new strings if no formatting is needed.Steps to Reproduce
N/A
System Information (OS, Hardware)
N/A
Package Versions
N/A
Build Flags
N/A
The text was updated successfully, but these errors were encountered: