Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Community » Coffee corner » Clang vs. GCC
Re: Clang vs. GCC [message #25007 is a reply to message #24994] Sun, 07 February 2010 10:13 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 13976
Registered: November 2005
Ultimate Member
I believe it is Clang bug. By C++ standard, all types, including fundemantal types, have constructor and destructor.

At the moment, I am unable to find corresponding definition in C++ language definition, closest info I have found is this:

http://www.informit.com/guides/content.aspx?g=cplusplus& seqNum=431

BTW, it is in fact impossible to create container templates without this - STL has to do the same thing. Which is strange, considering Clang refusal to compile it.

Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: U++ for newbees
Next Topic: Note about how classic OOP with C++ fails efficiency
Goto Forum:
  


Current Time: Fri May 10 03:06:57 CEST 2024

Total time taken to generate the page: 0.02397 seconds