13 lines
352 B
C++
13 lines
352 B
C++
#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
|