Initial Course
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
#pragma once
|
||||
|
||||
#include <cstddef>
|
||||
|
||||
namespace cpp11 {
|
||||
|
||||
enum class Color { Red, Green, Blue };
|
||||
|
||||
[[nodiscard]] auto to_index(Color color) -> int;
|
||||
[[nodiscard]] auto square(int value) -> int;
|
||||
[[nodiscard]] auto find_null(int* ptr) -> int*;
|
||||
|
||||
} // namespace cpp11
|
||||
Reference in New Issue
Block a user