[Insight-developers] C++11 make_pair() isn't compatible with the uses of 'make_pair<const std::string, std::string>(tag, value)'

Hauke Heibel hauke.heibel at gmail.com
Mon Sep 30 04:56:54 EDT 2013


Hi,

I think the use of std::make_pair in OptionList.cxx is causing the issue.
Either directly instantiate a std::pair or apply a static_cast to the
parameters of std::make_pair. The helper std::make_pair is intended to be
used without explicitly specifying the template parameters; they should be
automatically deduced.

Regards,
Hauke
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-developers/attachments/20130930/505796af/attachment.htm>


More information about the Insight-developers mailing list