Hi Dean,
On 22 June 2010 12:06, Dean Michael Berris <[email protected]> wrote:
> Hi Guys,
>
> I've been working on something that allows for better tag composition
> in cpp-netlib. The idea is to actually now use template
> metaprogramming provided by Boost.MPL to differentiate whether tags
> denote certain properties. This should make tag specialization easier:
>
> struct foo : async, http {};
>
> We can the query whether:
>
> is_async<foo>::value // either boolean constant true or false
> is_async<foo>::type // either mpl::true_ or mpl::false_
>
> This makes overloading the policy dispatcher metafunction
> significantly easier to extend.
>
> Thoughts? Comments?
>
This would be very useful. I haven't been able to test it yet, but what is
the impact on compilation times?
G
------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
lucky parental unit. See the prize list and enter to win:
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Cpp-netlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cpp-netlib-devel