Re: Stacking policies

2016-07-02 Thread ZombineDev via Digitalmars-d
On Saturday, 2 July 2016 at 21:37:12 UTC, ZombineDev wrote: On Saturday, 2 July 2016 at 20:48:51 UTC, Andrei Alexandrescu wrote: So I'm working on this checked integral thing and starting to really get into the possibilities offered by DbI. One core operation is "stacking" two policies on top

Re: Stacking policies

2016-07-02 Thread ZombineDev via Digitalmars-d
On Saturday, 2 July 2016 at 20:48:51 UTC, Andrei Alexandrescu wrote: So I'm working on this checked integral thing and starting to really get into the possibilities offered by DbI. One core operation is "stacking" two policies on top of each other, i.e. an operation is first offered to the

Stacking policies

2016-07-02 Thread Andrei Alexandrescu via Digitalmars-d
So I'm working on this checked integral thing and starting to really get into the possibilities offered by DbI. One core operation is "stacking" two policies on top of each other, i.e. an operation is first offered to the first one, and then the second one. Here's an excerpt: struct