We will use factory methods instead of public constructors The reason for this is the high risk of implicit type conversions between bool/int/pointer types. We rely on copy elision to avoid extra copying.
| 181 | // between bool/int/pointer types. |
| 182 | // We rely on copy elision to avoid extra copying. |
| 183 | static CelValue CreateNull() { return CelValue(NullType()); } |
| 184 | |
| 185 | // Transitional factory for migrating to null types. |
| 186 | static CelValue CreateNullTypedValue() { return CelValue(NullType()); } |