Re: [protobuf] c++ singleton support
, Dec 3, 2016 at 9:13 PM 梅骁 <mxmx...@gmail.com > wrote: > >> Hi, >> Does protobuf has singleton support? I want to use it for global >> configurations of my program. >> For example, if I have a message type "GlobalSetting", then I want to >
[protobuf] c++ singleton support
Hi, Does protobuf has singleton support? I want to use it for global configurations of my program. For example, if I have a message type "GlobalSetting", then I want to use the class like: GlobalSetting::Instance().get_someVarible.