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 » Developing U++ » Documentation » T++ working
Re: T++ working [message #19063 is a reply to message #19049] Sat, 08 November 2008 14:24 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14267
Registered: November 2005
Ultimate Member
cbpporter wrote on Fri, 07 November 2008 09:54


I'm using the new reference type without the leading "::". I hope that this will be final.



Seriously, maybe it is not. In fact, the correct would be "Upp::" leading.

Anyway, the problem here now is that current parser does not "do" namespaces and there is no simply way how to achieve that. Therefore I have decided to simply ignore them; but in that case it is much more correct to just leave initial "::" out (as that would mean "global namespace"; moreover such coderef is 2 bytes shorter. That is why the change.

If we ever figure out how to deal with namespaces, be sure I will provide a transition path...

Quote:


Regarding the friend functions, I see the problem. More thought is needed. They do seam to belong to both scopes logically.


After more thinking, I have decided that perhaps we should deal with them as with methods... Especially inline friends, because they are in fact affected by actual template parameters.

Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Notes on using T++ (comment on singals)
Next Topic: List of patterns to be explained in article
Goto Forum:
  


Current Time: Wed Aug 27 13:20:30 CEST 2025

Total time taken to generate the page: 0.06158 seconds