template <typename Type>
class PrimitiveTypeTraits
Defined at line 1145 of file ../../third_party/protobuf/src/google/protobuf/extension_set.h
Since the ExtensionSet has different methods for each primitive type,
we must explicitly define the methods of the type traits class for each
known type.
Public Members
static const bool kLifetimeBound
Public Methods
const ConstType & FromInitType (const InitType & v)
Defined at line 1150 of file ../../third_party/protobuf/src/google/protobuf/extension_set.h
ConstType Get (int number, const ExtensionSet & set, ConstType default_value)
const ConstType * GetPtr (int number, const ExtensionSet & set, const ConstType & default_value)
void Set (int number, FieldType field_type, ConstType value, ExtensionSet * set)