Boost logo

Boost :

From: John Torjo (john.lists_at_[hidden])
Date: 2004-09-13 14:21:12


>
> using boost::range::io;
>
> std::cout << adorn( r, adornment( "{", "' ", " }" ) );

This leads me to think about this:

using boost::range;
std::cout << write(c);
std::cin >> read(c);

>>You mean supporting your range_streamer from within my framework? Or
>>supporting ranged types in general (range types are supported within the
>>framework)?
>
>
> Two(ill communicated) points were intended. The first would be extending
> io::range with io::filtered_range, and io::transformed_range. These would

As a side note, the RangeLib (formelly, Range Template Library) has them
and they work like a charm ;)
I will post an update in about a week and a half.

(were you talking about them?)

Best,
John

-- 
John Torjo
-- john_at_[hidden]
Contributing editor, C/C++ Users Journal
-- "Win32 GUI Generics" -- generics & GUI do mix, after all
-- http://www.torjo.com/win32gui/
-- v1.4.0 - save_dlg - true binding of your data to UI controls!
    + easily add validation rules (win32gui/examples/smart_dlg)

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