79296983

Date: 2024-12-20 11:02:46
Score: 1
Natty:
Report link
#include <iostream>

#define IS_EMPTY_ARG(...) []() -> bool { return std::string(#__VA_ARGS__).empty(); }()

int main()
{
    std::cout << "empty: " << IS_EMPTY_ARG() << "\n";
    std::cout << "non-empty: " << IS_EMPTY_ARG(123) << "\n";
    return 0;
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Anton