KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
The following code compiles with G++ 4.6.1, but not with Visual Studio 2008 return (m_something == 0) ? throw std::logic_error("Something wrong happened") : m_something; The fact is the Visual Studio compiler performs an internal crash. I want to know if this is standard C++ and why it doesn't compile with Visual Studio, but does with G++?
Tags (comma-separated)
Save Edits
Cancel