std::put_time does not accept *const* object - by Egtra

Status : 


Sign in
to vote
ID 773846 Comments
Status Closed Workarounds
Type Bug Repros 0
Opened 12/8/2012 7:05:29 AM
Access Restriction Public


In C++11 (ISO/IEC 14882:2011) Specification, std::put_time is declared as put_time(const struct tm *, const charT *). But Visual C++ 2012's std::put_time is declared put_time(struct tm *, const charT *). It makes compile error in some codes.
Sign in to post a comment.
Posted by Microsoft on 4/29/2014 at 12:31 PM
Thank you for reporting this issue. This issue has been fixed in Visual Studio 2013. You can install a trial version of Visual Studio 2013 with the fix from:
Posted by Microsoft on 12/17/2012 at 4:59 PM

Thanks for reporting this bug. We've fixed it, and the fix will be available in the next release of our C++ Standard Library implementation.

Note: Connect doesn't notify me about comments. If you have any further questions, please E-mail me.

Stephan T. Lavavej
Senior Developer - Visual C++ Libraries
Posted by Microsoft on 12/9/2012 at 11:53 PM
Thanks for your feedback.

We are rerouting this issue to the appropriate group within the Visual Studio Product Team for triage and resolution. These specialized experts will follow-up with your issue.
Posted by Microsoft on 12/8/2012 at 7:51 AM
Thank you for your feedback, we are currently reviewing the issue you have submitted. If this issue is urgent, please contact support directly(