
"Domagoj Saric" je napisao u poruci interesnoj grupi:jh0f5v$ljr$1@dough.gmane.org...
So far this corresponds to your optional_with_traits approach except that I don't think that providing global configuration by overriding/specializing the default traits is the correct approach. As you noted, this can violate the ODR and AFAIK users are not used that changing a _type_ can violate the ODR and change the behaviour of another type.
Or I might just be babbling :) That's what traits are for (when per type as opposed to per instantiation configuration is enough/desired)... -- "What Huxley teaches is that in the age of advanced technology, spiritual devastation is more likely to come from an enemy with a smiling face than from one whose countenance exudes suspicion and hate." Neil Postman