Opened 6 years ago
Closed 6 years ago
#12779 closed Bugs (invalid)
Operations on datasets (join, zip, grid) not available with two user-defined datasets
Reported by: | Owned by: | Raffi Enficiaud | |
---|---|---|---|
Milestone: | To Be Determined | Component: | test |
Version: | Boost 1.63.0 | Severity: | Problem |
Keywords: | Cc: |
Description
Operations on datasets (join, zip, grid) are not found by the compiler if both operands are user-defined datasets. The problem is that user-defined datasets are (usually and per the fibonacci example [*]) not declared in the same namespace as the operator overloads, namely
namespace boost { namespace unit_test { namespace data { namespace monomorphic {
Please find a minimal (not) working example attached.
Attachments (1)
Change History (4)
by , 6 years ago
comment:1 by , 6 years ago
Owner: | changed from | to
---|
comment:2 by , 6 years ago
Sorry for the delayed reply. Yes, adding the using directive solves the problem. Thanks!
comment:3 by , 6 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
Thanks for the feedback, closing.
Note:
See TracTickets
for help on using tickets.
Hi there,
would you please try by adding
before the first
BOOST_DATA_TEST_CASE
declaration? It should solve your issue, and I will update the documentation accordingly.