|
Boost Users : |
Subject: Re: [Boost-users] Help with shared_ptr and template
From: Mario Chacon (the.masch_at_[hidden])
Date: 2009-01-28 08:47:03
Great !! These is it exactly what I need!!..
You rocks men!!...
Thank you for all!!...
Mario
Salu2...
On Wed, Jan 28, 2009 at 11:01 AM, Andrew Sutton
<andrew.n.sutton_at_[hidden]>wrote:
> Template template parameters?
>
> template<typename T, template <typename> class Value>
> struct Type{
> typedef boost::shared_ptr< Value<T> > pValue;
> };
>
> int main(int argc, char *argv[])
> {
> Type<bool, CValue>::pValue a;
>
> return EXIT_SUCCESS;
> }
>
>
> Andrew Sutton
> andrew.n.sutton_at_[hidden]
>
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net