|
Boost : |
From: Hartmut Kaiser (hartmutkaiser_at_[hidden])
Date: 2003-11-28 12:07:52
Douglas Paul Gregor wrote:
> struct some_safe_bool_nested_class {
> int my_data_member;
> };
>
> typedef int some_safe_bool_nested_class::*safe_bool_type;
>
> ?
>
> You don't ever need an instance of some_safe_bool_nested_class.
That's exactly the base of the solution suggested by Joel de Guzman
yesterday on this thread.
Regards Hartmut
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk