
18 Jun
2010
18 Jun
'10
6:42 p.m.
On 6/18/2010 9:36 AM, Edward Diener wrote:
The type_trait is_same
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.
I realized the answer to this after I posted it so no one need reply. I
can just create a type from the template and use is_same