Boost logo

Boost :

From: Gottlob Frege (gottlobfrege_at_[hidden])
Date: 2007-05-19 00:02:32


On 5/8/07, Maurizio Vitale <mav_at_cuma.polymath-solutions.lan> wrote:
>
> Suppose I needed a new tag for representing some high-level concept that I do not want
> to express in terms of C++ operators [it could be a get_bit(N) operation that has very
> different implementation when for my numbers the unserlyining implementation is a
> builtin type or a GMP big int]
>
> Here's my code for adding a binary operator my_plus:
>

For us new to proto, can you give an example of your DSEL in use where
my_plus is used?

ie is it:

int a;
int b;

int c = ...my_plus....

what's it look like in use?

Thanks,
Tony


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk