$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
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?
http://boost-sandbox.sourceforge.net/libs/proto/doc/html/BOOST_PROTO_EXTENDS.html
-- Eric Niebler BoostPro Computing http://www.boostpro.com