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?
HTH
--
Dean Michael Berris
deanberris.com
------------------------------------------------------------------------------
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