
22 May
2010
22 May
'10
4:25 p.m.
On 22/05/2010 13:41, vicente.botet wrote:
Hi Ion,
It seems to me that the optimization mode is more related to a specific class than the complete application. How can interact two parts of the same application that uses different optimization mode? Shouldn't be better to define separated macros?
They could coexist, but generic algorithms could not take advantage of optimized mode advantages, unless they detect this optimized mode and apply a more tailored algorithm for them, which seems absolutely non-generic ;-) I would prefer just having one mode, which is equivalent of having a well-specified MoveConstructible or MoveAssignable properties for any type. But, of course, this is an opinion and reviewers have the last word. Best, Ion