You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ctemlate 0.96 generates
#include <ctemplate/template_string.h>
static const StaticTemplateString kM_MenuItem =
STS_INIT_WITH_HASH(kM_MenuItem, "MenuItem", 12751148691163768839LLU);
It will be better if the is generated as
static const ctemplate::StaticTemplateString kM_MenuItem =
STS_INIT_WITH_HASH(kM_MenuItem, "MenuItem", 12751148691163768839LLU);
In that way i will be not forced to put "using namespace ctemplate;" before
include the generated file
Original issue reported on code.google.com by pepone.o...@gmail.com on 24 Nov 2009 at 8:00
The text was updated successfully, but these errors were encountered:
This is a good point. I'll actually make it
static const ::ctemplate::StaticTemplateString kM_MenuItem = ...
(note the leading ::). Would that work for you?
I'll make that part of the next release.
Original comment by csilv...@gmail.com on 24 Nov 2009 at 9:07
Original issue reported on code.google.com by
pepone.o...@gmail.com
on 24 Nov 2009 at 8:00The text was updated successfully, but these errors were encountered: