Provide more user-friendly constructor or factory function for builder::core

XMLWordPrintableJSON

    • Type: New Feature
    • Resolution: Won't Do
    • Priority: Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: API, BSON
    • None
    • None
    • None
    • None
    • None
    • None

      The builder::core constructor currently takes a required boolean parameter. To improve readability of code which constructs builder::core objects, we should deprecate the existing constructor and either:

      • Provide a new constructor which takes an enumerated type parameter.
      • Provide static factory methods "builder::core::make_document()" and "builder::core::make_document()".

            Assignee:
            Unassigned
            Reporter:
            J Rassi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: