79423272

Date: 2025-02-08 13:47:06
Score: 1
Natty:
Report link

I had and idea to name value_type differently so the compiler will not get confused which value_type is which. So, I could declare statistics of value_type as

    STAT(mult_by_2, ::vec<T>::value_type);

One disadvantage is that ::vec<T>::value_type becomes pretty long in complex class hierarchy.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Vladyslav Rehan