[prev in list] [next in list] [prev in thread] [next in thread] 

List:       boost
Subject:    Re: [boost] Deterimining interest in: Optional Polymorphic Value
From:       shunsuke <pstade.mb () gmail ! com>
Date:       2007-11-02 11:22:09
Message-ID: fgf193$3q2$1 () ger ! gmane ! org
[Download RAW message or body]

Corrado Zoccolo wrote:
> I don't think we can have a generic nonnullable<Z> that can select and
> forward only the correct constructors. You have to specialize it for every
> pointer-like class, so it doesn't simplify the developer work, 

Right, it would lead to complexity in order to
know the result type of dereference.


So, why not nonnullable_poly(or something).
boost::any and boost::function are nullable but
those names don't have "optional_" prefix.


Regards,

-- 
Shunsuke Sogame

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic