$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-users] [variant] Variant call forwarding?
From: Rutger ter Borg (rutger_at_[hidden])
Date: 2010-02-23 11:50:40
Hello,
I'm wondering what's the easiest way to enable call forwarding by a variant
to contained function objects accepting the same arguments?
I.e.,
variant< F, G > m_funcs;
m_funcs = f;
m_funcs( a, b, c );
m_funcs = g;
m_funcs( a, b, c );
Thanks,
Cheers,
Rutger