|
Boost : |
From: David Turner (dkturner_at_[hidden])
Date: 2004-03-04 11:25:43
Russel wrote:
>
> But this wouldn't catch at compile time me writing
>
> label l = w.spawn("button");
>
True. You'll get a bad_cast exception. That's why you're encouraged to
use the constructor form rather than using window.spawn directly. I might
even decide to enforce that constraint by careful use of protected:.
Regards
David Turner
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk