[CXX-1463] b_regex and b_codewscope constructors lack SFINAE protections Created: 04/Nov/17 Updated: 28/Oct/23 Resolved: 06/Nov/17 |
|
| Status: | Closed |
| Project: | C++ Driver |
| Component/s: | Implementation |
| Affects Version/s: | None |
| Fix Version/s: | 3.2.0-rc0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Andrew Morrow (Inactive) | Assignee: | Andrew Morrow (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Description |
|
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. |
| Comments |
| Comment by Githook User [ 06/Nov/17 ] |
|
Author: {'name': 'Andrew Morrow', 'username': 'acmorrow', 'email': 'acm@mongodb.com'}Message: |