Repository navigation
Expand file tree
/
Copy paththird_party_library.html
More file actions
404 lines (324 loc) · 19.6 KB
/
Copy paththird_party_library.html
File metadata and controls
404 lines (324 loc) · 19.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
<!doctype html>
<html class="cpprefjp" lang="ja" itemscope="" itemtype="http://schema.org/WebPage">
<head>
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-NXNBNVBTJS"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-NXNBNVBTJS');
</script>
<meta charset="UTF-8">
<title>外部ライブラリ - cpprefjp C++日本語リファレンス</title>
<meta name="viewport" content="width=device-width,initial-scale=1">
<meta name="keywords" content="
C++,標準ライブラリ,リファレンス,ドキュメント,STL,std,
">
<meta name="title" content="外部ライブラリ - cpprefjp C++日本語リファレンス" />
<meta itemprop="name" content="外部ライブラリ - cpprefjp C++日本語リファレンス" />
<meta property="og:title" content="外部ライブラリ - cpprefjp C++日本語リファレンス" />
<meta property="og:url" content="https://cpprefjp.github.io/third_party_library.html" />
<meta property="og:site_name" content="cpprefjp - C++日本語リファレンス" />
<meta property="og:type" content="article" />
<meta property="og:description" content="外部ライブラリ C++での開発に使用できる有用なライブラリを以下に例示する。 Boost C++ Libraries C++の準標準と呼ばれているライブラリ。C++標準化委員会のメンバも多く関わっており、Boostに含まれるライブラリの中から次期標準ライブラリとして採用されたものも多数ある。Intel(Boost.Polygon), Adobe(Boost.GIL)も開発に関わっている。スレッ" />
<meta property="og:image" content="" />
<meta name="twitter:card" content="summary" />
<meta name="twitter:title" content="外部ライブラリ - cpprefjp C++日本語リファレンス" />
<meta name="twitter:url" content="https://cpprefjp.github.io/third_party_library.html" />
<meta name="twitter:description" content="外部ライブラリ C++での開発に使用できる有用なライブラリを以下に例示する。 Boost C++ Libraries C++の準標準と呼ばれているライブラリ。C++標準化委員会のメンバも多く関わっており、Boostに含まれるライブラリの中から次期標準ライブラリとして採用されたものも多数ある。Intel(Boost.Polygon), Adobe(Boost.GIL)も開発に関わっている。スレッ" />
<meta name="twitter:image" content="" />
<link rel="alternate" type="application/atom+xml" title="Atom" href="https://cpprefjp.github.io/rss.xml" />
<link rel="apple-touch-icon" sizes="180x180" href="./static/favicons/apple-touch-icon.png?cachebust=d74468ee64b36f6d9d3b7531b68d9a64ea0ccff7">
<link rel="icon" type="image/png" sizes="32x32" href="./static/favicons/favicon-32x32.png?cachebust=d74468ee64b36f6d9d3b7531b68d9a64ea0ccff7">
<link rel="icon" type="image/png" sizes="16x16" href="./static/favicons/favicon-16x16.png?cachebust=d74468ee64b36f6d9d3b7531b68d9a64ea0ccff7">
<link rel="manifest" href="./manifest.json?cachebust=d74468ee64b36f6d9d3b7531b68d9a64ea0ccff7">
<meta name="theme-color" content="#f5f8fc">
<link rel="stylesheet" href="./static/pygments/default.css?cachebust=d74468ee64b36f6d9d3b7531b68d9a64ea0ccff7">
<!-- <link rel="stylesheet" href="./static/css/root.css"> -->
<link href="./static/kunai/css/kunai-stage-0.css?cachebust=d74468ee64b36f6d9d3b7531b68d9a64ea0ccff7" rel="stylesheet">
<link href="./static/kunai/css/kunai-stage-1.css?cachebust=d74468ee64b36f6d9d3b7531b68d9a64ea0ccff7" rel="stylesheet">
<link href="./static/kunai/css/kunai-stage-2.css?cachebust=d74468ee64b36f6d9d3b7531b68d9a64ea0ccff7" rel="stylesheet">
<link href="./static/kunai/css/kunai-stage-3.css?cachebust=d74468ee64b36f6d9d3b7531b68d9a64ea0ccff7" rel="stylesheet">
<script type="text/javascript" src="./static/kunai/js/kunai-vendor.js?cachebust=d74468ee64b36f6d9d3b7531b68d9a64ea0ccff7"></script>
<script type="text/javascript" src="./static/kunai/js/kunai.js?cachebust=d74468ee64b36f6d9d3b7531b68d9a64ea0ccff7"></script>
<script type="text/javascript">
document.addEventListener('DOMContentLoaded', function() {
var kn = new Kunai;
kn.cpprefjp();
});
</script>
</head>
<body>
<header data-kunai-mdinfo="{"meta": {}, "sources": [], "page_id": ["third_party_library"]}">
<nav class="navbar navbar-default" role="navigation">
<div class="container-fluid">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar-collapse">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="./index.html">
<div class="title-wrapper clearfix">
<div class="title">cpprefjp - C++日本語リファレンス</div>
</div>
</a>
</div>
<div class="collapse navbar-collapse" id="navbar-collapse">
<ul class="nav navbar-nav navbar-right">
<li>
<div class="google-search">
<script>
(function() {
var cx = '013316413321391058734:ji_u66hl7hq';
var gcse = document.createElement('script');
gcse.type = 'text/javascript';
gcse.async = true;
gcse.src = (document.location.protocol == 'https:' ? 'https:' : 'http:') +
'//www.google.com/cse/cse.js?cx=' + cx;
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(gcse, s);
})();
</script>
<div class="gcse-search"></div>
</div>
</li>
<li>
<a href="https://github.com/cpprefjp/site">GitHub Project</a>
</li>
</ul>
</div>
</div>
</nav>
</header>
<main id="main" role="main">
<div class="container-fluid">
<div class="row">
<div class="col-sm-9 col-sm-push-3" itemscope itemtype="http://schema.org/Article">
<div class="row">
<div class="col-sm-12 google-search-result">
<gcse:searchresults></gcse:searchresults>
</div>
</div>
<div class="row">
<div class="col-sm-12 content-header">
<ol class="breadcrumb">
<li itemscope itemtype="http://www.schema.org/SiteNavigationElement">
<span>
<a href="./index.html" itemprop="url">
<i class="fa fa-fw fa-home"></i>
</a>
</span>
</li>
<li class="active" itemscope itemtype="http://www.schema.org/SiteNavigationElement">
<span>
<span itemprop="name">外部ライブラリ</span>
</span>
</li>
</ol>
<div class="crsearch"></div>
</div>
</div>
<div class="row">
<div class="col-sm-12 edit-button">
<p class="text-right"><small>
最終更新日時:
<time itemprop="datePublished" class="js-local-time"
datetime="2024-02-19T19:10:19+09:00">
2024年02月19日 19時10分19秒 (JST)
</time>
<br/>
<span itemprop="author" itemscope itemtype="http://schema.org/Person">
<span itemprop="name">Akira Takahashi</span>
</span>
が更新
</small></p>
<script>
(function () {
// 最終更新日時を閲覧者のローカルタイムゾーンで表示し直す (issue #53 の正規化)。
// JS が無効な環境ではサーバ生成の JST 表記がそのまま残る。
function pad(n) { return (n < 10 ? '0' : '') + n; }
var els = document.querySelectorAll('time.js-local-time[datetime]');
for (var i = 0; i < els.length; i++) {
var el = els[i];
var d = new Date(el.getAttribute('datetime'));
if (isNaN(d.getTime())) { continue; }
var tz = '';
try {
var parts = new Intl.DateTimeFormat(undefined, { timeZoneName: 'short' }).formatToParts(d);
for (var j = 0; j < parts.length; j++) {
if (parts[j].type === 'timeZoneName') { tz = parts[j].value; break; }
}
} catch (e) {}
el.textContent = d.getFullYear() + '年' + pad(d.getMonth() + 1) + '月' + pad(d.getDate()) + '日 '
+ pad(d.getHours()) + '時' + pad(d.getMinutes()) + '分' + pad(d.getSeconds()) + '秒'
+ (tz ? ' (' + tz + ')' : '');
}
})();
</script>
<style>
.contributors .contributor-icon {
display: inline-block; width: 20px; height: 20px; line-height: 20px; border-radius: 50%;
box-shadow: 0 0 0 1px #1f232826; vertical-align: middle; margin-left: 3px;
text-align: center; color: #999; background: #eee;
}
.contributors .contributors-more {
display: inline-block; min-width: 20px; height: 20px; line-height: 20px; padding: 0 5px; border: 0; border-radius: 10px;
box-shadow: 0 0 0 1px #1f232826; vertical-align: middle; margin-left: 3px;
font-size: 11px; color: #555; background: #eee; cursor: pointer;
}
/* kunai の CSS では .edit-button .text-right が inline-flex になり、アイコンが縮んで
1 行に詰め込まれてしまうので、.text-right は使わずに幅いっぱいのブロックとして表示する */
.contributors { text-align: right; align-self: stretch; }
.contributors.is-collapsed { white-space: nowrap; overflow: hidden; }
</style>
<p class="contributors">
<a class="contributor" href="https://github.com/faithandbrave" target="_blank" title="faithandbrave (9 コミット)" itemprop="contributor" itemscope itemtype="http://schema.org/Person"
><meta itemprop="name" content="Akira Takahashi" /><link itemprop="url" href="https://github.com/faithandbrave" /><img class="contributor-icon" src="https://github.com/faithandbrave.png?size=40" alt="faithandbrave" width="20" height="20" loading="lazy"></a>
<a class="contributor" href="https://github.com/YusukeKameda" target="_blank" title="YusukeKameda (1 コミット)" itemprop="contributor" itemscope itemtype="http://schema.org/Person"
><meta itemprop="name" content="Yusuke Kameda" /><link itemprop="url" href="https://github.com/YusukeKameda" /><img class="contributor-icon" src="https://github.com/YusukeKameda.png?size=40" alt="YusukeKameda" width="20" height="20" loading="lazy"></a>
<a class="contributor" href="https://github.com/yumetodo" target="_blank" title="yumetodo (1 コミット)" itemprop="contributor" itemscope itemtype="http://schema.org/Person"
><meta itemprop="name" content="yumetodo" /><link itemprop="url" href="https://github.com/yumetodo" /><img class="contributor-icon" src="https://github.com/yumetodo.png?size=40" alt="yumetodo" width="20" height="20" loading="lazy"></a>
<a class="contributor" href="https://github.com/r6eve" target="_blank" title="r6eve (1 コミット)" itemprop="contributor" itemscope itemtype="http://schema.org/Person"
><meta itemprop="name" content="r6eve" /><link itemprop="url" href="https://github.com/r6eve" /><img class="contributor-icon" src="https://github.com/r6eve.png?size=40" alt="r6eve" width="20" height="20" loading="lazy"></a>
<span class="contributor contributor-icon" title="Shigemasa Watanabe (1 コミット)" itemprop="contributor" itemscope itemtype="http://schema.org/Person"
><meta itemprop="name" content="Shigemasa Watanabe" /><span class="fa fa-user"></span></span>
<a class="contributor" href="https://github.com/egtra" target="_blank" title="egtra (1 コミット)" itemprop="contributor" itemscope itemtype="http://schema.org/Person"
><meta itemprop="name" content="Yusuke Ichinohe" /><link itemprop="url" href="https://github.com/egtra" /><img class="contributor-icon" src="https://github.com/egtra.png?size=40" alt="egtra" width="20" height="20" loading="lazy"></a>
<a class="contributor" href="https://github.com/colajam93" target="_blank" title="colajam93 (1 コミット)" itemprop="contributor" itemscope itemtype="http://schema.org/Person"
><meta itemprop="name" content="colajam93" /><link itemprop="url" href="https://github.com/colajam93" /><img class="contributor-icon" src="https://github.com/colajam93.png?size=40" alt="colajam93" width="20" height="20" loading="lazy"></a>
<span class="contributor contributor-icon" title="Ohkuma Toshiaki (2 コミット)" itemprop="contributor" itemscope itemtype="http://schema.org/Person"
><meta itemprop="name" content="Ohkuma Toshiaki" /><span class="fa fa-user"></span></span>
<button type="button" class="contributors-more" style="display: none;"></button>
</p>
<script>
(function () {
// 編集者アイコンを画面幅に収まる人数だけ (最終編集日時が新しい順に) 1 行で表示し、
// 収まらない分は「+N」にまとめる。「+N」を押すと全員を表示する。
// JS が無効な環境では全員を折り返して表示する。
var rows = document.querySelectorAll('.contributors');
var row = rows[rows.length - 1];
var items = row.querySelectorAll('.contributor');
var more = row.querySelector('.contributors-more');
var expanded = false;
// 先頭から count 人を表示し、残りを「+N」にまとめたときに 1 行に収まるか
function fits(count) {
for (var i = 0; i < items.length; i++) { items[i].style.display = i < count ? '' : 'none'; }
more.textContent = '+' + (items.length - count);
more.title = '他 ' + (items.length - count) + ' 人を表示';
more.style.display = count < items.length ? '' : 'none';
return row.scrollWidth <= row.clientWidth;
}
function layout() {
if (expanded) { return; }
row.classList.add('is-collapsed');
if (fits(items.length)) { return; }
// 収まる最大の人数を二分探索する
var lo = 0, hi = items.length - 1;
while (lo < hi) {
var mid = Math.ceil((lo + hi) / 2);
if (fits(mid)) { lo = mid; } else { hi = mid - 1; }
}
fits(lo);
}
more.addEventListener('click', function () {
expanded = true;
row.classList.remove('is-collapsed');
more.style.display = 'none';
for (var i = 0; i < items.length; i++) { items[i].style.display = ''; }
});
var scheduled = false;
window.addEventListener('resize', function () {
if (scheduled) { return; }
scheduled = true;
window.requestAnimationFrame(function () { scheduled = false; layout(); });
});
// このスクリプトはドキュメントのパース中に実行されるため、この時点の
// clientWidth はページ全体のレイアウトが確定する前の値になる。
// レイアウト確定後 (DOMContentLoaded) と、画像の読み込みで
// スクロールバーが出て幅が変わる場合のため load でも測り直す。
layout();
document.addEventListener('DOMContentLoaded', layout);
window.addEventListener('load', layout);
})();
</script>
<p class="text-right">
<a class="history" target="_blank" href="https://github.com/cpprefjp/site/commits/master/third_party_library.md">
<span class="fa fa-fw fa-clock-o fa-flip-horizontal"></span>履歴
</a>
<a class="edit" target="_blank" href="https://github.com/cpprefjp/site/edit/master/third_party_library.md">
<span class="fa fa-fw fa-pencil"></span>編集
</a>
</p>
</div>
</div>
<div class="row">
<div class="col-sm-12 content-body">
<h1 itemprop="name"><span class="token">外部ライブラリ</span></h1>
<div itemprop="articleBody"><p>C++での開発に使用できる有用なライブラリを以下に例示する。</p>
<ul>
<li><a href="http://www.boost.org/" target="_blank">Boost C++ Libraries</a></li>
</ul>
<p>C++の準標準と呼ばれているライブラリ。C++標準化委員会のメンバも多く関わっており、Boostに含まれるライブラリの中から次期標準ライブラリとして採用されたものも多数ある。Intel(Boost.Polygon), Adobe(Boost.GIL)も開発に関わっている。スレッド、ネットワーク、ファイルシステム、構文解析器、正規表現、グラフ、線形代数、分散処理、区間計算、計算幾何、多倍長整数など、現在ではだいたい揃ってる。<br />
ライセンス:Boost Software License 1.0</p>
<ul>
<li><a href="https://opencv.org/" target="_blank">OpenCV</a></li>
</ul>
<p>クロスプラットフォームな画像処理、画像認識のためのC++の高水準なクラスライブラリが提供されている。Boostとも連携しやすい。最近ではCUDAなどにも対応している。<a href="http://opencv.jp/" target="_blank">日本語版マニュアル</a>はバージョン2.3相当まで。<br />
ライセンス:Apache 2 License(バージョン4.4までは 三条項BSD License)</p>
<ul>
<li><a href="https://www.qt.io/" target="_blank">Qt</a></li>
</ul>
<p>クロスプラットフォームなGUIライブラリ。最近ではStackOverflowでも「C++でGUIライブラリと言えば?」と質問が上がると9割は「Qt」という答えが返ってくる。<br />
ライセンス:LGPL</p>
<ul>
<li><a href="http://glm.g-truc.net/" target="_blank">GLM(OpenGL Mathematics)</a></li>
</ul>
<p>3Dグラフィクスのためのヘッダオンリーライブラリ。OpenGLの生のAPIを使うよりこちらの方が扱いやすい。<br />
ライセンス:MIT License</p>
<ul>
<li><a href="https://www.mongodb.com/" target="_blank">MongoDB</a></li>
</ul>
<p>データベースライブラリ。<br />
ライセンス:Creative Commons, CC BY-NC-SA 3.0</p>
<ul>
<li><a href="https://github.com/msgpack/msgpack-c" target="_blank">MessagePack implementation for C and C++</a></li>
</ul>
<p>通信などで使用できるデータの圧縮形式、シリアライズ/デシリアライズ、通信のライブラリ。<br />
ライセンス:Boost Software License, Version 1.0</p>
<ul>
<li><a href="https://github.com/herumi/xbyak/blob/master/readme.txt" target="_blank">Xbyak</a></li>
</ul>
<p>x86(IA32), x64(AMD64, x86-64)のマシン語命令を実行時に生成するC++のクラスライブラリ。<br />
ライセンス:修正BSDライセンス</p>
<ul>
<li><a href="https://github.com/google/googletest" target="_blank">Google Test</a></li>
</ul>
<p>C++コードの自動テストを行うフレームワーク。<br />
ライセンス:BSD Version 2</p>
<ul>
<li><a href="https://github.com/fmtlib/fmt" target="_blank">fmtlib</a></li>
</ul>
<p>文字列フォーマットのライブラリ。<br />
ライセンス:BSD</p></div>
</div>
</div>
</div>
<div id="sidebar" class="col-sm-3 col-sm-pull-9">
</div>
</div>
</div>
</main>
<footer class="footer navbar navbar-default">
<div class="container-fluid">
<p><small>
本サイトの情報は、
<a href="https://creativecommons.org/licenses/by/4.0/deed.ja" rel="nofollow">クリエイティブ・コモンズ 表示 4.0 国際 ライセンス(CC BY)</a>
の下に提供されています。
</small></p>
</div>
</footer>
</body>
</html>