$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [boost] [scope_exit] Doesn't included in Boost yet?
From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2009-01-13 10:42:37
Giovanni Piero Deretta wrote:
> I still I do not see how can you define *polymorphic* inline functions
> with ScopeExit or a similar technique (which IIRC is basically 'just'
> a local class).
instead of expanding the macro to
...
R operator()(T1 t1) { ... }
...
you generate
...
template<typename T1>
R operator()(T1 t1) { ... }
...