
16 Nov
2008
16 Nov
'08
12:36 a.m.
AMDG Mathias Gaunard wrote:
Clearly if a rectangle output is expected you cannot pass it a mutable square to hold the result, but making such syntax illegal by preventing the generic API from modifying objects seems like a drastic measure. It eliminates more than half the utility of the mechanism.
I require any type fulfilling a concept to be constructible from an object of any type which fulfills that same concept.
Wait. How does that work: Right triangle models Triangle. Equilateral triangle models Triangle. Therefore, right triangle can be converted to equilateral triangle? In Christ, Steven Watanabe