We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
src/functions/auto
1 parent d217de1 commit fe94db1Copy full SHA for fe94db1
src/functions/auto/src/func_auto.cpp
@@ -6,4 +6,10 @@ auto add(auto a, auto b) {
6
7
int main() {
8
std::cout << add(3,4);
9
+
10
+ std::cout << std::endl;
11
+ std::cout << add(3.8,-40) << std::endl;
12
+ std::cout << add(-3.8,40) << std::endl;
13
+ std::cout << add(4,5) << std::endl;
14
+ std::cout << add(4.92f,5) << std::endl;
15
}
0 commit comments