Re: [squid-dev] Template methods inside normal classes
On 10/18/2016 09:52 AM, Christos Tsantilas wrote: > Is it valid to use template methods inside normal classes for squid? Yes (until we learn that some compilers choke on them). IIRC, I even had some patches that use them but perhaps they have not been posted or committed yet. Needless to say, their use must be justified (but that is true for virtually any code). > I know they are working, I am just asking if it is acceptable by squid > policy. Everything useful that is not prohibited is allowed :-). When the patch with member templates is posted for review, the reviewers will evaluate your decision to use them. There is no need to secure their acceptance in advance by hand waiving about hypothetical needs IMO. HTH, Alex. ___ squid-dev mailing list squid-dev@lists.squid-cache.org http://lists.squid-cache.org/listinfo/squid-dev
Re: [squid-dev] Template methods inside normal classes
On 19/10/2016 4:52 a.m., Christos Tsantilas wrote: > Hi all, > > Is it valid to use template methods inside normal classes for squid? > I know they are working, I am just asking if it is acceptable by squid > policy. We dont have any policy about it that I'm aware of. If it is valid C++ then I think it should be acceptible. What is the use-case you have for doing it? Amos ___ squid-dev mailing list squid-dev@lists.squid-cache.org http://lists.squid-cache.org/listinfo/squid-dev
[squid-dev] Template methods inside normal classes
Hi all, Is it valid to use template methods inside normal classes for squid? I know they are working, I am just asking if it is acceptable by squid policy. Regards, Christos ___ squid-dev mailing list squid-dev@lists.squid-cache.org http://lists.squid-cache.org/listinfo/squid-dev