Files
cpp-course/modules/01_fundamentals/include/hello_world.hpp
T

13 lines
352 B
C++
Raw Normal View History

2026-08-11 17:40:36 +03:00
#pragma once
namespace fundamentals {
// Return a greeting message for the given name.
// Example: greet("Ada") -> "Hello, Ada!"
[[nodiscard]] auto greet(const char* name) -> const char*;
// Return the program entry convention value for success.
[[nodiscard]] constexpr auto program_exit_success() -> int { return 0; }
} // namespace fundamentals