With Visual C++ compiler below code works
template <typename TImage> typename TImage::Pointer
maximumTwoImages(const TImage* image1, const TImage* image2) { typedef
itk::MaximumImageFilter<TImage> MaximumImageFilter;
MaximumImageFilter::Pointer maxImage = MaximumImageFilter::New();
But with GNU C++ (with -std=c++11) I'm getting: itk::MaximumImageFilter does
not a template type
even if I add `typename` to last line error will be the same.
How to deal with g++ here? Thank you ------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users