79658689

Date: 2025-06-09 10:13:42
Score: 2
Natty:
Report link
using DecisionFn = bool(*)();

class Decide
{
public:
    Decide(DecisionFn dec) : _dec{dec} {}
private:
    DecisionFn _dec;
};

int main()
{
    int x = 5;
    static auto lmb = [x](){ return x > 3; };
    Decide greaterThanThree{ [](){ return lmb(); } };
    return 0;
}

https://godbolt.org/z/Mx6qnasvz

Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: user24931540