Jeff Walden
|
fceda02d9b
|
Bug 1287006 - Use |alignas(T) unsigned char mStorage[sizeof(T)]| instead of AlignedStorage2 inside Maybe. r=froydnj
--HG--
extra : rebase_source : 59e8039481b332decacd1acc7cf1cb73ec8b78cf
|
2017-01-30 15:56:04 -08:00 |
Jeff Walden
|
8f8272ae04
|
Bug 1339555 - Make various operator-news into a known-non-null pointer use a ::operator new overload that odesn't null-check. r=froydnj
--HG--
extra : rebase_source : cad3ffa778db607bb2ccee2ac42671e60d3c8160
|
2017-02-14 11:23:18 -08:00 |
Jonathan Watt
|
94c9b96404
|
Bug 1335780, part 1 - Make Maybe<T>::emplace() work when T is const. r=froydnj
|
2017-01-03 08:53:05 +00:00 |
Botond Ballo
|
79e41b270d
|
Bug 1331495 - Add an operator<< overload for Maybe. r=froydnj
MozReview-Commit-ID: 8TcYoikeCvR
--HG--
extra : rebase_source : 591e3c635ae5521418105e2ad1fc2672143eceeb
|
2017-01-18 13:53:35 -05:00 |
Xidorn Quan
|
b4ceaa3474
|
Bug 1325351 part 3 - Make Maybe accept value from different Maybe type when the inner type is convertible. r=froydnj
MozReview-Commit-ID: 2kYTncYh1Or
--HG--
extra : rebase_source : f3263ce10f3afae6e8ac734296dbb0e641c55c99
|
2016-12-23 11:49:33 +11:00 |
Xidorn Quan
|
30961dadd7
|
Bug 1325351 part 2 - Simplify 'Some' function. r=froydnj
MozReview-Commit-ID: AkLVQw9WYwy
--HG--
extra : rebase_source : 97449d0b2376d53ee7761da2a1ab425492c70ba6
|
2016-12-23 11:32:33 +11:00 |
Xidorn Quan
|
3526b1e58d
|
Bug 1325351 part 1 - Remove workaround for VC in Maybe. r=froydnj
MozReview-Commit-ID: Anlrf3D2WtN
--HG--
extra : rebase_source : 9cc2e29e374753ad40774ebd0a0efce9f9449e3b
|
2016-12-29 10:58:01 +11:00 |
Sebastian Hengst
|
82a8828349
|
Backed out changeset b4d189ca8add (bug 1325351) for spidermonkey cgc and plain shell failure in Maybe.h. r=backout
|
2016-12-27 10:41:01 +01:00 |
Sebastian Hengst
|
fe7c0739e3
|
Backed out changeset 79754b9b89b7 (bug 1325351)
|
2016-12-27 10:39:49 +01:00 |
Sebastian Hengst
|
6c5fadc6f5
|
Backed out changeset 45f0755ff471 (bug 1325351)
|
2016-12-27 10:39:45 +01:00 |
Xidorn Quan
|
3cead98957
|
Bug 1325351 part 3 - Make Maybe accept value from different Maybe type when the inner type is convertible. r=froydnj
MozReview-Commit-ID: 2kYTncYh1Or
--HG--
extra : rebase_source : 2d15fb3c252f1c0505d739d9540079ceb9296b39
|
2016-12-23 11:49:33 +11:00 |
Xidorn Quan
|
254c28b64c
|
Bug 1325351 part 2 - Simplify 'Some' function. r=froydnj
MozReview-Commit-ID: AkLVQw9WYwy
--HG--
extra : rebase_source : 8bdd5aeb7761d32c25e55966275d9a0804eb3948
|
2016-12-23 11:32:33 +11:00 |
Xidorn Quan
|
32962b7da7
|
Bug 1325351 part 1 - Remove workaround for VS2010 in Maybe. r=froydnj
MozReview-Commit-ID: Anlrf3D2WtN
--HG--
extra : rebase_source : a90c32e397c5081e51e6c2461d045591afae9320
|
2016-12-23 11:32:09 +11:00 |
Jeff Walden
|
34e7d5b132
|
Bug 1296760 - Allow Some(nullptr) and Some(Derived*) to convert to Maybe<Base*>. r=froydnj
--HG--
extra : rebase_source : 478e825f476a671e07a94f483b88cbc2d4ae8d13
|
2016-08-24 11:12:48 -07:00 |
Daniel Holbert
|
489e357178
|
Bug 1291423: Explicitly qualify the destructor call that we invoke in Maybe::reset. r=Waldo
MozReview-Commit-ID: 6vQouBSxnsZ
|
2016-08-02 21:19:08 -07:00 |
Seth Fowler
|
a2712d4b0e
|
Bug 1255632 - Make Maybe::map and Maybe::apply support lambdas. r=waldo,njn
|
2016-06-22 16:32:40 -07:00 |
Carsten "Tomcat" Book
|
c46c20b362
|
Backed out changeset 7b03f23fdde5 (bug 1255632) for bustage on a CLOSED TREE
|
2016-06-22 08:48:25 +02:00 |
Seth Fowler
|
358b410aaa
|
Bug 1255632 - Make Maybe::map and Maybe::apply support lambdas. r=waldo,njn
|
2016-06-21 22:15:27 -07:00 |
Birunthan Mohanathas
|
1b10c9d731
|
Bug 1120796 - Part 2: Replace ConvertibleToBool hackarounds with explicit bool operators. r=Waldo
|
2015-02-03 18:52:36 +02:00 |
Xidorn Quan
|
73159914a2
|
Bug 1119199 - Rewrite Maybe::emplace with variadic template. r=waldo
--HG--
extra : source : 4ad70d3ba8bcd02f9af68ec19167fb451c395a45
|
2015-01-13 10:48:10 +11:00 |
Ehsan Akhgari
|
64b2aa87ac
|
Bug 1060375 - Mark the Maybe(Nothing) constructor as implicit; r=froydnj
|
2014-08-29 18:13:04 -04:00 |
Seth Fowler
|
a712b649ab
|
Bug 913586 (Part 9) - Add more useful features to the Maybe<T> API. r=waldo
* * *
Bug 913586 (Part 10) - Add a test for Maybe<T>. r=waldo
|
2014-08-22 00:43:02 -07:00 |
Ehsan Akhgari
|
1d9c1a39c4
|
Bug 1055001 - Make Maybe's constructor explicit; r=froydnj
|
2014-08-18 15:18:30 -04:00 |
Seth Fowler
|
165e5028e4
|
Bug 913586 (Part 1) - Revamp Maybe<T> to be usable in many more situations. r=waldo
--HG--
extra : rebase_source : 33326a59f0458dbda493b1f90b88481507b7a46b
|
2014-08-13 15:39:40 -07:00 |
Nicholas Nethercote
|
9439ff268e
|
Bug 1026319 - Convert the second quarter of MFBT to Gecko style. r=froydnj.
--HG--
extra : rebase_source : 98d2557c7fe4648d79143c654e7e31767fca2e65
|
2014-06-12 23:34:08 -07:00 |
Justin Lebar
|
35a65ed466
|
Bug 909514 - Include <new> before mozilla::Maybe (and move Maybe into mfbt/Maybe.h). r=waldo
--HG--
rename : mfbt/Util.h => mfbt/Maybe.h
|
2013-08-27 15:10:28 -07:00 |