Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

call of overloaded ‘swap(int&, int&)’ is ambiguous

Your swap conflicts with std::swap. Remove using namespace std; 
above and correct the rest code from std namespace.
 
PREVIOUS NEXT
Tagged: #call #overloaded #ambiguous
ADD COMMENT
Topic
Name
6+9 =