<html><head><style data-externalstyle="true"><!--
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph {
margin-top:0in;
margin-right:0in;
margin-bottom:0in;
margin-left:.5in;
margin-bottom:.0001pt;
}
p.MsoListParagraphCxSpFirst, li.MsoListParagraphCxSpFirst, div.MsoListParagraphCxSpFirst, p.MsoListParagraphCxSpMiddle, li.MsoListParagraphCxSpMiddle, div.MsoListParagraphCxSpMiddle, p.MsoListParagraphCxSpLast, li.MsoListParagraphCxSpLast, div.MsoListParagraphCxSpLast {
margin-top:0in;
margin-right:0in;
margin-bottom:0in;
margin-left:.5in;
margin-bottom:.0001pt;
line-height:115%;
}
--></style></head><body><div data-externalstyle="false" dir="ltr" style="font-family:'Microsoft YaHei UI',Calibri,'Segoe UI',Meiryo,'Microsoft JhengHei UI','Malgun Gothic','Khmer UI','Nirmala UI',Tunga,'Lao UI',Ebrima,sans-serif;font-size:12pt;"><div><span style="color: rgb(0, 0, 0);">Hi Matt,</span>
</div><div> </div><p style="margin: 0px; text-indent: 0px; -qt-block-indent: 0;"><span style="color: rgb(0, 0, 0);">Last week was China's National Day holiday, so I didn't reply your mail immediately.</span></p><p style="margin: 0px; text-indent: 0px; -qt-block-indent: 0;"><span style="color: rgb(0, 0, 0);"></span> </p><p style="margin: 0px; text-indent: 0px; -qt-block-indent: 0;"><span style="color: rgb(0, 0, 0);">I'll do my best to submit a patch when I learn the instructions for ITKApps.</span></p><div> </div><p style="margin: 0px; text-indent: 0px; -qt-block-indent: 0;"><span style="color: rgb(0, 0, 0);">Thank you for your kindly remind.</span></p><div> </div><div data-signatureblock="true"><div>Jianfeng Zhao<br>Inner Mongolia University of Science and Technology<br>nmgzjf@gmail.com</div><div> </div></div><div style="padding-top: 5px; border-top-color: rgb(229, 229, 229); border-top-width: 1px; border-top-style: solid;"><div><font face="Calibri, 'Segoe UI', Meiryo, 'Microsoft YaHei UI', 'Microsoft JhengHei UI', 'Malgun Gothic', 'Khmer UI', 'Nirmala UI', Tunga, 'Lao UI', Ebrima, sans-serif" style='line-height: 15pt; letter-spacing: 0.02em; font-family: Calibri, "Segoe UI", Meiryo, "Microsoft YaHei UI", "Microsoft JhengHei UI", "Malgun Gothic", "Khmer UI", "Nirmala UI", Tunga, "Lao UI", Ebrima, sans-serif; font-size: 11pt;'><b>发件人:</b> Matt McCormick<br><b>发送时间:</b> 2013年10月1日, 星期二 0:21<br><b>收件人:</b> nmgzjf@gmail.com<br><b>抄送:</b> Hauke Heibel; insight-developers@itk.org; Xiaoxiao Liu</font></div></div><div> </div>Hi Jianfeng,<br><br>Thanks for notifying the list.<br><br>If you would like to submit a patch, your contributions are welcome<br>and appreciated! The instructions for ITKApps [1] are the same as ITK<br>[2].<br><br>Our Chinese contribution expert, Xiaoxiao, can also help with any<br>translation needs! :-)<br><br>Thanks,<br>Matt<br><br>[1] http://itk.org/gitweb?p=ITKApps.git<br>[2] http://insightsoftwareconsortium.github.io/ITKBarCamp-doc/CommunitySoftwareProcess/SubmitAPatchToGerrit/index.html<br><br>On Mon, Sep 30, 2013 at 9:02 AM, <nmgzjf@gmail.com> wrote:<br>> Hi,<br>><br>> You are right, "make_pair()' has changed in C++ 11 version. The following<br>> is the explanation of Stephan T. Lavavej of Visual C++ Libraries Developer.<br>><br>> C++03: template <class T1, class T2> pair<T1, T2> make_pair(T1 x, T2 y);<br>><br>> C++11: template <class T1, class T2> pair<V1, V2> make_pair(T1&& x, T2&& y);<br>><br>> There are several subtleties in both the C++03 and C++11 versions (C++03<br>> taking values - changed from C++98 - and C++11 returning decayed types). As<br>> I recall, VC10 had four overloads, which may or may not have corresponded to<br>> a Working Paper at some point in time, but the final version of C++11<br>> specifies the single function template above, and that's what we've<br>> implemented in VC11. It's Saturday, so I hope you won't mind if I skip<br>> directly to the high-level summary:<br>><br>> C++11 make_pair() is now a perfect forwarding function. This is a good thing<br>> (it's more efficient), but it's also incompatible with most uses of explicit<br>> template arguments. As it turns out, that's fine because make_pair()'s whole<br>> purpose in life is to be used WITHOUT explicit template arguments.<br>> He also gives the suggestion of this situation, we can get the detail from<br>> the page:<br>> http://connect.microsoft.com/VisualStudio/feedback/details/691756/std-make-pair-error-in-vc11<br>><br>> Jianfeng Zhao<br>> Inner Mongolia University of Science and Technology<br>> nm_zjf@imust.edu.cn<br>><br>> 发件人: Hauke Heibel<br>> 发送时间: 2013年9月30日, 星期一 16:56<br>> 收件人: nmgzjf@gmail.com<br>> 抄送: insight-developers@itk.org<br>><br>> Hi,<br>><br>> I think the use of std::make_pair in OptionList.cxx is causing the issue.<br>> Either directly instantiate a std::pair or apply a static_cast to the<br>> parameters of std::make_pair. The helper std::make_pair is intended to be<br>> used without explicitly specifying the template parameters; they should be<br>> automatically deduced.<br>><br>> Regards,<br>> Hauke<br>><br>> _______________________________________________<br>> Powered by www.kitware.com<br>><br>> Visit other Kitware open-source projects at<br>> http://www.kitware.com/opensource/opensource.html<br>><br>> Kitware offers ITK Training Courses, for more information visit:<br>> http://kitware.com/products/protraining.php<br>><br>> Please keep messages on-topic and check the ITK FAQ at:<br>> http://www.itk.org/Wiki/ITK_FAQ<br>><br>> Follow this link to subscribe/unsubscribe:<br>> http://www.itk.org/mailman/listinfo/insight-developers<br>><br></div></body></html>