Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <utility>
- using namespace std;
- int main()
- {
- pair<double, double> p(3.0, 4.0);
- pair<int, int> b = p;
- return 0;
- }
- //$ g++ -Wall -Wextra main.cpp
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement