Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
edwdmkrv opened this issue Dec 29, 2018 · 0 comments
Closed
Labels
bug Something isn't working

Comments

@edwdmkrv
Copy link

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.

andreasfertig pushed a commit that referenced this issue Dec 29, 2018
Filter only expression to handle them special for TypeAlias and pass the
rest to the normal parser.
andreasfertig added a commit that referenced this issue Dec 29, 2018
Fixed #102: Not all TypeAlias's are expressions.
@andreasfertig andreasfertig added the bug Something isn't working label Dec 29, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants