U++ framework
Do not panic. Ask here before giving up.

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: 14291
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: Tue Jun 23 12:50:17 GMT+2 2026

Total time taken to generate the page: 0.00782 seconds