Re: [protobuf] will protoc accept scalar typedefs ?

2013-02-19 Thread Christopher Head
-BEGIN PGP SIGNED MESSAGE-
Hash: RIPEMD160

On Fri, 8 Feb 2013 01:08:40 -0800 (PST)
RichM  wrote:

> it would be nice if i could do 
> typedef int ClientID
> 
> it appears not possible ? 
> 
> tks
> Richard.
> 

Could you use the decltype() operator against a field in a protobuf
message? Perhaps against the function that returns the field’s value?

Chris
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.19 (GNU/Linux)

iEYEAREDAAYFAlEkcjcACgkQXUF6hOTGP7fxVQCgl7FJCjHNsuuulgoA3ln8Y0Y9
MccAnR2GllT1qTSsKf9HM6xj1skht8By
=K6gP
-END PGP SIGNATURE-

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to protobuf@googlegroups.com.
Visit this group at http://groups.google.com/group/protobuf?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




[protobuf] will protoc accept scalar typedefs ?

2013-02-18 Thread RichM
it would be nice if i could do 
typedef int ClientID

it appears not possible ? 

tks
Richard.

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to protobuf@googlegroups.com.
Visit this group at http://groups.google.com/group/protobuf?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.