Boost logo

Boost Users :

From: Stephen Gross (sgross_at_[hidden])
Date: 2005-04-12 13:04:44


Hi all... I know this is a simple question, but I can't figure out which
boost function to use. How do I find out if two types are the same type?

For example:

template<C1, C2> void compare()
{
  if(boost::types_are_the_same<C1, C2>::result == true) ...
}

Thanks!
--Steve

Stephen Gross
Case Western School of Medicine
Cleveland, OH

"The large print giveth and the small print taketh away." - Tom Waits


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net