$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Alexander Nasonov (alnsn_at_[hidden])
Date: 2002-08-05 09:24:57
Some time ago Eric Friedman posted a message 'is_better_conversion':
http://aspn.activestate.com/ASPN/Mail/Message/1264796
I posted reply with solution but I have no free time to polish it:
http://aspn.activestate.com/ASPN/Mail/Message/1274580
But I would like to. Ideally, I would like to see something like this:
typedef best_conversion<int,
TYPELIST_3(char, float, int)>::type best_for_int;
// best_for_int should be best conversion to int
// among char, float and int
typedef best_conversions<int,
TYPELIST_3(char, float, void *)>::list all_best_for_int;
// all_best_for_int should be a typelist of types that have
// best conversions to int among char, float and void *
Any ideas?
-- Best regards, Alexander Nasonov Fraunhofer Gesellschaft