This commit is contained in:
2025-10-25 03:02:53 +03:00
commit 043225d523
3416 changed files with 681196 additions and 0 deletions

19
cppdraft/depr/ctime.md Normal file
View File

@@ -0,0 +1,19 @@
[depr.ctime]
# Annex D (normative) Compatibility features [[depr]](./#depr)
## D.21 Deprecated time formatting [depr.ctime]
[1](#1)
[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/future.tex#L776)
The header [<ctime>](ctime.syn#header:%3cctime%3e "30.15Header <ctime> synopsis[ctime.syn]") has the following additions:char* asctime(const tm* timeptr);char* ctime(const time_t* timer);
[2](#2)
[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/future.tex#L783)
The functions asctime and ctime are not required to avoid data races ([[res.on.data.races]](res.on.data.races "16.4.6.10Data race avoidance"))[.](#2.sentence-1)
See also: ISO/IEC 9899:2024, 7.29