-
Type:
Improvement
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Server Programmability
-
Fully Compatible
-
Programmability 2025-06-09
-
200
-
None
-
3
-
TBD
-
None
-
None
-
None
-
None
-
None
-
None
-
0
The members of enum mongo::BSONType are taking up a lot of namespace, unnecessarily. The words `mongo::String`, `mongo::Bool`, `mongo::Undefined`, `mongo::Date` etc are all just members of this enum. Making it an `enum class` would force scoped naming and avoid the namespace land grab.
- is duplicated by
-
SERVER-68967 Convert BSONType into an enum class rather than a raw enum
-
- Closed
-
- related to
-
SERVER-105818 enum class BinDataType
-
- Needs Scheduling
-