Skip to content

class/fun templates + decltype/decltype(auto) + one screen program = CRASH #102

@edwdmkrv

Description

@edwdmkrv

This example causes https://cppinsights.io/ 's crash with different ways depending on how many lines in main() are commented. It is impossible to uncomment even a single line in main() without causing a crash.
The code compiles and works at least here.
The origin of the code is mentioned here, the first link in the article (which is translated by Google). I just removed "using namespace std;" from the original code, and corrected the affected part of the code by adding "std::" prefix where necessary.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions