Skip to content

Commit 524d957

Browse files
author
cpprefjp-autoupdate
committed
update automatically
1 parent c575c91 commit 524d957

File tree

4 files changed

+42
-189
lines changed

4 files changed

+42
-189
lines changed

index.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,6 @@ <h3>ゴールドスポンサー</h3>
243243
<p><ul><li>Hiroshi様</li></ul></p>
244244
<p><div style="text-align: center"><a href="https://www.cocotone.jp" target="_blank"><img alt="cocotone様" src="static/image/sponsors/cocotone/cocotone.png" title="cocotone様" width="560" /></a></div></p>
245245
<p><div style="text-align: center"><a href="https://www.cube-soft.jp/" target="_blank"><img alt="CubeSoft様" src="https://raw.githubusercontent.com/cube-soft/cube.assets/master/home/banner/large.png" title="CubeSoft様" /></a></div></p>
246-
<p><div style="text-align: center"><a href="https://shiguredo.jp/" target="_blank"><img alt="shiguredo様" src="static/image/sponsors/shiguredo/shiguredo.png" title="shiguredo様" width="560" /></a></div></p>
247246
<h3>シルバースポンサー</h3>
248247
<p><div style="text-align: center"><a href="https://acerola-software.jp/" target="_blank"><img alt="Acerola Software様" src="static/image/sponsors/Acerola/as_logo.png" title="Acerola Software様" width="400" /></a></div></p>
249248
<p><div style="text-align: center"><a href="https://www.fixstars.com/" target="_blank"><img alt="Fixstars様" src="static/image/sponsors/Fixstars/fixstars-logo.png" title="Fixstars様" width="400" /></a></div></p>

reference/string/basic_string/contains.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -200,8 +200,8 @@
200200

201201
<p class="text-right"><small>
202202
最終更新日時(UTC):
203-
<span itemprop="datePublished" content="2024-06-11T13:45:38">
204-
2024年06月11日 13時45分38秒
203+
<span itemprop="datePublished" content="2024-10-28T05:25:08">
204+
2024年10月28日 05時25分08秒
205205
</span>
206206
<br/>
207207
<span itemprop="author" itemscope itemtype="http://schema.org/Person">
@@ -280,13 +280,13 @@ <h3>出力</h3>
280280
<h2>バージョン</h2>
281281
<h3>言語</h3>
282282
<ul>
283-
<li>C++20</li>
283+
<li>C++23</li>
284284
</ul>
285285
<h3>処理系</h3>
286286
<ul>
287287
<li><a href="../../../implementation.html#clang">Clang</a>: 12.0 <span aria-label="検証済" role="img" title="検証済"></span></li>
288-
<li><a href="../../../implementation.html#gcc">GCC</a>:</li>
289-
<li><a href="../../../implementation.html#visual_cpp">Visual C++</a>: ??</li>
288+
<li><a href="../../../implementation.html#gcc">GCC</a>: 11 <span aria-label="検証済" role="img" title="検証済"></span></li>
289+
<li><a href="../../../implementation.html#visual_cpp">Visual C++</a>: 2022 <span aria-label="検証済" role="img" title="検証済"></span></li>
290290
</ul>
291291
<h2>参照</h2>
292292
<ul>

rss.xml

Lines changed: 36 additions & 182 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,44 @@
22
<feed xmlns="http://www.w3.org/2005/Atom">
33
<title>cpprefjp - C++日本語リファレンス</title>
44
<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>
77

