79591492

Date: 2025-04-24 21:42:52
Score: 1.5
Natty:
Report link
  1. use helper function or macros: define utility function to encapsulate the casting :

    cpp

    constexpr unit8_t to_unit8(enumClass value)

    static_cast<unit8_t>(value)
    
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: user30329099