[SERVER-33420] Add detection metafunctions to StatusWith Created: 21/Feb/18  Updated: 29/Oct/23  Resolved: 03/Mar/18

Status: Closed
Project: Core Server
Component/s: Internal Code
Affects Version/s: None
Fix Version/s: 3.6.6, 3.7.3

Type: Improvement Priority: Major - P3
Reporter: Mathias Stearn Assignee: Mathias Stearn
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Backwards Compatibility: Fully Compatible
Backport Requested:
v3.6
Sprint: Platforms 2018-02-26, Platforms 2018-03-12
Participants:

 Description   

These will be used by Future and will allow us to disallow StatusWith<StatusWith<T>> like we do for StatusWith<Status>.



 Comments   
Comment by Githook User [ 25/May/18 ]

Author:

{'username': 'RedBeard0531', 'name': 'Mathias Stearn', 'email': 'mathias@10gen.com'}

Message: SERVER-33420 SERVER-33464 Tell compiler not to allocate storage for constexpr bools

This is primarily to address what is probably a bug in our official gcc 5.4.
In --opt=off builds, gcc generates invalid assembly files that the assembler
errors out on due to emitting multiple definitions for these variables.

(cherry picked from commit 2999202e0ca0e2a911352acbc47643650e7cefb8)
Branch: v3.6
https://github.com/mongodb/mongo/commit/b2a19e08e215387a9fdde71a321711524ae42411

Comment by Githook User [ 25/May/18 ]

Author:

{'username': 'RedBeard0531', 'name': 'Mathias Stearn', 'email': 'mathias@10gen.com'}

Message: SERVER-33420 Add metafunctions to StatusWith

(cherry picked from commit bf0e7ed7161a541f7d16e2fd2ff82d2837b40f7c)
Branch: v3.6
https://github.com/mongodb/mongo/commit/3db09718c09aba2d996d22b5f2c41e5eaf131467

Comment by Githook User [ 06/Mar/18 ]

Author:

{'email': 'mathias@10gen.com', 'name': 'Mathias Stearn', 'username': 'RedBeard0531'}

Message: SERVER-33420 SERVER-33464 Tell compiler not to allocate storage for constexpr bools

This is primarily to address what is probably a bug in our official gcc 5.4.
In --opt=off builds, gcc generates invalid assembly files that the assembler
errors out on due to emitting multiple definitions for these variables.
Branch: master
https://github.com/mongodb/mongo/commit/2999202e0ca0e2a911352acbc47643650e7cefb8

Comment by Githook User [ 03/Mar/18 ]

Author:

{'email': 'mathias@10gen.com', 'name': 'Mathias Stearn', 'username': 'RedBeard0531'}

Message: SERVER-33420 Add metafunctions to StatusWith
Branch: master
https://github.com/mongodb/mongo/commit/bf0e7ed7161a541f7d16e2fd2ff82d2837b40f7c

Generated at Thu Feb 08 04:33:21 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.