
3 Mar
2004
3 Mar
'04
4:28 p.m.
On Wed, 3 Mar 2004 18:11:54 +0200, "Peter Dimov" <pdimov@mmltd.net> wrote:
Thorsten Ottosen wrote:
David,
I'm in full support of your effort. Just a small comment:
int main(int argc, char* argv[]) { window w = create_window(); w->title("Example window");
why is window implicitly a pointer?
What alternatives do you have in mind?
window_ptr w = create_window(); or shared_ptr<window> w = create_window(); Is the former too Hungarian? Tom -- C++ FAQ: http://www.parashift.com/c++-faq-lite/ C FAQ: http://www.eskimo.com/~scs/C-faq/top.html