Files
cpp-course/modules/03_functions/src/function_basics.cpp
T

11 lines
398 B
C++

#include "function_basics.hpp"
namespace functions {
auto square(int value) -> int { (void)value; return 0; }
void swap_integers(int& lhs, int& rhs) { (void)lhs; (void)rhs; }
auto concatenate(const std::vector<std::string>& parts) -> std::string { (void)parts; return {}; }
void append_suffix(std::string& text, const std::string& suffix) { (void)text; (void)suffix; }
} // namespace functions