The message is 'You cannot bind an lvalue to an rvalue reference'.
However, VS 11 compiles if i remove the template arguments and let the
compiler apply template argument deduction:
std::make_pair<double, unsigned int>(vd_curvestart[ui_curve_cnt],
ui_curve_cnt)
becomes
std::make_pair(vd_curvestart[ui_curve_cnt], ui_curve_cnt)
Could that be a C++11-related issue?

> Hi,
> Compilation fails in OSGNurbsPatchSurface.cpp, line 1509 and 1535:
> error C2664: 'std::make_pair' : cannot convert parameter 1 from 'double'
> to 'const double &&'
> Regards,
> Alexander Lang
>
>




------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
Opensg-users mailing list
Opensg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to