|
MIRA
|
Helper to show a warning at compile time if DelegateTo is missing in IsTransparentSerializable<DelegatingType>. More...
#include <serialization/RecursiveMemberReflector.h>
Helper to show a warning at compile time if DelegateTo is missing in IsTransparentSerializable<DelegatingType>.
Calling TransparentMissingDelegateTo<T, SerializerTag>::warn() will issue a warning at compile time and do nothing at runtime. Define the type DelegateTo in the specialization of IsTransparentSerializable to solve the issue. Some reflectors depend on inferring this type to implement certain functionality.
If that definition is not possible (because e.g it cannot be decided at compile time), the warning can be suppressed by specializing TransparentMissingDelegateTo:
1.8.14