
5 Feb
2009
5 Feb
'09
12:52 p.m.
... But that inliner still doesn't get around the problem of types that aren't default constructible.
IMHO the default-constractibility requirement is unfortunate and in my particular case is not achievable. Understandably a library can only create an object it knows nothing about by imposing certain conditions (like demanding a certain constructor). Therefore, I'd consider any attempt to avoid that "delicate" situation to be a good design philosophy as it extends the applicability scope. Best, V.