Boost logo

Boost Users :

Subject: Re: [Boost-users] Metaprogamming question
From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2011-07-08 07:22:11


On 08/07/2011 12:30, joaquin_at_[hidden] wrote:

>> So, how do I write the metafunction that maps the type to the tag?
>
> Using a boost::mpl::map?
>
> http://www.boost.org/libs/mpl/doc/refmanual/map.html

Or explicit specialization.


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