Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2005-10-03 12:43:35


Reece Dunn <msclrhd_at_[hidden]> writes:

>> I might go further and add units (maybe defaulting to pixels)
>>
>> typedef gui::rect<px,int> rect 1;
>> typedef gui::rect<pc,double> rect 2;
>> typedef gui:rect<mm,int> rect 3;
>
> That looks great :)!

Am I insane or is that not legal C++ code? Or both?

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com

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