using

16 views
Skip to first unread message

berge

unread,
Sep 3, 2022, 4:48:27 AM9/3/22
to Protocol Buffers
Hi all!

in C++(>=11) I can do:
```
using TMyLittleType = int64_t;

TMyLittleType xyz;
```

Is there a trick I can use to do the same in proto3?
like
```
magictrick   TMyLittleType = sint64;

message XYZ
{
     ....
      TMyLittleType abc = 3;
     .... 
}
```

Thanx,
Berge

Marc Gravell

unread,
Sep 3, 2022, 5:24:45 AM9/3/22
to berge, Protocol Buffers
No

--
You received this message because you are subscribed to the Google Groups "Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to protobuf+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/protobuf/7f385218-65a2-4aec-8a0b-16b905fc919an%40googlegroups.com.

berge

unread,
Sep 3, 2022, 6:01:58 AM9/3/22
to Protocol Buffers
ty for your answare
Reply all
Reply to author
Forward
0 new messages