|
Boost Users : |
Subject: Re: [Boost-users] [Proto] Detecting if a tag is a proto type or not
From: Eric Niebler (eric_at_[hidden])
Date: 2008-11-17 10:36:26
Joel Falcou wrote:
> I want to do some dispatching based on the fatc that my binary_expr tag
> is one of predefined proto tag or not.
> What kind of internal properties of proto tags can I try to use to
> perform this discrimination ?
>
Well, they're defined in the boost::proto::tag namespace. You can play
tricks with ADL and sizeof....
-- Eric Niebler BoostPro Computing http://www.boostpro.com
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