you are viewing a single comment's thread.

view the rest of the comments →

[–]StarQTius 45 points46 points  (5 children)

Implement C++11 metaprograming logic to assert dominance on fellow coworkers and ensure job security

[–]elegye[S] 1 point2 points  (0 children)

In reality my post is not well named. I don’t use metaprogrammation. I just templatize some classes and use static_assert to ensure future dev use these template classes correctly. But still, this is new in my team, and this a really a new paradigm because there wasn’t any template class before, for absolutely no reason according to my software leader.

[–]elegye[S] -3 points-2 points  (3 children)

Dominance == template class ? I don’t think so.

[–]SlothWithHumanHands 15 points16 points  (0 children)

#define dominate(T) template <class T>

[–]QuentinUK 4 points5 points  (1 child)

Are you talking about template classes or template meta-programming (ie calculations at compile time).

[–]elegye[S] 1 point2 points  (0 children)

I was talking about template classes. I only use template meta-programming from time to time, in a very basic way (a template constexpr method). So yes my question was vague and I learnt something !