Boost logo

Boost Users :

Subject: [Boost-users] [type_traits] Checking for same class template
From: Edward Diener (eldiener_at_[hidden])
Date: 2010-06-18 09:36:54


The type_trait is_same<T,T> can be used to check if two types are the
same. Is there a type_trait to check if two templates are the same ?

A template class I am developing takes as a template parameter a
template rather than a class and I would like to check, to be used in
MPL, whether the template being passed as a template parameter is the
same as another template.


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