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

Home » Community » PR, media coverage, articles and documentation » Is U++ Core open for suggestions?
Re: Is U++ Core open for suggestions? [message #921 is a reply to message #920] Wed, 08 February 2006 21:45 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14291
Registered: November 2005
Ultimate Member
Hi,

well, with 20MB of commercial codebase, doing huge changes to "pick" is hard Smile

However, we are always open to discussion.

I agree that cleaner syntax sugar there would be nice. However, the trouble is that as long as pick semantics is supposed to be used for function return values, there does not seem to be any other option (we need to use regular copy constructors there to pass return value to target).

Even worse, we like compiler to generate default copy constructors / assignment operators (doing that manually is way too much trouble).

So in the end it goes down to "you need to know type's transfer semantics".

I was trying to find alternatives (especially I do not like that const cast ugliness) for years, but was unable to come up with anything better.

Mirek
 
Read Message icon3.gif
Read Message
Read Message icon14.gif
Read Message
Previous Topic: Ultimate++ in wtl.wiki
Next Topic: Do not forget to take this survey!
Goto Forum:
  


Current Time: Tue Sep 15 08:23:33 GMT+2 2026

Total time taken to generate the page: 0.01921 seconds