From: Felipe Magno de Almeida (felipe.m.almeida_at_[hidden])
Date: 2007-10-16 16:04:58
On 10/16/07, David Abrahams <dave_at_[hidden]> wrote:
> on Thu Oct 11 2007, "Felipe Magno de Almeida" <felipe.m.almeida-AT-gmail.com> wrote:
> > I'm creating a GUI library (still in pre-alpha) using the named
> > parameter library for the create function.
> > It has a interface like this:
> > wnd_lock<frame_window> w = create<frame_window>( _driver = gtk
> > , _pos = std::make_pair(20, 20), _size = std::make_pair(600, 400) );
> > Until here everything is alright.
> > But, for some controls, we must have extended keywords:
> > wnd_lock<text_box> text = create<text_box>( _parent = w, _pos =
> > std::make_pair(0, 0)
> > , text_box::_multi_line = true );
> > Is it achievable?
> Sorry, it isn't clear from the above what you mean by "extended
> keywords?" Is it just the use of text_box:: qualification on
No, I would like that my function would accept an unbound number of
_multi_line for example could be implemented by a third-party, and I
would like it to work with create<> function anyway.
> Dave Abrahams
> Boost Consulting
-- Felipe Magno de Almeida