write, toString, formatValue & range interface

Robert Jacques sandford at jhu.edu
Wed Dec 15 07:27:46 PST 2010


On Wed, 15 Dec 2010 04:48:43 -0500, spir <denis.spir at gmail.com> wrote:

> On Tue, 14 Dec 2010 09:35:20 -0500
> "Robert Jacques" <sandford at jhu.edu> wrote:
>
>> Having recently run into this without knowing it,
>
> Which one? (This issue causes 3 distinct bugs.)

A struct + opDispatch combination resulted in a compile time error for me.  
Of course, since the opDispatch routine returned itself, I figure an  
infinite loop would have occurred if it did compile. Right now, I've added  
template constraints, but it is a suboptimal solution to the problem.


More information about the Digitalmars-d mailing list