خرید بک لینک

Vote count: 0

my question may look strange for many of you and I am really sorry for that.

As I can remember, I managed few years ago to define a class with a default template parameter such that the syntax

Foo<> f;

can be replaced by

Foo f;

However, I caot remember how I did that. I thought Foo class was defined with variadic templates and the default template parameter was an integer value (SIZE) but I don't manage to reproduce the target syntax.

Does anybody know how to do that? If it was just a dream, I'm really sorry!

asked 1 min ago

برچسب: نویسنده: استخدام کار تاريخ: سه شنبه 31 فروردين 1395 ساعت: 5:33

صفحه بندی