Jeff Walden
|
d680c05974
|
Bug 873585 - Silence a vacuous-comparison-against-0 warning when compiling with gcc 4.5, at least. Also make IsSigned/IsUnsigned actually work on floating-point types. r=froydnj
--HG--
extra : rebase_source : 149695699ddb5cde3058a066785c2dc4c7c221e7
|
2013-05-17 11:07:02 -07:00 |
|
Jeff Walden
|
14652f99f2
|
Bug 862657 - Implement mozilla::IsConst and mozilla::IsVolatile. r=froydnj
--HG--
extra : rebase_source : acc955d825069fa1db7b4f86117d50dbbfc05826
|
2013-03-05 15:44:02 -08:00 |
|
Jeff Walden
|
23c70229ef
|
Bug 865036 - Implement mozilla::Is{S,Uns}igned. r=froydnj
--HG--
extra : rebase_source : 6df6f2810a71bc6331be54708516bbafb24ea5c0
|
2013-04-23 14:35:18 -07:00 |
|
Jeff Walden
|
d07abb6200
|
Bug 865036 - Implement mozilla::IsFloatingPoint and mozilla::IsArithmetic. r=froydnj
--HG--
extra : rebase_source : 6813cd2a4c0b3ef460d43a5dcc21c8220702cd08
|
2013-04-23 14:24:26 -07:00 |
|
Nathan Froyd
|
501b6cbf00
|
Bug 853646 - part 1 - add mozilla::IsIntegral to TypeTraits.h; r=Waldo
|
2013-04-02 11:49:58 -04:00 |
|
Nathan Froyd
|
20efe21d30
|
Bug 853646 - part 0 - add mozilla::Remove{Const,Volatile,CV} to TypeTraits.h; r=Waldo
|
2013-04-02 11:49:26 -04:00 |
|
Jeff Walden
|
ae6f2fa9c6
|
Add [specref] references to all the section-comments in TypeTraits.h, to further ease reading/searching. Followup to bug 853988, suggested by froydnj
--HG--
extra : rebase_source : 896b6abb3430b890a8de699fc044d0cd0624936a
|
2013-03-25 12:05:19 -07:00 |
|
Jeff Walden
|
200b63bd51
|
Bug 853988 - Replace uses of Conditional<..., TrueType, FalseType>::Type with IntegralConstant<bool, ...>. r=froydnj
--HG--
extra : rebase_source : 1c2deaac32b2ddefa67bb935f961a182aad31ad2
|
2013-03-25 11:11:55 -07:00 |
|
Jeff Walden
|
49dffb2b21
|
Bug 853988 - Move IsPod to the right place. r=froydnj
--HG--
extra : rebase_source : 6ea8970965e953b5f372385f933bbc796bfc2015
|
2013-03-22 00:22:05 -07:00 |
|
Jeff Walden
|
07a28a637e
|
Bug 853988 - Move Conditional to the right place. r=froydnj
--HG--
extra : rebase_source : e0d78a6fe6a07f07dfa054dda2fc74edffe0374b
|
2013-03-22 00:20:41 -07:00 |
|
Jeff Walden
|
4659d854d4
|
Bug 853988 - Move IsConvertible to the right place. r=froydnj
--HG--
extra : rebase_source : dc7d5a6e21e098a7826230a28f70d6305fa2103f
|
2013-03-22 00:18:58 -07:00 |
|
Jeff Walden
|
f60a5b25f7
|
Bug 853988 - Move IsPointer and IsSame to the right locations. r=froydnj
--HG--
extra : rebase_source : d945be1ef45f3f6d6a1bed67d4e2c240c882d1ef
|
2013-03-22 00:17:59 -07:00 |
|
Jeff Walden
|
09a4b26027
|
Bug 853988 - Add C++11 section references to TypeTraits.h. r=froydnj
--HG--
extra : rebase_source : bd98561dd154b19460efaca16debcfc8082804ec
|
2013-03-22 00:14:38 -07:00 |
|
Jeff Walden
|
56bb38cf34
|
Bug 835542 - Add an IntegralConstant helper to TypeTraits.h, and use it where the spec says we should be using it. r=bjacob
--HG--
extra : rebase_source : a1272a85489771ce1cbe5c3aaa678b5b04b49226
|
2012-12-16 18:20:17 -05:00 |
|
Jeff Walden
|
579f351e28
|
Rename the |static const bool result| member of IsSame, IsPod, and IsPointer to |value| to be consistent with every other type trait. I have no idea how I managed to consistently not notice this during review. Followup to bug 723228, r=typo
|
2013-02-08 22:59:54 -08:00 |
|
Razvan Cojocaru
|
83699243fe
|
Bug 723228 - nsTArray::AssignRange should use memcpy when possible. r=jlebar for the XPCOM changes, r=jwalden for js/mfbt changes
--HG--
extra : rebase_source : 2442a0d29ae0fa7edd0312d980cbc270a4f33134
|
2013-02-08 13:18:49 -08:00 |
|
Ehsan Akhgari
|
e801a412d2
|
Bug 802806 followup - fix the comment
|
2012-10-22 17:05:07 -04:00 |
|
Ehsan Akhgari
|
0f4db0eb2e
|
Bug 802806 - Make mfbt's IsBaseOf work with multiple inheritance; r=Waldo
|
2012-10-17 17:37:53 -04:00 |
|
Jeff Walden
|
1128bafac5
|
Bug 766347 - Implement mozilla::IsConvertible to detect when a value of one type will convert to a value of another type. r=luke
--HG--
extra : rebase_source : d25c1b84dfc928a0bc4dcfb43e31b6035882849e
|
2012-06-19 13:55:23 -07:00 |
|
Jeff Walden
|
d29b566ac3
|
Bug 766347 - Implement a mozilla::EnableIf template struct for SFINAE capabilities. r=luke
--HG--
extra : rebase_source : 06807195217a967142ab7d81ac8b120f2b0e02c7
|
2012-06-18 19:06:33 -07:00 |
|
Jeff Walden
|
56d89732b5
|
Fix a couple style nits missed during review. Followup to bug 616262, r=sparky
|
2012-06-14 17:55:11 -07:00 |
|
Mike Hommey
|
7d23ff076d
|
Bug 616262 - Add mozilla/TypeTraits.h with mozilla::Conditional and mozilla::IsBaseOf traits, similar to resp. C++11 std::conditional and std::is_base_of. r=Waldo
|
2012-06-14 08:20:47 +02:00 |
|