webruby 0.2.2 → 0.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/webruby/config.rb +4 -9
- data/lib/webruby/rake/files.rake +2 -2
- data/modules/emscripten/AUTHORS +9 -1
- data/modules/emscripten/CONTRIBUTING.markdown +5 -0
- data/modules/emscripten/ChangeLog +435 -0
- data/modules/emscripten/cmake/Modules/FindOpenAL.cmake +26 -0
- data/modules/emscripten/cmake/Platform/Emscripten.cmake +9 -2
- data/modules/emscripten/em++ +0 -2
- data/modules/emscripten/emcc +92 -32
- data/modules/emscripten/emlink.py +16 -13
- data/modules/emscripten/emmake +1 -1
- data/modules/emscripten/emrun +918 -0
- data/modules/emscripten/emrun.bat +2 -0
- data/modules/emscripten/emscripten.py +545 -20
- data/modules/emscripten/src/analyzer.js +6 -1
- data/modules/emscripten/src/compiler.js +25 -16
- data/modules/emscripten/src/emrun_postjs.js +20 -0
- data/modules/emscripten/{tests → src}/hello_world.js +0 -0
- data/modules/emscripten/src/intertyper.js +45 -16
- data/modules/emscripten/src/jsifier.js +78 -48
- data/modules/emscripten/src/library.js +381 -96
- data/modules/emscripten/src/library_browser.js +50 -53
- data/modules/emscripten/src/library_egl.js +66 -24
- data/modules/emscripten/src/library_fs.js +122 -90
- data/modules/emscripten/src/library_gl.js +739 -353
- data/modules/emscripten/src/library_glfw.js +9 -3
- data/modules/emscripten/src/library_glut.js +10 -5
- data/modules/emscripten/src/library_idbfs.js +14 -14
- data/modules/emscripten/src/library_memfs.js +65 -41
- data/modules/emscripten/src/library_nodefs.js +61 -9
- data/modules/emscripten/src/library_openal.js +4 -4
- data/modules/emscripten/src/library_path.js +9 -13
- data/modules/emscripten/src/library_sdl.js +301 -64
- data/modules/emscripten/src/library_sockfs.js +7 -5
- data/modules/emscripten/src/modules.js +62 -22
- data/modules/emscripten/src/parseTools.js +135 -102
- data/modules/emscripten/src/postamble.js +3 -4
- data/modules/emscripten/src/preamble.js +49 -29
- data/modules/emscripten/src/proxyClient.js +1 -1
- data/modules/emscripten/src/proxyWorker.js +10 -10
- data/modules/emscripten/src/relooper/Relooper.cpp +15 -4
- data/modules/emscripten/src/runtime.js +32 -8
- data/modules/emscripten/src/settings.js +25 -8
- data/modules/emscripten/src/shell.html +6 -3
- data/modules/emscripten/src/shell.js +13 -11
- data/modules/emscripten/src/simd.js +602 -432
- data/modules/emscripten/src/struct_info.json +22 -2
- data/modules/emscripten/src/utility.js +32 -17
- data/modules/emscripten/system/include/SDL/SDL_events.h +1 -0
- data/modules/emscripten/system/include/compat/ctype.h +17 -0
- data/modules/emscripten/system/include/compat/wchar.h +23 -0
- data/modules/emscripten/system/include/compat/wctype.h +23 -0
- data/modules/emscripten/system/include/emscripten/emmintrin.h +87 -0
- data/modules/emscripten/system/include/emscripten/emscripten.h +30 -4
- data/modules/emscripten/system/include/emscripten/vector.h +29 -1
- data/modules/emscripten/system/include/emscripten/xmmintrin.h +131 -0
- data/modules/emscripten/system/include/libcxx/CREDITS.TXT +9 -1
- data/modules/emscripten/system/include/libcxx/__bit_reference +8 -8
- data/modules/emscripten/system/include/libcxx/__config +95 -17
- data/modules/emscripten/system/include/libcxx/__debug +25 -4
- data/modules/emscripten/system/include/libcxx/__functional_03 +7 -7
- data/modules/emscripten/system/include/libcxx/__functional_base +169 -9
- data/modules/emscripten/system/include/libcxx/__functional_base_03 +1 -1
- data/modules/emscripten/system/include/libcxx/__hash_table +25 -25
- data/modules/emscripten/system/include/libcxx/__locale +21 -19
- data/modules/emscripten/system/include/libcxx/__mutex_base +2 -33
- data/modules/emscripten/system/include/libcxx/__split_buffer +9 -9
- data/modules/emscripten/system/include/libcxx/__std_stream +14 -0
- data/modules/emscripten/system/include/libcxx/__tree +35 -26
- data/modules/emscripten/system/include/libcxx/__tuple +15 -15
- data/modules/emscripten/system/include/libcxx/__tuple_03 +2 -2
- data/modules/emscripten/system/include/libcxx/__undef_min_max +8 -0
- data/modules/emscripten/system/include/libcxx/algorithm +121 -110
- data/modules/emscripten/system/include/libcxx/array +15 -15
- data/modules/emscripten/system/include/libcxx/bitset +4 -4
- data/modules/emscripten/system/include/libcxx/chrono +51 -17
- data/modules/emscripten/system/include/libcxx/cmath +25 -23
- data/modules/emscripten/system/include/libcxx/codecvt +21 -18
- data/modules/emscripten/system/include/libcxx/complex +48 -7
- data/modules/emscripten/system/include/libcxx/cstddef +1 -1
- data/modules/emscripten/system/include/libcxx/cstdio +8 -1
- data/modules/emscripten/system/include/libcxx/cstdlib +1 -1
- data/modules/emscripten/system/include/libcxx/cwchar +1 -1
- data/modules/emscripten/system/include/libcxx/deque +26 -12
- data/modules/emscripten/system/include/libcxx/dynarray +311 -0
- data/modules/emscripten/system/include/libcxx/exception +4 -4
- data/modules/emscripten/system/include/libcxx/ext/__hash +3 -3
- data/modules/emscripten/system/include/libcxx/ext/hash_map +19 -15
- data/modules/emscripten/system/include/libcxx/ext/hash_set +7 -3
- data/modules/emscripten/system/include/libcxx/forward_list +33 -7
- data/modules/emscripten/system/include/libcxx/fstream +4 -4
- data/modules/emscripten/system/include/libcxx/functional +200 -170
- data/modules/emscripten/system/include/libcxx/future +83 -39
- data/modules/emscripten/system/include/libcxx/initializer_list +24 -11
- data/modules/emscripten/system/include/libcxx/iomanip +147 -0
- data/modules/emscripten/system/include/libcxx/ios +24 -16
- data/modules/emscripten/system/include/libcxx/iosfwd +19 -19
- data/modules/emscripten/system/include/libcxx/istream +13 -8
- data/modules/emscripten/system/include/libcxx/iterator +108 -417
- data/modules/emscripten/system/include/libcxx/limits +8 -4
- data/modules/emscripten/system/include/libcxx/list +28 -8
- data/modules/emscripten/system/include/libcxx/locale +153 -390
- data/modules/emscripten/system/include/libcxx/map +280 -100
- data/modules/emscripten/system/include/libcxx/memory +49 -97
- data/modules/emscripten/system/include/libcxx/mutex +2 -2
- data/modules/emscripten/system/include/libcxx/new +43 -14
- data/modules/emscripten/system/include/libcxx/numeric +2 -2
- data/modules/emscripten/system/include/libcxx/optional +697 -0
- data/modules/emscripten/system/include/libcxx/ostream +17 -8
- data/modules/emscripten/system/include/libcxx/queue +5 -5
- data/modules/emscripten/system/include/libcxx/random +53 -51
- data/modules/emscripten/system/include/libcxx/ratio +11 -11
- data/modules/emscripten/system/include/libcxx/readme.txt +1 -1
- data/modules/emscripten/system/include/libcxx/regex +23 -20
- data/modules/emscripten/system/include/libcxx/scoped_allocator +1 -1
- data/modules/emscripten/system/include/libcxx/set +166 -2
- data/modules/emscripten/system/include/libcxx/shared_mutex +419 -0
- data/modules/emscripten/system/include/libcxx/sstream +4 -4
- data/modules/emscripten/system/include/libcxx/stack +3 -3
- data/modules/emscripten/system/include/libcxx/streambuf +5 -5
- data/modules/emscripten/system/include/libcxx/string +372 -324
- data/modules/emscripten/system/include/libcxx/support/ibm/limits.h +99 -0
- data/modules/emscripten/system/include/libcxx/support/ibm/support.h +54 -0
- data/modules/emscripten/system/include/libcxx/support/ibm/xlocale.h +326 -0
- data/modules/emscripten/system/include/libcxx/support/win32/limits_win32.h +6 -6
- data/modules/emscripten/system/include/libcxx/support/win32/locale_win32.h +15 -15
- data/modules/emscripten/system/include/libcxx/support/win32/math_win32.h +2 -0
- data/modules/emscripten/system/include/libcxx/support/win32/support.h +6 -1
- data/modules/emscripten/system/include/libcxx/system_error +14 -8
- data/modules/emscripten/system/include/libcxx/thread +7 -8
- data/modules/emscripten/system/include/libcxx/tuple +29 -88
- data/modules/emscripten/system/include/libcxx/type_traits +253 -209
- data/modules/emscripten/system/include/libcxx/typeindex +3 -3
- data/modules/emscripten/system/include/libcxx/unordered_map +162 -101
- data/modules/emscripten/system/include/libcxx/unordered_set +79 -2
- data/modules/emscripten/system/include/libcxx/utility +20 -20
- data/modules/emscripten/system/include/libcxx/valarray +23 -23
- data/modules/emscripten/system/include/libcxx/vector +114 -91
- data/modules/emscripten/system/lib/libc/musl/src/regex/regcomp.c +3352 -0
- data/modules/emscripten/system/lib/libc/musl/src/regex/regerror.c +35 -0
- data/modules/emscripten/system/lib/libc/musl/src/regex/regexec.c +1011 -0
- data/modules/emscripten/system/lib/libc/musl/src/regex/tre-mem.c +158 -0
- data/modules/emscripten/system/lib/libc/musl/src/regex/tre.h +231 -0
- data/modules/emscripten/system/lib/libcextra.symbols +7 -0
- data/modules/emscripten/system/lib/libcxx/CREDITS.TXT +9 -1
- data/modules/emscripten/system/lib/libcxx/algorithm.cpp +1 -0
- data/modules/emscripten/system/lib/libcxx/debug.cpp +66 -42
- data/modules/emscripten/system/lib/libcxx/exception.cpp +88 -16
- data/modules/emscripten/system/lib/libcxx/future.cpp +6 -0
- data/modules/emscripten/system/lib/libcxx/ios.cpp +7 -2
- data/modules/emscripten/system/lib/libcxx/iostream.cpp +8 -8
- data/modules/emscripten/system/lib/libcxx/locale.cpp +38 -11
- data/modules/emscripten/system/lib/libcxx/mutex.cpp +3 -0
- data/modules/emscripten/system/lib/libcxx/new.cpp +44 -10
- data/modules/emscripten/system/lib/libcxx/optional.cpp +25 -0
- data/modules/emscripten/system/lib/libcxx/random.cpp +26 -0
- data/modules/emscripten/system/lib/libcxx/readme.txt +1 -1
- data/modules/emscripten/system/lib/libcxx/shared_mutex.cpp +101 -0
- data/modules/emscripten/system/lib/libcxx/stdexcept.cpp +11 -7
- data/modules/emscripten/system/lib/libcxx/string.cpp +3 -1
- data/modules/emscripten/system/lib/libcxx/strstream.cpp +7 -7
- data/modules/emscripten/system/lib/libcxx/support/win32/locale_win32.cpp +12 -13
- data/modules/emscripten/system/lib/libcxx/support/win32/support.cpp +33 -36
- data/modules/emscripten/system/lib/libcxx/symbols +187 -168
- data/modules/emscripten/system/lib/libcxx/system_error.cpp +1 -0
- data/modules/emscripten/system/lib/libcxx/thread.cpp +7 -3
- data/modules/emscripten/system/lib/libcxx/typeinfo.cpp +9 -6
- data/modules/emscripten/system/lib/libcxx/valarray.cpp +2 -0
- data/modules/emscripten/third_party/lzma.js/doit.bat +4 -0
- data/modules/emscripten/third_party/lzma.js/doit.sh +9 -2
- data/modules/emscripten/tools/cache.py +5 -7
- data/modules/emscripten/tools/cache.pyc +0 -0
- data/modules/emscripten/tools/eliminator/asm-eliminator-test-output.js +7 -0
- data/modules/emscripten/tools/eliminator/asm-eliminator-test.js +9 -1
- data/modules/emscripten/tools/eliminator/eliminator-test-output.js +3 -0
- data/modules/emscripten/tools/eliminator/eliminator-test.js +9 -1
- data/modules/emscripten/tools/file_packager.py +93 -50
- data/modules/emscripten/tools/js-optimizer.js +98 -48
- data/modules/emscripten/tools/js_optimizer.py +4 -4
- data/modules/emscripten/tools/js_optimizer.pyc +0 -0
- data/modules/emscripten/tools/jsrun.py +1 -1
- data/modules/emscripten/tools/jsrun.pyc +0 -0
- data/modules/emscripten/tools/response_file.py +6 -0
- data/modules/emscripten/tools/response_file.pyc +0 -0
- data/modules/emscripten/tools/settings_template_readonly.py +2 -0
- data/modules/emscripten/tools/shared.py +88 -34
- data/modules/emscripten/tools/shared.pyc +0 -0
- data/modules/emscripten/tools/split.py +21 -13
- data/modules/mruby/build_config.rb +7 -1
- data/modules/mruby/doc/compile/README.md +5 -9
- data/modules/mruby/include/mrbconf.h +5 -2
- data/modules/mruby/include/mruby/array.h +1 -0
- data/modules/mruby/include/mruby/compile.h +2 -4
- data/modules/mruby/include/mruby/dump.h +7 -16
- data/modules/mruby/include/mruby/hash.h +1 -1
- data/modules/mruby/include/mruby/irep.h +14 -2
- data/modules/mruby/include/mruby/khash.h +8 -7
- data/modules/mruby/include/mruby/string.h +1 -0
- data/modules/mruby/include/mruby/value.h +5 -2
- data/modules/mruby/include/mruby.h +12 -13
- data/modules/mruby/mrbgems/mruby-bin-mirb/tools/mirb/mirb.c +16 -6
- data/modules/mruby/mrbgems/mruby-bin-mruby/tools/mruby/mruby.c +18 -30
- data/modules/mruby/mrbgems/mruby-fiber/src/fiber.c +21 -0
- data/modules/mruby/mrbgems/mruby-math/src/math.c +1 -1
- data/modules/mruby/mrbgems/mruby-random/src/random.c +144 -47
- data/modules/mruby/mrbgems/mruby-random/test/random.rb +44 -0
- data/modules/mruby/mrbgems/mruby-struct/src/struct.c +5 -5
- data/modules/mruby/mrblib/numeric.rb +99 -33
- data/modules/mruby/src/array.c +11 -4
- data/modules/mruby/src/backtrace.c +2 -2
- data/modules/mruby/src/class.c +49 -30
- data/modules/mruby/src/codegen.c +131 -79
- data/modules/mruby/src/debug.c +1 -1
- data/modules/mruby/src/dump.c +213 -163
- data/modules/mruby/src/error.c +17 -17
- data/modules/mruby/src/error.h +1 -1
- data/modules/mruby/src/etc.c +10 -0
- data/modules/mruby/src/gc.c +35 -17
- data/modules/mruby/src/hash.c +5 -5
- data/modules/mruby/src/kernel.c +36 -14
- data/modules/mruby/src/load.c +238 -296
- data/modules/mruby/src/numeric.c +18 -98
- data/modules/mruby/src/object.c +3 -5
- data/modules/mruby/src/parse.y +63 -56
- data/modules/mruby/src/proc.c +8 -5
- data/modules/mruby/src/re.h +0 -1
- data/modules/mruby/src/state.c +65 -27
- data/modules/mruby/src/string.c +3 -31
- data/modules/mruby/src/symbol.c +3 -3
- data/modules/mruby/src/variable.c +12 -5
- data/modules/mruby/src/vm.c +90 -72
- data/modules/mruby/tasks/mruby_build.rake +10 -1
- data/modules/mruby/tasks/toolchains/gcc.rake +12 -2
- data/modules/mruby/tasks/toolchains/{vs2012.rake → visualcpp.rake} +1 -1
- data/modules/mruby/test/driver.c +3 -3
- data/modules/mruby/test/t/array.rb +5 -5
- data/modules/mruby/test/t/class.rb +14 -1
- data/modules/mruby/test/t/kernel.rb +4 -0
- data/modules/mruby/test/t/module.rb +4 -4
- data/modules/mruby/test/t/nameerror.rb +1 -1
- data/modules/mruby/tools/mrbc/mrbc.c +23 -17
- data/modules/mruby/travis_config.rb +10 -1
- metadata +28 -5
- data/modules/mruby/tasks/toolchains/vs2010.rake +0 -3
@@ -32,6 +32,7 @@ public:
|
|
32
32
|
virtual ~basic_ostream();
|
33
33
|
|
34
34
|
// 27.7.2.3 Assign/swap
|
35
|
+
basic_ostream& operator=(const basic_ostream& rhs) = delete; // C++14
|
35
36
|
basic_ostream& operator=(basic_ostream&& rhs);
|
36
37
|
void swap(basic_ostream& rhs);
|
37
38
|
|
@@ -140,7 +141,7 @@ template <class charT, class traits, class T>
|
|
140
141
|
_LIBCPP_BEGIN_NAMESPACE_STD
|
141
142
|
|
142
143
|
template <class _CharT, class _Traits>
|
143
|
-
class
|
144
|
+
class _LIBCPP_TYPE_VIS_ONLY basic_ostream
|
144
145
|
: virtual public basic_ios<_CharT, _Traits>
|
145
146
|
{
|
146
147
|
public:
|
@@ -161,6 +162,9 @@ protected:
|
|
161
162
|
#endif
|
162
163
|
|
163
164
|
// 27.7.2.3 Assign/swap
|
165
|
+
#if _LIBCPP_STD_VER > 11
|
166
|
+
basic_ostream& operator=(const basic_ostream&) = delete;
|
167
|
+
#endif
|
164
168
|
#ifndef _LIBCPP_HAS_NO_RVALUE_REFERENCES
|
165
169
|
_LIBCPP_INLINE_VISIBILITY
|
166
170
|
basic_ostream& operator=(basic_ostream&& __rhs);
|
@@ -169,7 +173,7 @@ protected:
|
|
169
173
|
public:
|
170
174
|
|
171
175
|
// 27.7.2.4 Prefix/suffix:
|
172
|
-
class
|
176
|
+
class _LIBCPP_TYPE_VIS_ONLY sentry;
|
173
177
|
|
174
178
|
// 27.7.2.6 Formatted output:
|
175
179
|
basic_ostream& operator<<(basic_ostream& (*__pf)(basic_ostream&));
|
@@ -207,7 +211,7 @@ protected:
|
|
207
211
|
};
|
208
212
|
|
209
213
|
template <class _CharT, class _Traits>
|
210
|
-
class
|
214
|
+
class _LIBCPP_TYPE_VIS_ONLY basic_ostream<_CharT, _Traits>::sentry
|
211
215
|
{
|
212
216
|
bool __ok_;
|
213
217
|
basic_ostream<_CharT, _Traits>& __os_;
|
@@ -1155,7 +1159,8 @@ inline _LIBCPP_INLINE_VISIBILITY
|
|
1155
1159
|
basic_ostream<_CharT, _Traits>&
|
1156
1160
|
basic_ostream<_CharT, _Traits>::seekp(pos_type __pos)
|
1157
1161
|
{
|
1158
|
-
|
1162
|
+
sentry __s(*this);
|
1163
|
+
if (__s)
|
1159
1164
|
{
|
1160
1165
|
if (this->rdbuf()->pubseekpos(__pos, ios_base::out) == pos_type(-1))
|
1161
1166
|
this->setstate(ios_base::failbit);
|
@@ -1168,8 +1173,12 @@ inline _LIBCPP_INLINE_VISIBILITY
|
|
1168
1173
|
basic_ostream<_CharT, _Traits>&
|
1169
1174
|
basic_ostream<_CharT, _Traits>::seekp(off_type __off, ios_base::seekdir __dir)
|
1170
1175
|
{
|
1171
|
-
|
1172
|
-
|
1176
|
+
sentry __s(*this);
|
1177
|
+
if (__s)
|
1178
|
+
{
|
1179
|
+
if (this->rdbuf()->pubseekoff(__off, __dir, ios_base::out) == pos_type(-1))
|
1180
|
+
this->setstate(ios_base::failbit);
|
1181
|
+
}
|
1173
1182
|
return *this;
|
1174
1183
|
}
|
1175
1184
|
|
@@ -1278,8 +1287,8 @@ operator<<(basic_ostream<_CharT, _Traits>& __os, const bitset<_Size>& __x)
|
|
1278
1287
|
use_facet<ctype<_CharT> >(__os.getloc()).widen('1'));
|
1279
1288
|
}
|
1280
1289
|
|
1281
|
-
_LIBCPP_EXTERN_TEMPLATE(class basic_ostream<char>)
|
1282
|
-
_LIBCPP_EXTERN_TEMPLATE(class basic_ostream<wchar_t>)
|
1290
|
+
_LIBCPP_EXTERN_TEMPLATE(class _LIBCPP_TYPE_VIS basic_ostream<char>)
|
1291
|
+
_LIBCPP_EXTERN_TEMPLATE(class _LIBCPP_TYPE_VIS basic_ostream<wchar_t>)
|
1283
1292
|
|
1284
1293
|
_LIBCPP_END_NAMESPACE_STD
|
1285
1294
|
|
@@ -177,7 +177,7 @@ template <class T, class Container, class Compare>
|
|
177
177
|
|
178
178
|
_LIBCPP_BEGIN_NAMESPACE_STD
|
179
179
|
|
180
|
-
template <class _Tp, class _Container> class
|
180
|
+
template <class _Tp, class _Container> class _LIBCPP_TYPE_VIS_ONLY queue;
|
181
181
|
|
182
182
|
template <class _Tp, class _Container>
|
183
183
|
_LIBCPP_INLINE_VISIBILITY
|
@@ -190,7 +190,7 @@ bool
|
|
190
190
|
operator< (const queue<_Tp, _Container>& __x,const queue<_Tp, _Container>& __y);
|
191
191
|
|
192
192
|
template <class _Tp, class _Container = deque<_Tp> >
|
193
|
-
class
|
193
|
+
class _LIBCPP_TYPE_VIS_ONLY queue
|
194
194
|
{
|
195
195
|
public:
|
196
196
|
typedef _Container container_type;
|
@@ -376,14 +376,14 @@ swap(queue<_Tp, _Container>& __x, queue<_Tp, _Container>& __y)
|
|
376
376
|
}
|
377
377
|
|
378
378
|
template <class _Tp, class _Container, class _Alloc>
|
379
|
-
struct
|
379
|
+
struct _LIBCPP_TYPE_VIS_ONLY uses_allocator<queue<_Tp, _Container>, _Alloc>
|
380
380
|
: public uses_allocator<_Container, _Alloc>
|
381
381
|
{
|
382
382
|
};
|
383
383
|
|
384
384
|
template <class _Tp, class _Container = vector<_Tp>,
|
385
385
|
class _Compare = less<typename _Container::value_type> >
|
386
|
-
class
|
386
|
+
class _LIBCPP_TYPE_VIS_ONLY priority_queue
|
387
387
|
{
|
388
388
|
public:
|
389
389
|
typedef _Container container_type;
|
@@ -707,7 +707,7 @@ swap(priority_queue<_Tp, _Container, _Compare>& __x,
|
|
707
707
|
}
|
708
708
|
|
709
709
|
template <class _Tp, class _Container, class _Compare, class _Alloc>
|
710
|
-
struct
|
710
|
+
struct _LIBCPP_TYPE_VIS_ONLY uses_allocator<priority_queue<_Tp, _Container, _Compare>, _Alloc>
|
711
711
|
: public uses_allocator<_Container, _Alloc>
|
712
712
|
{
|
713
713
|
};
|
@@ -1813,7 +1813,7 @@ struct __lce_ta<__a, __c, __m, (unsigned short)(~0), __b>
|
|
1813
1813
|
};
|
1814
1814
|
|
1815
1815
|
template <class _UIntType, _UIntType __a, _UIntType __c, _UIntType __m>
|
1816
|
-
class
|
1816
|
+
class _LIBCPP_TYPE_VIS_ONLY linear_congruential_engine;
|
1817
1817
|
|
1818
1818
|
template <class _CharT, class _Traits,
|
1819
1819
|
class _Up, _Up _Ap, _Up _Cp, _Up _Np>
|
@@ -1829,7 +1829,7 @@ operator>>(basic_istream<_CharT, _Traits>& __is,
|
|
1829
1829
|
linear_congruential_engine<_Up, _Ap, _Cp, _Np>& __x);
|
1830
1830
|
|
1831
1831
|
template <class _UIntType, _UIntType __a, _UIntType __c, _UIntType __m>
|
1832
|
-
class
|
1832
|
+
class _LIBCPP_TYPE_VIS_ONLY linear_congruential_engine
|
1833
1833
|
{
|
1834
1834
|
public:
|
1835
1835
|
// types
|
@@ -2011,7 +2011,7 @@ typedef minstd_rand default_random_engine;
|
|
2011
2011
|
template <class _UIntType, size_t __w, size_t __n, size_t __m, size_t __r,
|
2012
2012
|
_UIntType __a, size_t __u, _UIntType __d, size_t __s,
|
2013
2013
|
_UIntType __b, size_t __t, _UIntType __c, size_t __l, _UIntType __f>
|
2014
|
-
class
|
2014
|
+
class _LIBCPP_TYPE_VIS_ONLY mersenne_twister_engine;
|
2015
2015
|
|
2016
2016
|
template <class _UI, size_t _Wp, size_t _Np, size_t _Mp, size_t _Rp,
|
2017
2017
|
_UI _Ap, size_t _Up, _UI _Dp, size_t _Sp,
|
@@ -2053,7 +2053,7 @@ operator>>(basic_istream<_CharT, _Traits>& __is,
|
|
2053
2053
|
template <class _UIntType, size_t __w, size_t __n, size_t __m, size_t __r,
|
2054
2054
|
_UIntType __a, size_t __u, _UIntType __d, size_t __s,
|
2055
2055
|
_UIntType __b, size_t __t, _UIntType __c, size_t __l, _UIntType __f>
|
2056
|
-
class
|
2056
|
+
class _LIBCPP_TYPE_VIS_ONLY mersenne_twister_engine
|
2057
2057
|
{
|
2058
2058
|
public:
|
2059
2059
|
// types
|
@@ -2499,7 +2499,7 @@ typedef mersenne_twister_engine<uint_fast64_t, 64, 312, 156, 31,
|
|
2499
2499
|
// subtract_with_carry_engine
|
2500
2500
|
|
2501
2501
|
template<class _UIntType, size_t __w, size_t __s, size_t __r>
|
2502
|
-
class
|
2502
|
+
class _LIBCPP_TYPE_VIS_ONLY subtract_with_carry_engine;
|
2503
2503
|
|
2504
2504
|
template<class _UI, size_t _Wp, size_t _Sp, size_t _Rp>
|
2505
2505
|
bool
|
@@ -2527,7 +2527,7 @@ operator>>(basic_istream<_CharT, _Traits>& __is,
|
|
2527
2527
|
subtract_with_carry_engine<_UI, _Wp, _Sp, _Rp>& __x);
|
2528
2528
|
|
2529
2529
|
template<class _UIntType, size_t __w, size_t __s, size_t __r>
|
2530
|
-
class
|
2530
|
+
class _LIBCPP_TYPE_VIS_ONLY subtract_with_carry_engine
|
2531
2531
|
{
|
2532
2532
|
public:
|
2533
2533
|
// types
|
@@ -2810,7 +2810,7 @@ typedef subtract_with_carry_engine<uint_fast64_t, 48, 5, 12> ranlux48_base;
|
|
2810
2810
|
// discard_block_engine
|
2811
2811
|
|
2812
2812
|
template<class _Engine, size_t __p, size_t __r>
|
2813
|
-
class
|
2813
|
+
class _LIBCPP_TYPE_VIS_ONLY discard_block_engine
|
2814
2814
|
{
|
2815
2815
|
_Engine __e_;
|
2816
2816
|
int __n_;
|
@@ -2983,7 +2983,7 @@ typedef discard_block_engine<ranlux48_base, 389, 11> ranlux48;
|
|
2983
2983
|
// independent_bits_engine
|
2984
2984
|
|
2985
2985
|
template<class _Engine, size_t __w, class _UIntType>
|
2986
|
-
class
|
2986
|
+
class _LIBCPP_TYPE_VIS_ONLY independent_bits_engine
|
2987
2987
|
{
|
2988
2988
|
template <class _UI, _UI _R0, size_t _Wp, size_t _Mp>
|
2989
2989
|
class __get_n
|
@@ -3246,7 +3246,7 @@ public:
|
|
3246
3246
|
};
|
3247
3247
|
|
3248
3248
|
template<class _Engine, size_t __k>
|
3249
|
-
class
|
3249
|
+
class _LIBCPP_TYPE_VIS_ONLY shuffle_order_engine
|
3250
3250
|
{
|
3251
3251
|
static_assert(0 < __k, "shuffle_order_engine invalid parameters");
|
3252
3252
|
public:
|
@@ -3475,7 +3475,9 @@ typedef shuffle_order_engine<minstd_rand0, 256> knuth_b;
|
|
3475
3475
|
|
3476
3476
|
class _LIBCPP_TYPE_VIS random_device
|
3477
3477
|
{
|
3478
|
+
#if !defined(_WIN32)
|
3478
3479
|
int __f_;
|
3480
|
+
#endif // defined(_WIN32)
|
3479
3481
|
public:
|
3480
3482
|
// types
|
3481
3483
|
typedef unsigned result_type;
|
@@ -3507,7 +3509,7 @@ private:
|
|
3507
3509
|
|
3508
3510
|
// seed_seq
|
3509
3511
|
|
3510
|
-
class
|
3512
|
+
class _LIBCPP_TYPE_VIS_ONLY seed_seq
|
3511
3513
|
{
|
3512
3514
|
public:
|
3513
3515
|
// types
|
@@ -3521,7 +3523,7 @@ private:
|
|
3521
3523
|
public:
|
3522
3524
|
// constructors
|
3523
3525
|
_LIBCPP_INLINE_VISIBILITY
|
3524
|
-
seed_seq() {}
|
3526
|
+
seed_seq() _NOEXCEPT {}
|
3525
3527
|
#ifndef _LIBCPP_HAS_NO_GENERALIZED_INITIALIZERS
|
3526
3528
|
template<class _Tp>
|
3527
3529
|
_LIBCPP_INLINE_VISIBILITY
|
@@ -3539,7 +3541,7 @@ public:
|
|
3539
3541
|
|
3540
3542
|
// property functions
|
3541
3543
|
_LIBCPP_INLINE_VISIBILITY
|
3542
|
-
size_t size() const {return __v_.size();}
|
3544
|
+
size_t size() const _NOEXCEPT {return __v_.size();}
|
3543
3545
|
template<class _OutputIterator>
|
3544
3546
|
_LIBCPP_INLINE_VISIBILITY
|
3545
3547
|
void param(_OutputIterator __dest) const
|
@@ -3684,13 +3686,13 @@ operator>>(basic_istream<_CharT, _Traits>& __is,
|
|
3684
3686
|
// uniform_real_distribution
|
3685
3687
|
|
3686
3688
|
template<class _RealType = double>
|
3687
|
-
class
|
3689
|
+
class _LIBCPP_TYPE_VIS_ONLY uniform_real_distribution
|
3688
3690
|
{
|
3689
3691
|
public:
|
3690
3692
|
// types
|
3691
3693
|
typedef _RealType result_type;
|
3692
3694
|
|
3693
|
-
class
|
3695
|
+
class _LIBCPP_TYPE_VIS_ONLY param_type
|
3694
3696
|
{
|
3695
3697
|
result_type __a_;
|
3696
3698
|
result_type __b_;
|
@@ -3805,13 +3807,13 @@ operator>>(basic_istream<_CharT, _Traits>& __is,
|
|
3805
3807
|
|
3806
3808
|
// bernoulli_distribution
|
3807
3809
|
|
3808
|
-
class
|
3810
|
+
class _LIBCPP_TYPE_VIS_ONLY bernoulli_distribution
|
3809
3811
|
{
|
3810
3812
|
public:
|
3811
3813
|
// types
|
3812
3814
|
typedef bool result_type;
|
3813
3815
|
|
3814
|
-
class
|
3816
|
+
class _LIBCPP_TYPE_VIS_ONLY param_type
|
3815
3817
|
{
|
3816
3818
|
double __p_;
|
3817
3819
|
public:
|
@@ -3914,13 +3916,13 @@ operator>>(basic_istream<_CharT, _Traits>& __is, bernoulli_distribution& __x)
|
|
3914
3916
|
// binomial_distribution
|
3915
3917
|
|
3916
3918
|
template<class _IntType = int>
|
3917
|
-
class
|
3919
|
+
class _LIBCPP_TYPE_VIS_ONLY binomial_distribution
|
3918
3920
|
{
|
3919
3921
|
public:
|
3920
3922
|
// types
|
3921
3923
|
typedef _IntType result_type;
|
3922
3924
|
|
3923
|
-
class
|
3925
|
+
class _LIBCPP_TYPE_VIS_ONLY param_type
|
3924
3926
|
{
|
3925
3927
|
result_type __t_;
|
3926
3928
|
double __p_;
|
@@ -4079,13 +4081,13 @@ operator>>(basic_istream<_CharT, _Traits>& __is,
|
|
4079
4081
|
// exponential_distribution
|
4080
4082
|
|
4081
4083
|
template<class _RealType = double>
|
4082
|
-
class
|
4084
|
+
class _LIBCPP_TYPE_VIS_ONLY exponential_distribution
|
4083
4085
|
{
|
4084
4086
|
public:
|
4085
4087
|
// types
|
4086
4088
|
typedef _RealType result_type;
|
4087
4089
|
|
4088
|
-
class
|
4090
|
+
class _LIBCPP_TYPE_VIS_ONLY param_type
|
4089
4091
|
{
|
4090
4092
|
result_type __lambda_;
|
4091
4093
|
public:
|
@@ -4194,13 +4196,13 @@ operator>>(basic_istream<_CharT, _Traits>& __is,
|
|
4194
4196
|
// normal_distribution
|
4195
4197
|
|
4196
4198
|
template<class _RealType = double>
|
4197
|
-
class
|
4199
|
+
class _LIBCPP_TYPE_VIS_ONLY normal_distribution
|
4198
4200
|
{
|
4199
4201
|
public:
|
4200
4202
|
// types
|
4201
4203
|
typedef _RealType result_type;
|
4202
4204
|
|
4203
|
-
class
|
4205
|
+
class _LIBCPP_TYPE_VIS_ONLY param_type
|
4204
4206
|
{
|
4205
4207
|
result_type __mean_;
|
4206
4208
|
result_type __stddev_;
|
@@ -4362,13 +4364,13 @@ operator>>(basic_istream<_CharT, _Traits>& __is,
|
|
4362
4364
|
// lognormal_distribution
|
4363
4365
|
|
4364
4366
|
template<class _RealType = double>
|
4365
|
-
class
|
4367
|
+
class _LIBCPP_TYPE_VIS_ONLY lognormal_distribution
|
4366
4368
|
{
|
4367
4369
|
public:
|
4368
4370
|
// types
|
4369
4371
|
typedef _RealType result_type;
|
4370
4372
|
|
4371
|
-
class
|
4373
|
+
class _LIBCPP_TYPE_VIS_ONLY param_type
|
4372
4374
|
{
|
4373
4375
|
normal_distribution<result_type> __nd_;
|
4374
4376
|
public:
|
@@ -4487,13 +4489,13 @@ operator>>(basic_istream<_CharT, _Traits>& __is,
|
|
4487
4489
|
// poisson_distribution
|
4488
4490
|
|
4489
4491
|
template<class _IntType = int>
|
4490
|
-
class
|
4492
|
+
class _LIBCPP_TYPE_VIS_ONLY poisson_distribution
|
4491
4493
|
{
|
4492
4494
|
public:
|
4493
4495
|
// types
|
4494
4496
|
typedef _IntType result_type;
|
4495
4497
|
|
4496
|
-
class
|
4498
|
+
class _LIBCPP_TYPE_VIS_ONLY param_type
|
4497
4499
|
{
|
4498
4500
|
double __mean_;
|
4499
4501
|
double __s_;
|
@@ -4718,13 +4720,13 @@ operator>>(basic_istream<_CharT, _Traits>& __is,
|
|
4718
4720
|
// weibull_distribution
|
4719
4721
|
|
4720
4722
|
template<class _RealType = double>
|
4721
|
-
class
|
4723
|
+
class _LIBCPP_TYPE_VIS_ONLY weibull_distribution
|
4722
4724
|
{
|
4723
4725
|
public:
|
4724
4726
|
// types
|
4725
4727
|
typedef _RealType result_type;
|
4726
4728
|
|
4727
|
-
class
|
4729
|
+
class _LIBCPP_TYPE_VIS_ONLY param_type
|
4728
4730
|
{
|
4729
4731
|
result_type __a_;
|
4730
4732
|
result_type __b_;
|
@@ -4832,13 +4834,13 @@ operator>>(basic_istream<_CharT, _Traits>& __is,
|
|
4832
4834
|
}
|
4833
4835
|
|
4834
4836
|
template<class _RealType = double>
|
4835
|
-
class
|
4837
|
+
class _LIBCPP_TYPE_VIS_ONLY extreme_value_distribution
|
4836
4838
|
{
|
4837
4839
|
public:
|
4838
4840
|
// types
|
4839
4841
|
typedef _RealType result_type;
|
4840
4842
|
|
4841
|
-
class
|
4843
|
+
class _LIBCPP_TYPE_VIS_ONLY param_type
|
4842
4844
|
{
|
4843
4845
|
result_type __a_;
|
4844
4846
|
result_type __b_;
|
@@ -4953,13 +4955,13 @@ operator>>(basic_istream<_CharT, _Traits>& __is,
|
|
4953
4955
|
// gamma_distribution
|
4954
4956
|
|
4955
4957
|
template<class _RealType = double>
|
4956
|
-
class
|
4958
|
+
class _LIBCPP_TYPE_VIS_ONLY gamma_distribution
|
4957
4959
|
{
|
4958
4960
|
public:
|
4959
4961
|
// types
|
4960
4962
|
typedef _RealType result_type;
|
4961
4963
|
|
4962
|
-
class
|
4964
|
+
class _LIBCPP_TYPE_VIS_ONLY param_type
|
4963
4965
|
{
|
4964
4966
|
result_type __alpha_;
|
4965
4967
|
result_type __beta_;
|
@@ -5125,13 +5127,13 @@ operator>>(basic_istream<_CharT, _Traits>& __is,
|
|
5125
5127
|
// negative_binomial_distribution
|
5126
5128
|
|
5127
5129
|
template<class _IntType = int>
|
5128
|
-
class
|
5130
|
+
class _LIBCPP_TYPE_VIS_ONLY negative_binomial_distribution
|
5129
5131
|
{
|
5130
5132
|
public:
|
5131
5133
|
// types
|
5132
5134
|
typedef _IntType result_type;
|
5133
5135
|
|
5134
|
-
class
|
5136
|
+
class _LIBCPP_TYPE_VIS_ONLY param_type
|
5135
5137
|
{
|
5136
5138
|
result_type __k_;
|
5137
5139
|
double __p_;
|
@@ -5260,13 +5262,13 @@ operator>>(basic_istream<_CharT, _Traits>& __is,
|
|
5260
5262
|
// geometric_distribution
|
5261
5263
|
|
5262
5264
|
template<class _IntType = int>
|
5263
|
-
class
|
5265
|
+
class _LIBCPP_TYPE_VIS_ONLY geometric_distribution
|
5264
5266
|
{
|
5265
5267
|
public:
|
5266
5268
|
// types
|
5267
5269
|
typedef _IntType result_type;
|
5268
5270
|
|
5269
|
-
class
|
5271
|
+
class _LIBCPP_TYPE_VIS_ONLY param_type
|
5270
5272
|
{
|
5271
5273
|
double __p_;
|
5272
5274
|
public:
|
@@ -5362,13 +5364,13 @@ operator>>(basic_istream<_CharT, _Traits>& __is,
|
|
5362
5364
|
// chi_squared_distribution
|
5363
5365
|
|
5364
5366
|
template<class _RealType = double>
|
5365
|
-
class
|
5367
|
+
class _LIBCPP_TYPE_VIS_ONLY chi_squared_distribution
|
5366
5368
|
{
|
5367
5369
|
public:
|
5368
5370
|
// types
|
5369
5371
|
typedef _RealType result_type;
|
5370
5372
|
|
5371
|
-
class
|
5373
|
+
class _LIBCPP_TYPE_VIS_ONLY param_type
|
5372
5374
|
{
|
5373
5375
|
result_type __n_;
|
5374
5376
|
public:
|
@@ -5468,13 +5470,13 @@ operator>>(basic_istream<_CharT, _Traits>& __is,
|
|
5468
5470
|
// cauchy_distribution
|
5469
5471
|
|
5470
5472
|
template<class _RealType = double>
|
5471
|
-
class
|
5473
|
+
class _LIBCPP_TYPE_VIS_ONLY cauchy_distribution
|
5472
5474
|
{
|
5473
5475
|
public:
|
5474
5476
|
// types
|
5475
5477
|
typedef _RealType result_type;
|
5476
5478
|
|
5477
|
-
class
|
5479
|
+
class _LIBCPP_TYPE_VIS_ONLY param_type
|
5478
5480
|
{
|
5479
5481
|
result_type __a_;
|
5480
5482
|
result_type __b_;
|
@@ -5591,13 +5593,13 @@ operator>>(basic_istream<_CharT, _Traits>& __is,
|
|
5591
5593
|
// fisher_f_distribution
|
5592
5594
|
|
5593
5595
|
template<class _RealType = double>
|
5594
|
-
class
|
5596
|
+
class _LIBCPP_TYPE_VIS_ONLY fisher_f_distribution
|
5595
5597
|
{
|
5596
5598
|
public:
|
5597
5599
|
// types
|
5598
5600
|
typedef _RealType result_type;
|
5599
5601
|
|
5600
|
-
class
|
5602
|
+
class _LIBCPP_TYPE_VIS_ONLY param_type
|
5601
5603
|
{
|
5602
5604
|
result_type __m_;
|
5603
5605
|
result_type __n_;
|
@@ -5713,13 +5715,13 @@ operator>>(basic_istream<_CharT, _Traits>& __is,
|
|
5713
5715
|
// student_t_distribution
|
5714
5716
|
|
5715
5717
|
template<class _RealType = double>
|
5716
|
-
class
|
5718
|
+
class _LIBCPP_TYPE_VIS_ONLY student_t_distribution
|
5717
5719
|
{
|
5718
5720
|
public:
|
5719
5721
|
// types
|
5720
5722
|
typedef _RealType result_type;
|
5721
5723
|
|
5722
|
-
class
|
5724
|
+
class _LIBCPP_TYPE_VIS_ONLY param_type
|
5723
5725
|
{
|
5724
5726
|
result_type __n_;
|
5725
5727
|
public:
|
@@ -5826,13 +5828,13 @@ operator>>(basic_istream<_CharT, _Traits>& __is,
|
|
5826
5828
|
// discrete_distribution
|
5827
5829
|
|
5828
5830
|
template<class _IntType = int>
|
5829
|
-
class
|
5831
|
+
class _LIBCPP_TYPE_VIS_ONLY discrete_distribution
|
5830
5832
|
{
|
5831
5833
|
public:
|
5832
5834
|
// types
|
5833
5835
|
typedef _IntType result_type;
|
5834
5836
|
|
5835
|
-
class
|
5837
|
+
class _LIBCPP_TYPE_VIS_ONLY param_type
|
5836
5838
|
{
|
5837
5839
|
vector<double> __p_;
|
5838
5840
|
public:
|
@@ -5901,8 +5903,8 @@ public:
|
|
5901
5903
|
discrete_distribution(size_t __nw, double __xmin, double __xmax,
|
5902
5904
|
_UnaryOperation __fw)
|
5903
5905
|
: __p_(__nw, __xmin, __xmax, __fw) {}
|
5904
|
-
explicit discrete_distribution(const param_type& __p)
|
5905
5906
|
_LIBCPP_INLINE_VISIBILITY
|
5907
|
+
explicit discrete_distribution(const param_type& __p)
|
5906
5908
|
: __p_(__p) {}
|
5907
5909
|
_LIBCPP_INLINE_VISIBILITY
|
5908
5910
|
void reset() {}
|
@@ -6057,13 +6059,13 @@ operator>>(basic_istream<_CharT, _Traits>& __is,
|
|
6057
6059
|
// piecewise_constant_distribution
|
6058
6060
|
|
6059
6061
|
template<class _RealType = double>
|
6060
|
-
class
|
6062
|
+
class _LIBCPP_TYPE_VIS_ONLY piecewise_constant_distribution
|
6061
6063
|
{
|
6062
6064
|
public:
|
6063
6065
|
// types
|
6064
6066
|
typedef _RealType result_type;
|
6065
6067
|
|
6066
|
-
class
|
6068
|
+
class _LIBCPP_TYPE_VIS_ONLY param_type
|
6067
6069
|
{
|
6068
6070
|
vector<result_type> __b_;
|
6069
6071
|
vector<result_type> __densities_;
|
@@ -6381,13 +6383,13 @@ operator>>(basic_istream<_CharT, _Traits>& __is,
|
|
6381
6383
|
// piecewise_linear_distribution
|
6382
6384
|
|
6383
6385
|
template<class _RealType = double>
|
6384
|
-
class
|
6386
|
+
class _LIBCPP_TYPE_VIS_ONLY piecewise_linear_distribution
|
6385
6387
|
{
|
6386
6388
|
public:
|
6387
6389
|
// types
|
6388
6390
|
typedef _RealType result_type;
|
6389
6391
|
|
6390
|
-
class
|
6392
|
+
class _LIBCPP_TYPE_VIS_ONLY param_type
|
6391
6393
|
{
|
6392
6394
|
vector<result_type> __b_;
|
6393
6395
|
vector<result_type> __densities_;
|
@@ -231,7 +231,7 @@ public:
|
|
231
231
|
};
|
232
232
|
|
233
233
|
template <intmax_t _Num, intmax_t _Den = 1>
|
234
|
-
class
|
234
|
+
class _LIBCPP_TYPE_VIS_ONLY ratio
|
235
235
|
{
|
236
236
|
static_assert(__static_abs<_Num>::value >= 0, "ratio numerator is out of range");
|
237
237
|
static_assert(_Den != 0, "ratio divide by 0");
|
@@ -292,7 +292,7 @@ template <class _R1, class _R2> using ratio_multiply
|
|
292
292
|
#else // _LIBCPP_HAS_NO_TEMPLATE_ALIASES
|
293
293
|
|
294
294
|
template <class _R1, class _R2>
|
295
|
-
struct
|
295
|
+
struct _LIBCPP_TYPE_VIS_ONLY ratio_multiply
|
296
296
|
: public __ratio_multiply<_R1, _R2>::type {};
|
297
297
|
|
298
298
|
#endif // _LIBCPP_HAS_NO_TEMPLATE_ALIASES
|
@@ -319,7 +319,7 @@ template <class _R1, class _R2> using ratio_divide
|
|
319
319
|
#else // _LIBCPP_HAS_NO_TEMPLATE_ALIASES
|
320
320
|
|
321
321
|
template <class _R1, class _R2>
|
322
|
-
struct
|
322
|
+
struct _LIBCPP_TYPE_VIS_ONLY ratio_divide
|
323
323
|
: public __ratio_divide<_R1, _R2>::type {};
|
324
324
|
|
325
325
|
#endif // _LIBCPP_HAS_NO_TEMPLATE_ALIASES
|
@@ -354,7 +354,7 @@ template <class _R1, class _R2> using ratio_add
|
|
354
354
|
#else // _LIBCPP_HAS_NO_TEMPLATE_ALIASES
|
355
355
|
|
356
356
|
template <class _R1, class _R2>
|
357
|
-
struct
|
357
|
+
struct _LIBCPP_TYPE_VIS_ONLY ratio_add
|
358
358
|
: public __ratio_add<_R1, _R2>::type {};
|
359
359
|
|
360
360
|
#endif // _LIBCPP_HAS_NO_TEMPLATE_ALIASES
|
@@ -389,7 +389,7 @@ template <class _R1, class _R2> using ratio_subtract
|
|
389
389
|
#else // _LIBCPP_HAS_NO_TEMPLATE_ALIASES
|
390
390
|
|
391
391
|
template <class _R1, class _R2>
|
392
|
-
struct
|
392
|
+
struct _LIBCPP_TYPE_VIS_ONLY ratio_subtract
|
393
393
|
: public __ratio_subtract<_R1, _R2>::type {};
|
394
394
|
|
395
395
|
#endif // _LIBCPP_HAS_NO_TEMPLATE_ALIASES
|
@@ -397,11 +397,11 @@ struct _LIBCPP_TYPE_VIS ratio_subtract
|
|
397
397
|
// ratio_equal
|
398
398
|
|
399
399
|
template <class _R1, class _R2>
|
400
|
-
struct
|
400
|
+
struct _LIBCPP_TYPE_VIS_ONLY ratio_equal
|
401
401
|
: public integral_constant<bool, _R1::num == _R2::num && _R1::den == _R2::den> {};
|
402
402
|
|
403
403
|
template <class _R1, class _R2>
|
404
|
-
struct
|
404
|
+
struct _LIBCPP_TYPE_VIS_ONLY ratio_not_equal
|
405
405
|
: public integral_constant<bool, !ratio_equal<_R1, _R2>::value> {};
|
406
406
|
|
407
407
|
// ratio_less
|
@@ -460,19 +460,19 @@ struct __ratio_less<_R1, _R2, -1LL, -1LL>
|
|
460
460
|
};
|
461
461
|
|
462
462
|
template <class _R1, class _R2>
|
463
|
-
struct
|
463
|
+
struct _LIBCPP_TYPE_VIS_ONLY ratio_less
|
464
464
|
: public integral_constant<bool, __ratio_less<_R1, _R2>::value> {};
|
465
465
|
|
466
466
|
template <class _R1, class _R2>
|
467
|
-
struct
|
467
|
+
struct _LIBCPP_TYPE_VIS_ONLY ratio_less_equal
|
468
468
|
: public integral_constant<bool, !ratio_less<_R2, _R1>::value> {};
|
469
469
|
|
470
470
|
template <class _R1, class _R2>
|
471
|
-
struct
|
471
|
+
struct _LIBCPP_TYPE_VIS_ONLY ratio_greater
|
472
472
|
: public integral_constant<bool, ratio_less<_R2, _R1>::value> {};
|
473
473
|
|
474
474
|
template <class _R1, class _R2>
|
475
|
-
struct
|
475
|
+
struct _LIBCPP_TYPE_VIS_ONLY ratio_greater_equal
|
476
476
|
: public integral_constant<bool, !ratio_less<_R1, _R2>::value> {};
|
477
477
|
|
478
478
|
template <class _R1, class _R2>
|
@@ -1 +1 @@
|
|
1
|
-
These files are from libc++, svn revision
|
1
|
+
These files are from libc++, svn revision 194185, 2013-11-07.
|