/wrkdirs/usr/ports/math/the-algorithms-c++/work/C-Plus-Plus-2dadbf7/data_structures/queue_using_array2.cpp:12:9: error: reference to 'queue' is ambiguous
12 | queue[rear++] = x;
| ^
/wrkdirs/usr/ports/math/the-algorithms-c++/work/C-Plus-Plus-2dadbf7/data_structures/queue_using_array2.cpp:4:5: note: candidate found by name lookup is 'queue'
4 | int queue[10];
| ^
/usr/include/c++/v1/queue:301:28: note: candidate found by name lookup is 'std::queue'
301 | class _LIBCPP_TEMPLATE_VIS queue {
| ^
/wrkdirs/usr/ports/math/the-algorithms-c++/work/C-Plus-Plus-2dadbf7/data_structures/queue_using_array2.cpp:22:25: error: reference to 'queue' is ambiguous
22 | cout << "\n" << queue[front++] << " deleted";
| ^
/wrkdirs/usr/ports/math/the-algorithms-c++/work/C-Plus-Plus-2dadbf7/data_structures/queue_using_array2.cpp:4:5: note: candidate found by name lookup is 'queue'
4 | int queue[10];
| ^
/usr/include/c++/v1/queue:301:28: note: candidate found by name lookup is 'std::queue'
301 | class _LIBCPP_TEMPLATE_VIS queue {
| ^
This issue has been automatically marked as abandoned because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Description
Expected behavior
n/a
Actual behavior
See above.
Steps to reproduce
No response
Context
revision: 2dadbf7
FreeBSD 14.0
Additional information
No response