Boost logo

Boost Users :

Subject: Re: [Boost-users] [Proto] terminal class acting as Pod
From: Eric Niebler (eric_at_[hidden])
Date: 2008-11-11 12:26:16

Joel Falcou wrote:
> I remember seeing a example code where terminal where treated as POD
> thanks to some macro.
> basically, if i have a foo_expr in a foo_domain, how can I build a
> special terminal class which acts as a POD
> if foo_expr is generated using pod_generator so I can write stuff like :
> foo x = { ... soem value };
> where foo is a terminal extending foo_expr

Is BOOST_PROTO_EXTENDS what you're looking for?

Eric Niebler
BoostPro Computing

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at