diff options
Autocommit at 02.05.2022 @ 07:20
1 files changed, 5 insertions, 0 deletions
| -rw-r--r-- | src/ConsoleInterface/Toolbox.cpp | 5 |
diff --git a/src/ConsoleInterface/Toolbox.cpp b/src/ConsoleInterface/Toolbox.cpp index ccab1b7..c42e0b2 100644 --- a/src/ConsoleInterface/Toolbox.cpp +++ b/src/ConsoleInterface/Toolbox.cpp @@ -7,6 +7,11 @@ void read(T* storage) { } template <class T> +void read(T& storage) { + std::cin >> storage; +} + +template <class T> void print(const T* item) { std::cout << item; } |
