Skip to content

Instantly share code, notes, and snippets.

/main.cpp Secret

Created Dec 24, 2016
What would you like to do?
#include <iostream>
#include <cmath>
using namespace std;
int main() {
int a = 5, b = 6;
// ambiguous call to pow should (and was not in the past) be reported. Yes, there is
// no overload taking two integers, but still, I feel like this is wrong.
int c = pow(a, b);
return 0;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.