From 84234fa09181baf1efff3bd303b729b05ae7e21a Mon Sep 17 00:00:00 2001 From: Protobuf Team Bot Date: Mon, 15 May 2023 23:23:44 +0000 Subject: [PATCH] Auto-generate files after cl/532258101 --- src/google/protobuf/any.pb.cc | 1 + src/google/protobuf/any.pb.h | 1 + src/google/protobuf/api.pb.cc | 3 +++ src/google/protobuf/api.pb.h | 3 +++ src/google/protobuf/duration.pb.cc | 1 + src/google/protobuf/duration.pb.h | 1 + src/google/protobuf/empty.pb.cc | 1 + src/google/protobuf/empty.pb.h | 1 + src/google/protobuf/field_mask.pb.cc | 1 + src/google/protobuf/field_mask.pb.h | 1 + src/google/protobuf/source_context.pb.cc | 1 + src/google/protobuf/source_context.pb.h | 1 + src/google/protobuf/struct.pb.cc | 4 ++++ src/google/protobuf/struct.pb.h | 4 ++++ src/google/protobuf/timestamp.pb.cc | 1 + src/google/protobuf/timestamp.pb.h | 1 + src/google/protobuf/type.pb.cc | 5 +++++ src/google/protobuf/type.pb.h | 5 +++++ src/google/protobuf/wrappers.pb.cc | 9 +++++++++ src/google/protobuf/wrappers.pb.h | 9 +++++++++ 20 files changed, 54 insertions(+) diff --git a/src/google/protobuf/any.pb.cc b/src/google/protobuf/any.pb.cc index 3cb9fa111d..15fa5ea03b 100644 --- a/src/google/protobuf/any.pb.cc +++ b/src/google/protobuf/any.pb.cc @@ -26,6 +26,7 @@ namespace _fl = ::google::protobuf::internal::field_layout; #endif // __llvm__ namespace google { namespace protobuf { + template PROTOBUF_CONSTEXPR Any::Any(::_pbi::ConstantInitialized) : _impl_{ /*decltype(_impl_.type_url_)*/ { diff --git a/src/google/protobuf/any.pb.h b/src/google/protobuf/any.pb.h index 1f030c301f..f7fc1ff03b 100644 --- a/src/google/protobuf/any.pb.h +++ b/src/google/protobuf/any.pb.h @@ -76,6 +76,7 @@ class PROTOBUF_EXPORT Any final : public: inline Any() : Any(nullptr) {} ~Any() override; + template explicit PROTOBUF_CONSTEXPR Any(::google::protobuf::internal::ConstantInitialized); Any(const Any& from); diff --git a/src/google/protobuf/api.pb.cc b/src/google/protobuf/api.pb.cc index 6a7a8d4c77..8e3dad5da8 100644 --- a/src/google/protobuf/api.pb.cc +++ b/src/google/protobuf/api.pb.cc @@ -22,6 +22,7 @@ namespace _pbi = ::google::protobuf::internal; namespace _fl = ::google::protobuf::internal::field_layout; namespace google { namespace protobuf { + template PROTOBUF_CONSTEXPR Api::Api(::_pbi::ConstantInitialized) : _impl_{ /*decltype(_impl_._has_bits_)*/ {}, @@ -50,6 +51,7 @@ struct ApiDefaultTypeInternal { PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ApiDefaultTypeInternal _Api_default_instance_; + template PROTOBUF_CONSTEXPR Method::Method(::_pbi::ConstantInitialized) : _impl_{ /*decltype(_impl_.options_)*/ {}, @@ -80,6 +82,7 @@ struct MethodDefaultTypeInternal { PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MethodDefaultTypeInternal _Method_default_instance_; + template PROTOBUF_CONSTEXPR Mixin::Mixin(::_pbi::ConstantInitialized) : _impl_{ /*decltype(_impl_.name_)*/ { diff --git a/src/google/protobuf/api.pb.h b/src/google/protobuf/api.pb.h index 7b355fcf38..8f9e22be7b 100644 --- a/src/google/protobuf/api.pb.h +++ b/src/google/protobuf/api.pb.h @@ -88,6 +88,7 @@ class PROTOBUF_EXPORT Api final : public: inline Api() : Api(nullptr) {} ~Api() override; + template explicit PROTOBUF_CONSTEXPR Api(::google::protobuf::internal::ConstantInitialized); Api(const Api& from); @@ -358,6 +359,7 @@ class PROTOBUF_EXPORT Method final : public: inline Method() : Method(nullptr) {} ~Method() override; + template explicit PROTOBUF_CONSTEXPR Method(::google::protobuf::internal::ConstantInitialized); Method(const Method& from); @@ -612,6 +614,7 @@ class PROTOBUF_EXPORT Mixin final : public: inline Mixin() : Mixin(nullptr) {} ~Mixin() override; + template explicit PROTOBUF_CONSTEXPR Mixin(::google::protobuf::internal::ConstantInitialized); Mixin(const Mixin& from); diff --git a/src/google/protobuf/duration.pb.cc b/src/google/protobuf/duration.pb.cc index d49a9f6089..fd2a232142 100644 --- a/src/google/protobuf/duration.pb.cc +++ b/src/google/protobuf/duration.pb.cc @@ -22,6 +22,7 @@ namespace _pbi = ::google::protobuf::internal; namespace _fl = ::google::protobuf::internal::field_layout; namespace google { namespace protobuf { + template PROTOBUF_CONSTEXPR Duration::Duration(::_pbi::ConstantInitialized) : _impl_{ /*decltype(_impl_.seconds_)*/ ::int64_t{0}, diff --git a/src/google/protobuf/duration.pb.h b/src/google/protobuf/duration.pb.h index ed3c09829b..64d1561369 100644 --- a/src/google/protobuf/duration.pb.h +++ b/src/google/protobuf/duration.pb.h @@ -76,6 +76,7 @@ class PROTOBUF_EXPORT Duration final : public: inline Duration() : Duration(nullptr) {} ~Duration() override; + template explicit PROTOBUF_CONSTEXPR Duration(::google::protobuf::internal::ConstantInitialized); Duration(const Duration& from); diff --git a/src/google/protobuf/empty.pb.cc b/src/google/protobuf/empty.pb.cc index af724a67dd..ff2252e3d7 100644 --- a/src/google/protobuf/empty.pb.cc +++ b/src/google/protobuf/empty.pb.cc @@ -22,6 +22,7 @@ namespace _pbi = ::google::protobuf::internal; namespace _fl = ::google::protobuf::internal::field_layout; namespace google { namespace protobuf { + template PROTOBUF_CONSTEXPR Empty::Empty(::_pbi::ConstantInitialized) {} struct EmptyDefaultTypeInternal { PROTOBUF_CONSTEXPR EmptyDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} diff --git a/src/google/protobuf/empty.pb.h b/src/google/protobuf/empty.pb.h index 858239bcbe..ca5b6953d3 100644 --- a/src/google/protobuf/empty.pb.h +++ b/src/google/protobuf/empty.pb.h @@ -76,6 +76,7 @@ class PROTOBUF_EXPORT Empty final : public ::google::protobuf::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:google.protobuf.Empty) */ { public: inline Empty() : Empty(nullptr) {} + template explicit PROTOBUF_CONSTEXPR Empty(::google::protobuf::internal::ConstantInitialized); Empty(const Empty& from); diff --git a/src/google/protobuf/field_mask.pb.cc b/src/google/protobuf/field_mask.pb.cc index 30d222295b..6a278ab79b 100644 --- a/src/google/protobuf/field_mask.pb.cc +++ b/src/google/protobuf/field_mask.pb.cc @@ -22,6 +22,7 @@ namespace _pbi = ::google::protobuf::internal; namespace _fl = ::google::protobuf::internal::field_layout; namespace google { namespace protobuf { + template PROTOBUF_CONSTEXPR FieldMask::FieldMask(::_pbi::ConstantInitialized) : _impl_{ /*decltype(_impl_.paths_)*/ {}, diff --git a/src/google/protobuf/field_mask.pb.h b/src/google/protobuf/field_mask.pb.h index 26e56c7dfb..bba57778bf 100644 --- a/src/google/protobuf/field_mask.pb.h +++ b/src/google/protobuf/field_mask.pb.h @@ -76,6 +76,7 @@ class PROTOBUF_EXPORT FieldMask final : public: inline FieldMask() : FieldMask(nullptr) {} ~FieldMask() override; + template explicit PROTOBUF_CONSTEXPR FieldMask(::google::protobuf::internal::ConstantInitialized); FieldMask(const FieldMask& from); diff --git a/src/google/protobuf/source_context.pb.cc b/src/google/protobuf/source_context.pb.cc index 4f6fe8f104..3966cc7d59 100644 --- a/src/google/protobuf/source_context.pb.cc +++ b/src/google/protobuf/source_context.pb.cc @@ -22,6 +22,7 @@ namespace _pbi = ::google::protobuf::internal; namespace _fl = ::google::protobuf::internal::field_layout; namespace google { namespace protobuf { + template PROTOBUF_CONSTEXPR SourceContext::SourceContext(::_pbi::ConstantInitialized) : _impl_{ /*decltype(_impl_.file_name_)*/ { diff --git a/src/google/protobuf/source_context.pb.h b/src/google/protobuf/source_context.pb.h index 3466750bfc..2b69c1e8db 100644 --- a/src/google/protobuf/source_context.pb.h +++ b/src/google/protobuf/source_context.pb.h @@ -76,6 +76,7 @@ class PROTOBUF_EXPORT SourceContext final : public: inline SourceContext() : SourceContext(nullptr) {} ~SourceContext() override; + template explicit PROTOBUF_CONSTEXPR SourceContext(::google::protobuf::internal::ConstantInitialized); SourceContext(const SourceContext& from); diff --git a/src/google/protobuf/struct.pb.cc b/src/google/protobuf/struct.pb.cc index 2dfb056c07..6ff5c5402d 100644 --- a/src/google/protobuf/struct.pb.cc +++ b/src/google/protobuf/struct.pb.cc @@ -22,6 +22,7 @@ namespace _pbi = ::google::protobuf::internal; namespace _fl = ::google::protobuf::internal::field_layout; namespace google { namespace protobuf { + template PROTOBUF_CONSTEXPR Struct_FieldsEntry_DoNotUse::Struct_FieldsEntry_DoNotUse(::_pbi::ConstantInitialized) {} struct Struct_FieldsEntry_DoNotUseDefaultTypeInternal { PROTOBUF_CONSTEXPR Struct_FieldsEntry_DoNotUseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} @@ -33,6 +34,7 @@ struct Struct_FieldsEntry_DoNotUseDefaultTypeInternal { PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Struct_FieldsEntry_DoNotUseDefaultTypeInternal _Struct_FieldsEntry_DoNotUse_default_instance_; + template PROTOBUF_CONSTEXPR Struct::Struct(::_pbi::ConstantInitialized) : _impl_{ /* decltype(_impl_.fields_) */ {}, @@ -48,6 +50,7 @@ struct StructDefaultTypeInternal { PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 StructDefaultTypeInternal _Struct_default_instance_; + template PROTOBUF_CONSTEXPR Value::Value(::_pbi::ConstantInitialized) : _impl_{ /*decltype(_impl_.kind_)*/ {}, @@ -64,6 +67,7 @@ struct ValueDefaultTypeInternal { PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ValueDefaultTypeInternal _Value_default_instance_; + template PROTOBUF_CONSTEXPR ListValue::ListValue(::_pbi::ConstantInitialized) : _impl_{ /*decltype(_impl_.values_)*/ {}, diff --git a/src/google/protobuf/struct.pb.h b/src/google/protobuf/struct.pb.h index b44db5d74f..87f1580bc7 100644 --- a/src/google/protobuf/struct.pb.h +++ b/src/google/protobuf/struct.pb.h @@ -131,6 +131,7 @@ public: ::google::protobuf::internal::WireFormatLite::TYPE_STRING, ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE> SuperType; Struct_FieldsEntry_DoNotUse(); + template explicit PROTOBUF_CONSTEXPR Struct_FieldsEntry_DoNotUse( ::google::protobuf::internal::ConstantInitialized); explicit Struct_FieldsEntry_DoNotUse(::google::protobuf::Arena* arena); @@ -151,6 +152,7 @@ class PROTOBUF_EXPORT Struct final : public: inline Struct() : Struct(nullptr) {} ~Struct() override; + template explicit PROTOBUF_CONSTEXPR Struct(::google::protobuf::internal::ConstantInitialized); Struct(const Struct& from); @@ -316,6 +318,7 @@ class PROTOBUF_EXPORT Value final : public: inline Value() : Value(nullptr) {} ~Value() override; + template explicit PROTOBUF_CONSTEXPR Value(::google::protobuf::internal::ConstantInitialized); Value(const Value& from); @@ -587,6 +590,7 @@ class PROTOBUF_EXPORT ListValue final : public: inline ListValue() : ListValue(nullptr) {} ~ListValue() override; + template explicit PROTOBUF_CONSTEXPR ListValue(::google::protobuf::internal::ConstantInitialized); ListValue(const ListValue& from); diff --git a/src/google/protobuf/timestamp.pb.cc b/src/google/protobuf/timestamp.pb.cc index f0a34978f5..0e6a0e7b49 100644 --- a/src/google/protobuf/timestamp.pb.cc +++ b/src/google/protobuf/timestamp.pb.cc @@ -22,6 +22,7 @@ namespace _pbi = ::google::protobuf::internal; namespace _fl = ::google::protobuf::internal::field_layout; namespace google { namespace protobuf { + template PROTOBUF_CONSTEXPR Timestamp::Timestamp(::_pbi::ConstantInitialized) : _impl_{ /*decltype(_impl_.seconds_)*/ ::int64_t{0}, diff --git a/src/google/protobuf/timestamp.pb.h b/src/google/protobuf/timestamp.pb.h index 26eaebdbc4..8656902144 100644 --- a/src/google/protobuf/timestamp.pb.h +++ b/src/google/protobuf/timestamp.pb.h @@ -76,6 +76,7 @@ class PROTOBUF_EXPORT Timestamp final : public: inline Timestamp() : Timestamp(nullptr) {} ~Timestamp() override; + template explicit PROTOBUF_CONSTEXPR Timestamp(::google::protobuf::internal::ConstantInitialized); Timestamp(const Timestamp& from); diff --git a/src/google/protobuf/type.pb.cc b/src/google/protobuf/type.pb.cc index 19498af70c..6ed9f114a2 100644 --- a/src/google/protobuf/type.pb.cc +++ b/src/google/protobuf/type.pb.cc @@ -22,6 +22,7 @@ namespace _pbi = ::google::protobuf::internal; namespace _fl = ::google::protobuf::internal::field_layout; namespace google { namespace protobuf { + template PROTOBUF_CONSTEXPR Type::Type(::_pbi::ConstantInitialized) : _impl_{ /*decltype(_impl_._has_bits_)*/ {}, @@ -50,6 +51,7 @@ struct TypeDefaultTypeInternal { PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TypeDefaultTypeInternal _Type_default_instance_; + template PROTOBUF_CONSTEXPR Field::Field(::_pbi::ConstantInitialized) : _impl_{ /*decltype(_impl_.options_)*/ {}, @@ -86,6 +88,7 @@ struct FieldDefaultTypeInternal { PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 FieldDefaultTypeInternal _Field_default_instance_; + template PROTOBUF_CONSTEXPR Enum::Enum(::_pbi::ConstantInitialized) : _impl_{ /*decltype(_impl_._has_bits_)*/ {}, @@ -113,6 +116,7 @@ struct EnumDefaultTypeInternal { PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 EnumDefaultTypeInternal _Enum_default_instance_; + template PROTOBUF_CONSTEXPR EnumValue::EnumValue(::_pbi::ConstantInitialized) : _impl_{ /*decltype(_impl_.options_)*/ {}, @@ -133,6 +137,7 @@ struct EnumValueDefaultTypeInternal { PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 EnumValueDefaultTypeInternal _EnumValue_default_instance_; + template PROTOBUF_CONSTEXPR Option::Option(::_pbi::ConstantInitialized) : _impl_{ /*decltype(_impl_._has_bits_)*/ {}, diff --git a/src/google/protobuf/type.pb.h b/src/google/protobuf/type.pb.h index 90c68b2c10..09a960eb3c 100644 --- a/src/google/protobuf/type.pb.h +++ b/src/google/protobuf/type.pb.h @@ -215,6 +215,7 @@ class PROTOBUF_EXPORT Type final : public: inline Type() : Type(nullptr) {} ~Type() override; + template explicit PROTOBUF_CONSTEXPR Type(::google::protobuf::internal::ConstantInitialized); Type(const Type& from); @@ -495,6 +496,7 @@ class PROTOBUF_EXPORT Field final : public: inline Field() : Field(nullptr) {} ~Field() override; + template explicit PROTOBUF_CONSTEXPR Field(::google::protobuf::internal::ConstantInitialized); Field(const Field& from); @@ -850,6 +852,7 @@ class PROTOBUF_EXPORT Enum final : public: inline Enum() : Enum(nullptr) {} ~Enum() override; + template explicit PROTOBUF_CONSTEXPR Enum(::google::protobuf::internal::ConstantInitialized); Enum(const Enum& from); @@ -1100,6 +1103,7 @@ class PROTOBUF_EXPORT EnumValue final : public: inline EnumValue() : EnumValue(nullptr) {} ~EnumValue() override; + template explicit PROTOBUF_CONSTEXPR EnumValue(::google::protobuf::internal::ConstantInitialized); EnumValue(const EnumValue& from); @@ -1294,6 +1298,7 @@ class PROTOBUF_EXPORT Option final : public: inline Option() : Option(nullptr) {} ~Option() override; + template explicit PROTOBUF_CONSTEXPR Option(::google::protobuf::internal::ConstantInitialized); Option(const Option& from); diff --git a/src/google/protobuf/wrappers.pb.cc b/src/google/protobuf/wrappers.pb.cc index 29ec000cce..4ea848b146 100644 --- a/src/google/protobuf/wrappers.pb.cc +++ b/src/google/protobuf/wrappers.pb.cc @@ -22,6 +22,7 @@ namespace _pbi = ::google::protobuf::internal; namespace _fl = ::google::protobuf::internal::field_layout; namespace google { namespace protobuf { + template PROTOBUF_CONSTEXPR DoubleValue::DoubleValue(::_pbi::ConstantInitialized) : _impl_{ /*decltype(_impl_.value_)*/ 0, @@ -37,6 +38,7 @@ struct DoubleValueDefaultTypeInternal { PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DoubleValueDefaultTypeInternal _DoubleValue_default_instance_; + template PROTOBUF_CONSTEXPR FloatValue::FloatValue(::_pbi::ConstantInitialized) : _impl_{ /*decltype(_impl_.value_)*/ 0, @@ -52,6 +54,7 @@ struct FloatValueDefaultTypeInternal { PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 FloatValueDefaultTypeInternal _FloatValue_default_instance_; + template PROTOBUF_CONSTEXPR Int64Value::Int64Value(::_pbi::ConstantInitialized) : _impl_{ /*decltype(_impl_.value_)*/ ::int64_t{0}, @@ -67,6 +70,7 @@ struct Int64ValueDefaultTypeInternal { PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Int64ValueDefaultTypeInternal _Int64Value_default_instance_; + template PROTOBUF_CONSTEXPR UInt64Value::UInt64Value(::_pbi::ConstantInitialized) : _impl_{ /*decltype(_impl_.value_)*/ ::uint64_t{0u}, @@ -82,6 +86,7 @@ struct UInt64ValueDefaultTypeInternal { PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 UInt64ValueDefaultTypeInternal _UInt64Value_default_instance_; + template PROTOBUF_CONSTEXPR Int32Value::Int32Value(::_pbi::ConstantInitialized) : _impl_{ /*decltype(_impl_.value_)*/ 0, @@ -97,6 +102,7 @@ struct Int32ValueDefaultTypeInternal { PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Int32ValueDefaultTypeInternal _Int32Value_default_instance_; + template PROTOBUF_CONSTEXPR UInt32Value::UInt32Value(::_pbi::ConstantInitialized) : _impl_{ /*decltype(_impl_.value_)*/ 0u, @@ -112,6 +118,7 @@ struct UInt32ValueDefaultTypeInternal { PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 UInt32ValueDefaultTypeInternal _UInt32Value_default_instance_; + template PROTOBUF_CONSTEXPR BoolValue::BoolValue(::_pbi::ConstantInitialized) : _impl_{ /*decltype(_impl_.value_)*/ false, @@ -127,6 +134,7 @@ struct BoolValueDefaultTypeInternal { PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 BoolValueDefaultTypeInternal _BoolValue_default_instance_; + template PROTOBUF_CONSTEXPR StringValue::StringValue(::_pbi::ConstantInitialized) : _impl_{ /*decltype(_impl_.value_)*/ { @@ -145,6 +153,7 @@ struct StringValueDefaultTypeInternal { PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 StringValueDefaultTypeInternal _StringValue_default_instance_; + template PROTOBUF_CONSTEXPR BytesValue::BytesValue(::_pbi::ConstantInitialized) : _impl_{ /*decltype(_impl_.value_)*/ { diff --git a/src/google/protobuf/wrappers.pb.h b/src/google/protobuf/wrappers.pb.h index 09bf3b8bfb..d44bb2e4e2 100644 --- a/src/google/protobuf/wrappers.pb.h +++ b/src/google/protobuf/wrappers.pb.h @@ -116,6 +116,7 @@ class PROTOBUF_EXPORT DoubleValue final : public: inline DoubleValue() : DoubleValue(nullptr) {} ~DoubleValue() override; + template explicit PROTOBUF_CONSTEXPR DoubleValue(::google::protobuf::internal::ConstantInitialized); DoubleValue(const DoubleValue& from); @@ -272,6 +273,7 @@ class PROTOBUF_EXPORT FloatValue final : public: inline FloatValue() : FloatValue(nullptr) {} ~FloatValue() override; + template explicit PROTOBUF_CONSTEXPR FloatValue(::google::protobuf::internal::ConstantInitialized); FloatValue(const FloatValue& from); @@ -428,6 +430,7 @@ class PROTOBUF_EXPORT Int64Value final : public: inline Int64Value() : Int64Value(nullptr) {} ~Int64Value() override; + template explicit PROTOBUF_CONSTEXPR Int64Value(::google::protobuf::internal::ConstantInitialized); Int64Value(const Int64Value& from); @@ -584,6 +587,7 @@ class PROTOBUF_EXPORT UInt64Value final : public: inline UInt64Value() : UInt64Value(nullptr) {} ~UInt64Value() override; + template explicit PROTOBUF_CONSTEXPR UInt64Value(::google::protobuf::internal::ConstantInitialized); UInt64Value(const UInt64Value& from); @@ -740,6 +744,7 @@ class PROTOBUF_EXPORT Int32Value final : public: inline Int32Value() : Int32Value(nullptr) {} ~Int32Value() override; + template explicit PROTOBUF_CONSTEXPR Int32Value(::google::protobuf::internal::ConstantInitialized); Int32Value(const Int32Value& from); @@ -896,6 +901,7 @@ class PROTOBUF_EXPORT UInt32Value final : public: inline UInt32Value() : UInt32Value(nullptr) {} ~UInt32Value() override; + template explicit PROTOBUF_CONSTEXPR UInt32Value(::google::protobuf::internal::ConstantInitialized); UInt32Value(const UInt32Value& from); @@ -1052,6 +1058,7 @@ class PROTOBUF_EXPORT BoolValue final : public: inline BoolValue() : BoolValue(nullptr) {} ~BoolValue() override; + template explicit PROTOBUF_CONSTEXPR BoolValue(::google::protobuf::internal::ConstantInitialized); BoolValue(const BoolValue& from); @@ -1208,6 +1215,7 @@ class PROTOBUF_EXPORT StringValue final : public: inline StringValue() : StringValue(nullptr) {} ~StringValue() override; + template explicit PROTOBUF_CONSTEXPR StringValue(::google::protobuf::internal::ConstantInitialized); StringValue(const StringValue& from); @@ -1370,6 +1378,7 @@ class PROTOBUF_EXPORT BytesValue final : public: inline BytesValue() : BytesValue(nullptr) {} ~BytesValue() override; + template explicit PROTOBUF_CONSTEXPR BytesValue(::google::protobuf::internal::ConstantInitialized); BytesValue(const BytesValue& from);