-
Type: Task
-
Resolution: Duplicate
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Portability
-
None
-
Service Arch
The BSONObjBuilder has overloads that allow appending unsigned integral types (notably size_t). This doesn't have good semantics, since the underlying BSON specification doesn't offer unsigned types.
We should remove these overloads, and require that only signed types be able to be directly appended. This will force call sites to make choices, as they probably should be doing.
- duplicates
-
SERVER-43762 tighten the overload set for BSONObjBuilder::appendNumber
- Closed