User Activity

  • Posted a comment on discussion Development on cppcheck

    Hello cppcheck folk, I have some C++20 code that is accused of containing a syntax error: template<std::uint16_t... Values> consteval auto make_flags() -> std::uint16_t { return (std::uint16_t{0} | ... | Values); } The above results in the following error: error: Syntax Error: AST broken, binary operator '|' doesn't have two operands. [internalAstError] Sample usage: #include <cstdint> template<std::uint16_t... Values> consteval auto make_flags() -> std::uint16_t { return (std::uint16_t{0} | ......

View All

Personal Data

Username:
punk-floyd
Joined:
2026-02-10 23:48:20.394000

Projects

  • No projects to display.

Personal Tools

MongoDB Logo MongoDB