https://bugs.kde.org/show_bug.cgi?id=452058

--- Comment #6 from Paul Floyd <[email protected]> ---
Forgot the example

#include <list>
#include <string>
#include <cassert>

std::list<int>* plist;

int main(int argc, char** argv)
{
    bool productionMode{static_cast<bool>(argc >= 2 && argv[1] ==
std::string("-prod"))};
    size_t count{productionMode ? 1000000000000U : 3U};

    plist = new std::list<int>();
    assert(plist);

    for (size_t i{0U}; i < count; ++i)
    {
        plist->push_back(42);
    }
}

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to