Uploaded image for project: 'C++ Driver'
  1. C++ Driver
  2. CXX-1463

b_regex and b_codewscope constructors lack SFINAE protections

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.2.0-rc0
    • Affects Version/s: None
    • Component/s: Implementation
    • Labels:
      None
    • Fully Compatible

      Unlike most of the other b_xxx} types that have templated constructors, the {{b_regex and b_codewscope types lack the SFINAE magic that prevents the templated constructors from binding too aggressively and overtaking the copy constructor. The methods should have the same SFINAE magic as the other templated constructors.

            Assignee:
            andrew.morrow@mongodb.com Andrew Morrow (Inactive)
            Reporter:
            andrew.morrow@mongodb.com Andrew Morrow (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: