|
2 | 2 | <feed xmlns="http://www.w3.org/2005/Atom"> |
3 | 3 | <title>cpprefjp - C++日本語リファレンス</title> |
4 | 4 | <link href="https://cpprefjp.github.io" /> |
5 | | - <updated>2024-10-27T14:41:12.355346</updated> |
6 | | - <id>da1d7d22-dea5-4257-a01f-1540a0ba582a</id> |
| 5 | + <updated>2024-10-28T05:28:12.365876</updated> |
| 6 | + <id>a12f4732-82b9-48e1-9ba7-a5050131afde</id> |
7 | 7 |
|
8 | 8 |
|
| 9 | + <entry> |
| 10 | + <title>contains -- string::contains : バージョン表記のミスを修正</title> |
| 11 | + <link href="https://cpprefjp.github.io/reference/string/basic_string/contains.html"/> |
| 12 | + <id>7de58d9f34f0503f97ee10ccec8f90ff48d5cf6d:reference/string/basic_string/contains.md</id> |
| 13 | + <updated>2024-10-28T14:25:08+09:00</updated> |
| 14 | + |
| 15 | + <summary type="html"><pre><code>diff --git a/reference/string/basic_string/contains.md b/reference/string/basic_string/contains.md |
| 16 | +index 52cd09cc0..ebb7a3287 100644 |
| 17 | +--- a/reference/string/basic_string/contains.md |
| 18 | ++++ b/reference/string/basic_string/contains.md |
| 19 | +@@ -70,12 +70,12 @@ int main() { |
| 20 | + |
| 21 | + ## バージョン |
| 22 | + ### 言語 |
| 23 | +-- C++20 |
| 24 | ++- C++23 |
| 25 | + |
| 26 | + ### 処理系 |
| 27 | + - [Clang](/implementation.md#clang): 12.0 [mark verified] |
| 28 | +-- [GCC](/implementation.md#gcc): |
| 29 | +-- [Visual C++](/implementation.md#visual_cpp): ?? |
| 30 | ++- [GCC](/implementation.md#gcc): 11 [mark verified] |
| 31 | ++- [Visual C++](/implementation.md#visual_cpp): 2022 [mark verified] |
| 32 | + |
| 33 | + |
| 34 | + ## 参照 |
| 35 | +</code></pre></summary> |
| 36 | + |
| 37 | + <author> |
| 38 | + <name>Akira Takahashi</name> |
| 39 | + |
| 40 | + </author> |
| 41 | + </entry> |
| 42 | + |
9 | 43 | <entry> |
10 | 44 | <title>C++国際標準規格 -- C++26 Working Draftを更新 #1357</title> |
11 | 45 | <link href="https://cpprefjp.github.io/international-standard.html"/> |
@@ -1818,186 +1852,6 @@ index 7988c7420..9f3df9e4b 100644 |
1818 | 1852 | - [Visual C++](/implementation.md#visual_cpp): 2019 Update 3 [mark noimpl] |
1819 | 1853 |
|
1820 | 1854 |
|
1821 | | -</code></pre></summary> |
1822 | | - |
1823 | | - <author> |
1824 | | - <name>yoh</name> |
1825 | | - |
1826 | | - </author> |
1827 | | - </entry> |
1828 | | - |
1829 | | - <entry> |
1830 | | - <title>get_leap_second_info -- chrono: leap_second_info例示コード改定(GCC13.2)</title> |
1831 | | - <link href="https://cpprefjp.github.io/reference/chrono/get_leap_second_info.html"/> |
1832 | | - <id>2e1d2fe272b34455486af4a9762cf618b76ce796:reference/chrono/get_leap_second_info.md</id> |
1833 | | - <updated>2024-10-17T21:25:18+09:00</updated> |
1834 | | - |
1835 | | - <summary type="html"><pre><code>diff --git a/reference/chrono/get_leap_second_info.md b/reference/chrono/get_leap_second_info.md |
1836 | | -index ffedc03a8..b1f93a111 100644 |
1837 | | ---- a/reference/chrono/get_leap_second_info.md |
1838 | | -+++ b/reference/chrono/get_leap_second_info.md |
1839 | | -@@ -37,28 +37,18 @@ using namespace std::chrono_literals; |
1840 | | - int main() |
1841 | | - { |
1842 | | - std::cout &lt;&lt; std::boolalpha; |
1843 | | -- { |
1844 | | -- chrono::utc_time now = chrono::utc_clock::now(); |
1845 | | -- chrono::leap_second_info info = chrono::get_leap_second_info(now); |
1846 | | -- |
1847 | | -- std::cout &lt;&lt; info.is_leap_second &lt;&lt; std::endl; |
1848 | | -- std::cout &lt;&lt; info.elapsed.count() &lt;&lt; std::endl; |
1849 | | -- } |
1850 | | -- std::cout &lt;&lt; std::endl; |
1851 | | -- { |
1852 | | -- // 2017年1月1日はうるう秒が挿入された日 |
1853 | | -- chrono::utc_time date = chrono::clock_cast&lt;chrono::utc_clock&gt;(chrono::sys_days{2017y/1/1}); |
1854 | | -- chrono::leap_second_info info = chrono::get_leap_second_info(date); |
1855 | | -- |
1856 | | -- std::cout &lt;&lt; info.is_leap_second &lt;&lt; std::endl; |
1857 | | -- std::cout &lt;&lt; info.elapsed.count() &lt;&lt; std::endl; |
1858 | | -- } |
1859 | | -+ // 日本標準時(JST)2017年1月1日にうるう秒挿入が実施され |
1860 | | -+ // 2016-12-31 23:59:60 UTC |
1861 | | -+ // が存在する |
1862 | | -+ chrono::utc_time tp = chrono::clock_cast&lt;chrono::utc_clock&gt;(chrono::sys_days{2017y/1/1}) - 1s; |
1863 | | -+ chrono::leap_second_info info = chrono::get_leap_second_info(tp); |
1864 | | -+ std::cout &lt;&lt; tp &lt;&lt; std::endl; |
1865 | | -+ std::cout &lt;&lt; info.is_leap_second &lt;&lt; &#34; &#34; &lt;&lt; info.elapsed.count() &lt;&lt; std::endl; |
1866 | | - } |
1867 | | - ``` |
1868 | | - * chrono::leap_second_info[link leap_second_info.md] |
1869 | | - * chrono::utc_time[link utc_time.md] |
1870 | | - * chrono::utc_clock[link utc_clock.md] |
1871 | | --* now()[link utc_clock/now.md] |
1872 | | - * count()[link duration/count.md] |
1873 | | - * 2017y[link year/op_y.md] |
1874 | | - * chrono::sys_days[link sys_time.md] |
1875 | | -@@ -66,16 +56,13 @@ int main() |
1876 | | - |
1877 | | - ### 出力例 |
1878 | | - ``` |
1879 | | --false |
1880 | | --27 |
1881 | | -- |
1882 | | --true |
1883 | | --27 |
1884 | | -+2016-12-31 23:59:60 |
1885 | | -+true 27 |
1886 | | - ``` |
1887 | | - |
1888 | | - ### 処理系 |
1889 | | - - [Clang](/implementation.md#clang): 9.0 [mark noimpl] |
1890 | | --- [GCC](/implementation.md#gcc): 9.2 [mark noimpl] |
1891 | | -+- [GCC](/implementation.md#gcc): 9.2 [mark noimpl], 13.2 [mark impl] |
1892 | | - - [Visual C++](/implementation.md#visual_cpp): 2019 Update 3 [mark noimpl] |
1893 | | - |
1894 | | - |
1895 | | -@@ -84,5 +71,6 @@ true |
1896 | | - |
1897 | | - |
1898 | | - ## 参照 |
1899 | | -+- [日本標準時プロジェクト Information of Leap second](https://jjy.nict.go.jp/QandA/data/leapsec.html) |
1900 | | - - [P1466R3 Miscellaneous minor fixes for chrono](http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2019/p1466r3.html) |
1901 | | - - [LWG Issue 3359. `&lt;chrono&gt;` leap second support should allow for negative leap seconds](http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2020/p2117r0.html#3359) |
1902 | | -</code></pre></summary> |
1903 | | - |
1904 | | - <author> |
1905 | | - <name>yoh</name> |
1906 | | - |
1907 | | - </author> |
1908 | | - </entry> |
1909 | | - |
1910 | | - <entry> |
1911 | | - <title>leap_second_info -- chrono: leap_second_info例示コード改定(GCC13.2)</title> |
1912 | | - <link href="https://cpprefjp.github.io/reference/chrono/leap_second_info.html"/> |
1913 | | - <id>2e1d2fe272b34455486af4a9762cf618b76ce796:reference/chrono/leap_second_info.md</id> |
1914 | | - <updated>2024-10-17T21:25:18+09:00</updated> |
1915 | | - |
1916 | | - <summary type="html"><pre><code>diff --git a/reference/chrono/leap_second_info.md b/reference/chrono/leap_second_info.md |
1917 | | -index 8f2c862f0..6e311e5e5 100644 |
1918 | | ---- a/reference/chrono/leap_second_info.md |
1919 | | -+++ b/reference/chrono/leap_second_info.md |
1920 | | -@@ -35,45 +35,55 @@ using namespace std::chrono_literals; |
1921 | | - int main() |
1922 | | - { |
1923 | | - std::cout &lt;&lt; std::boolalpha; |
1924 | | -- { |
1925 | | -- chrono::utc_time now = chrono::utc_clock::now(); |
1926 | | -- chrono::leap_second_info info = chrono::get_leap_second_info(now); |
1927 | | - |
1928 | | -- std::cout &lt;&lt; info.is_leap_second &lt;&lt; std::endl; |
1929 | | -- std::cout &lt;&lt; info.elapsed.count() &lt;&lt; std::endl; |
1930 | | -+ // 2016-12-31 23:59:59 UTC |
1931 | | -+ chrono::utc_time tp = chrono::clock_cast&lt;chrono::utc_clock&gt;(chrono::sys_days{2017y/1/1}); |
1932 | | -+ tp -= 2s; |
1933 | | -+ { |
1934 | | -+ chrono::leap_second_info info = chrono::get_leap_second_info(tp); |
1935 | | -+ std::cout &lt;&lt; tp &lt;&lt; std::endl; |
1936 | | -+ std::cout &lt;&lt; info.is_leap_second &lt;&lt; &#34; &#34; &lt;&lt; info.elapsed.count() &lt;&lt; std::endl; |
1937 | | - } |
1938 | | -- std::cout &lt;&lt; std::endl; |
1939 | | -+ |
1940 | | -+ // 日本標準時(JST)2017年1月1日にうるう秒挿入が実施された |
1941 | | -+ // 2016-12-31 23:59:60 UTC |
1942 | | -+ tp += 1s; |
1943 | | - { |
1944 | | -- // 2017年1月1日はうるう秒が挿入された日 |
1945 | | -- chrono::utc_time date = chrono::clock_cast&lt;chrono::utc_clock&gt;(chrono::sys_days{2017y/1/1}); |
1946 | | -- chrono::leap_second_info info = chrono::get_leap_second_info(date); |
1947 | | -+ chrono::leap_second_info info = chrono::get_leap_second_info(tp); |
1948 | | -+ std::cout &lt;&lt; tp &lt;&lt; std::endl; |
1949 | | -+ std::cout &lt;&lt; info.is_leap_second &lt;&lt; &#34; &#34; &lt;&lt; info.elapsed.count() &lt;&lt; std::endl; |
1950 | | -+ } |
1951 | | - |
1952 | | -- std::cout &lt;&lt; info.is_leap_second &lt;&lt; std::endl; |
1953 | | -- std::cout &lt;&lt; info.elapsed.count() &lt;&lt; std::endl; |
1954 | | -+ // 2017-01-01 00:00:00 UTC |
1955 | | -+ tp += 1s; |
1956 | | -+ { |
1957 | | -+ chrono::leap_second_info info = chrono::get_leap_second_info(tp); |
1958 | | -+ std::cout &lt;&lt; tp &lt;&lt; std::endl; |
1959 | | -+ std::cout &lt;&lt; info.is_leap_second &lt;&lt; &#34; &#34; &lt;&lt; info.elapsed.count() &lt;&lt; std::endl; |
1960 | | - } |
1961 | | - } |
1962 | | - ``` |
1963 | | - * chrono::get_leap_second_info[link get_leap_second_info.md] |
1964 | | - * chrono::utc_time[link utc_time.md] |
1965 | | - * chrono::utc_clock[link utc_clock.md] |
1966 | | --* now()[link utc_clock/now.md] |
1967 | | - * count()[link duration/count.md] |
1968 | | - * 2017y[link year/op_y.md] |
1969 | | - * chrono::sys_days[link sys_time.md] |
1970 | | - * chrono::clock_cast[link clock_cast.md] |
1971 | | - |
1972 | | --### 出力例 |
1973 | | -+### 出力 |
1974 | | - ``` |
1975 | | --false |
1976 | | --27 |
1977 | | -- |
1978 | | --true |
1979 | | --27 |
1980 | | -+2016-12-31 23:59:59 |
1981 | | -+false 26 |
1982 | | -+2016-12-31 23:59:60 |
1983 | | -+true 27 |
1984 | | -+2017-01-01 00:00:00 |
1985 | | -+false 27 |
1986 | | - ``` |
1987 | | - |
1988 | | - ### 処理系 |
1989 | | - - [Clang](/implementation.md#clang): 9.0 [mark noimpl] |
1990 | | --- [GCC](/implementation.md#gcc): 9.2 [mark noimpl] |
1991 | | -+- [GCC](/implementation.md#gcc): 9.2 [mark noimpl], 13.2 [mark impl] |
1992 | | - - [Visual C++](/implementation.md#visual_cpp): 2019 Update 3 [mark noimpl] |
1993 | | - |
1994 | | - |
1995 | | -@@ -82,4 +92,5 @@ true |
1996 | | - |
1997 | | - |
1998 | | - ## 参照 |
1999 | | -+- [日本標準時プロジェクト Information of Leap second](https://jjy.nict.go.jp/QandA/data/leapsec.html) |
2000 | | - - [P1466R3 Miscellaneous minor fixes for chrono](http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2019/p1466r3.html) |
2001 | 1855 | </code></pre></summary> |
2002 | 1856 |
|
2003 | 1857 | <author> |
|
0 commit comments