| 47 | |
| 48 | static constexpr const char kTypeName[] = "CastOptions"; |
| 49 | static CastOptions Safe(TypeHolder to_type = {}) { |
| 50 | CastOptions safe(true); |
| 51 | safe.to_type = std::move(to_type); |
| 52 | return safe; |
| 53 | } |
| 54 | |
| 55 | static CastOptions Unsafe(TypeHolder to_type = {}) { |
| 56 | CastOptions unsafe(false); |
no outgoing calls