$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: Alfred Kohl (alfred.kohl_at_[hidden])
Date: 2008-05-22 13:43:07
Hi!
I'd like to use MPL to remove elements of a set from another set.
E.g.:
using boost::mpl::set;
struct a {};
struct b {};
struct c {};
typedef set<a, b, c> input;
typedef set<b, c> remove_these;
typedef boost::mpl::remove<input, remove_these>::type result;
And result should be equal(?) to set<a>.
Any idea how to do this?
I'm a newbie on MPL terrain and it is quite brain-twisting... (I could use a beer to relief some strain)
TIA
Alfred
-- Desperate Housewives - das Spiel! Pikante Skandale, schockierende Details unter: http://flat.games.gmx.de