[Insight-developers] itkSetMacro with STL types

David Doria daviddoria at gmail.com
Thu Apr 14 15:07:30 EDT 2011


If I add this to a filter:

typedef std::set<int> SetType;
SetType SetVariable;
itkSetMacro( SetVariable, SetType );

I get:
MyImageFilter.h: error: no match for ‘operator<<’ in ‘std::operator<<

which I believe comes from itkDebugMacro inside of itkSetMacro.

Is there any easy way to allow this sort of thing?

Thanks,

David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/mailman/private/insight-developers/attachments/20110414/fb10d149/attachment.htm>


More information about the Insight-developers mailing list