88

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">&lt;pre&gt;&lt;code&gt;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+
&lt;/code&gt;&lt;/pre&gt;</summary>
36+
37+
<author>
38+
<name>Akira Takahashi</name>
39+
<email>[email protected]</email>
40+
</author>
41+
</entry>
42+
943
<entry>
1044
<title>C++国際標準規格 -- C++26 Working Draftを更新 #1357</title>
1145
<link href="https://cpprefjp.github.io/international-standard.html"/>
@@ -1818,186 +1852,6 @@ index 7988c7420..9f3df9e4b 100644
18181852
- [Visual C++](/implementation.md#visual_cpp): 2019 Update 3 [mark noimpl]
18191853

18201854

1821-
&lt;/code&gt;&lt;/pre&gt;</summary>
1822-
1823-
<author>
1824-
<name>yoh</name>
1825-
<email>[email protected]</email>
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">&lt;pre&gt;&lt;code&gt;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 &amp;lt;&amp;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 &amp;lt;&amp;lt; info.is_leap_second &amp;lt;&amp;lt; std::endl;
1848-
- std::cout &amp;lt;&amp;lt; info.elapsed.count() &amp;lt;&amp;lt; std::endl;
1849-
- }
1850-
- std::cout &amp;lt;&amp;lt; std::endl;
1851-
- {
1852-
- // 2017年1月1日はうるう秒が挿入された日
1853-
- chrono::utc_time date = chrono::clock_cast&amp;lt;chrono::utc_clock&amp;gt;(chrono::sys_days{2017y/1/1});
1854-
- chrono::leap_second_info info = chrono::get_leap_second_info(date);
1855-
-
1856-
- std::cout &amp;lt;&amp;lt; info.is_leap_second &amp;lt;&amp;lt; std::endl;
1857-
- std::cout &amp;lt;&amp;lt; info.elapsed.count() &amp;lt;&amp;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&amp;lt;chrono::utc_clock&amp;gt;(chrono::sys_days{2017y/1/1}) - 1s;
1863-
+ chrono::leap_second_info info = chrono::get_leap_second_info(tp);
1864-
+ std::cout &amp;lt;&amp;lt; tp &amp;lt;&amp;lt; std::endl;
1865-
+ std::cout &amp;lt;&amp;lt; info.is_leap_second &amp;lt;&amp;lt; &amp;#34; &amp;#34; &amp;lt;&amp;lt; info.elapsed.count() &amp;lt;&amp;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. `&amp;lt;chrono&amp;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-
&lt;/code&gt;&lt;/pre&gt;</summary>
1903-
1904-
<author>
1905-
<name>yoh</name>
1906-
<email>[email protected]</email>
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">&lt;pre&gt;&lt;code&gt;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 &amp;lt;&amp;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 &amp;lt;&amp;lt; info.is_leap_second &amp;lt;&amp;lt; std::endl;
1929-
- std::cout &amp;lt;&amp;lt; info.elapsed.count() &amp;lt;&amp;lt; std::endl;
1930-
+ // 2016-12-31 23:59:59 UTC
1931-
+ chrono::utc_time tp = chrono::clock_cast&amp;lt;chrono::utc_clock&amp;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 &amp;lt;&amp;lt; tp &amp;lt;&amp;lt; std::endl;
1936-
+ std::cout &amp;lt;&amp;lt; info.is_leap_second &amp;lt;&amp;lt; &amp;#34; &amp;#34; &amp;lt;&amp;lt; info.elapsed.count() &amp;lt;&amp;lt; std::endl;
1937-
}
1938-
- std::cout &amp;lt;&amp;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&amp;lt;chrono::utc_clock&amp;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 &amp;lt;&amp;lt; tp &amp;lt;&amp;lt; std::endl;
1949-
+ std::cout &amp;lt;&amp;lt; info.is_leap_second &amp;lt;&amp;lt; &amp;#34; &amp;#34; &amp;lt;&amp;lt; info.elapsed.count() &amp;lt;&amp;lt; std::endl;
1950-
+ }
1951-
1952-
- std::cout &amp;lt;&amp;lt; info.is_leap_second &amp;lt;&amp;lt; std::endl;
1953-
- std::cout &amp;lt;&amp;lt; info.elapsed.count() &amp;lt;&amp;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 &amp;lt;&amp;lt; tp &amp;lt;&amp;lt; std::endl;
1959-
+ std::cout &amp;lt;&amp;lt; info.is_leap_second &amp;lt;&amp;lt; &amp;#34; &amp;#34; &amp;lt;&amp;lt; info.elapsed.count() &amp;lt;&amp;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)
20011855
&lt;/code&gt;&lt;/pre&gt;</summary>
20021856

20031857
<author>

sitemap.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15438,7 +15438,7 @@
1543815438

1543915439
<url>
1544015440
<loc>https://cpprefjp.github.io/reference/string/basic_string/contains.html</loc>
15441-
<lastmod>2024-08-01T22:40:15+09:00</lastmod>
15441+
<lastmod>2024-10-28T14:25:08+09:00</lastmod>
1544215442
<changefreq>daily</changefreq>
1544315443
<priority>0.6</priority>
1544415444
</url>

0 commit comments

Comments
 (0)