$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: chun ping wang (cablepuff_at_[hidden])
Date: 2007-10-31 17:52:14
Hi is their a simple way *at compile time *to determine if a member function
exist for a particular instance, if yes than use that function otherwise do
not use it.
example std::list<int> li;
// check if unique is a member function of li, if yes use unique.
li.unique();
// else use stl unique.
std::unique(li.begin(), li.end());