Initial Course
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
#include "overloading.hpp"
|
||||
|
||||
namespace functions {
|
||||
|
||||
auto max_value(int a, int b) -> int { (void)a; (void)b; return 0; }
|
||||
auto max_value(double a, double b) -> double { (void)a; (void)b; return 0.0; }
|
||||
auto max_value(const std::string& a, const std::string& b) -> std::string { (void)a; (void)b; return {}; }
|
||||
auto area(int side) -> int { (void)side; return 0; }
|
||||
auto area(int width, int height) -> int { (void)width; (void)height; return 0; }
|
||||
|
||||
} // namespace functions
|
||||
Reference in New Issue
Block a user