|
cesium-native 0.52.0
|
Trivially converts any type to itself. More...
#include <CesiumGltf/MetadataConversions.h>
Static Public Member Functions | |
| static std::optional< T > | convert (T from) |
Converts an instance of T to an instance of T, always returning the same value that was passed in. | |
| static std::optional< T > | convert (T) |
Converts between TFrom and TTo where no actual conversion is defined, returning std::nullopt. | |
Trivially converts any type to itself.
Definition at line 32 of file MetadataConversions.h.
|
inlinestatic |
Converts an instance of T to an instance of T, always returning the same value that was passed in.
Definition at line 37 of file MetadataConversions.h.
|
inlinestatic |
Converts between TFrom and TTo where no actual conversion is defined, returning std::nullopt.
Definition at line 26 of file MetadataConversions.h.