|
Boost : |
From: Joel de Guzman (djowel_at_[hidden])
Date: 2002-10-26 22:47:45
Hi,
Once, we thought about doing a morse code to ascii converter
using expression templates and *EXTREME* abuse of
operator overloading. This should raise some eyebrows, for sure.
Example:
std::cout << --*---**--*-*-- morse << std::endl;
:-)
... di-dit-da-daat-dat-dat-ly-yrs,
--Joel
----- Original Message -----
From: "Jeremy Siek" <jsiek_at_[hidden]>
>
> I always thought Roman numbers would make a great April fools proposal for
> standardization :) It would have been particularly funny for April 1 of
> 2000!
>
> Cheers,
> Jeremy
>
> On Sat, 26 Oct 2002, Beman Dawes wrote:
> bdawes> At 02:42 AM 10/25/02, Daryle Walker wrote:
> bdawes>
> bdawes> >As another poster on this subject has said, Roman numbers don't have
> bdawes> >different math rules, they are just a different external representation
> bdawes> >of natural numbers. This suggests that the place for new code is in
> bdawes> >the I/O system! We'll use a special locale with custom facets.
> bdawes>
> bdawes> Boost libraries shouldn't always be dead serious. There should be
> bdawes> a place for fun libraries too. They can be useful, too, and often
> bdawes> make good teaching examples.
> bdawes>
> bdawes> I hope those interested in Roman Numerals continue to work on the
> bdawes> problem, and come up with a nice little library for Boost!
> bdawes>
> bdawes> --Beman
> bdawes>
>
>
> ----------------------------------------------------------------------
> Jeremy Siek http://php.indiana.edu/~jsiek/
> Ph.D. Student, Indiana Univ. B'ton email: jsiek_at_[hidden]
> C++ Booster (http://www.boost.org) office phone: (812) 855-3608
> ----------------------------------------------------------------------
>
>
> _______________________________________________
> Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
>
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk